towr icon indicating copy to clipboard operation
towr copied to clipboard

Get position and orientation data

Open UchidaKouki opened this issue 4 years ago • 1 comments

Hello I want to get the position and orientation data of the robot. Now, I could get these data of robot CoM by converting the walking bag data to csv. But, I could'nt find these data of robot leg in csv. Are position and orientation data of robot legs published? If these data exist, what should I do to get data from rviz?

UchidaKouki avatar May 14 '20 16:05 UchidaKouki

The joint angles are not in the walking bag data (mostly because joint angles are not part of the optimization, only endeffector positions). The visualization is performed by doing inverse kinematics (IK) using https://github.com/leggedrobotics/xpp. You can go into the IK function of HyQ or the one-leg hopper, or the two leg hopper to read out the joint values. Best of luck.

awinkler avatar May 21 '20 15:05 awinkler