Robot legs move in opposite directions than what's showing on rviz using joints gui
TonyLiu836 opened this issue · comments
Hi,
I've been stuck on trying to figure out why the legs on the left side of my robot move in opposite directions than what's showing on rviz when using the joint gui. I followed the hardwar_integration guide and mounted the servos at their zero positions with the robot's legs pointing straight down. Additionally, the shoulder/hip actuator can only move in one direction, as it is already at the limit of it motion range according to the directions in the hardware_integration guide. Is this intended?
Thanks!
I encountered the same issue when I had wrong rotation directions in joints in URDF file of my robot. Check champ.urdf file. You should have these values for your robot:
- hip_joint:
<axis xyz="1 0 0"/>
- upper_leg_joint:
<axis xyz="0 1 0"/>
- lower_leg_joint:
<axis xyz="0 1 0"/>