Fix postion -> position in HighCmd.msg
This commit is contained in:
parent
3c0fe3c97d
commit
312eaaa626
|
@ -22,7 +22,7 @@ uint8 gaitType # 0.idle 1.trot 2.trot running 3.climb stair
|
|||
uint8 speedLevel # 0. default low speed. 1. medium speed 2. high speed. during walking, only respond MODE 3
|
||||
float32 footRaiseHeight # (unit: m, default: 0.08m), foot up height while walking
|
||||
float32 bodyHeight # (unit: m, default: 0.28m),
|
||||
float32[2] postion # (unit: m), desired position in inertial frame
|
||||
float32[2] position # (unit: m), desired position in inertial frame
|
||||
float32[3] euler # (unit: rad), roll pitch yaw in stand mode
|
||||
float32[2] velocity # (unit: m/s), forwardSpeed, sideSpeed in body frame
|
||||
float32 yawSpeed # (unit: rad/s), rotateSpeed in body frame
|
||||
|
|
|
@ -208,7 +208,7 @@ UNITREE_LEGGED_SDK::HighCmd ToLcm(unitree_legged_msgs::HighCmd& ros, UNITREE_LEG
|
|||
lcm.crc = ros.crc;
|
||||
|
||||
for(int i(0); i<2; ++i){
|
||||
lcm.postion[i] = ros.postion[i];
|
||||
lcm.position[i] = ros.position[i];
|
||||
lcm.velocity[i] = ros.velocity[i];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue