Error with champ robot model
mgl-sg opened this issue · comments
which ROS distro are you using?
I am using ROS melodic, I did managed to solve these issues by running launching the joint_state_publisher node, not sure if there is a better way?
That's strange because ros_control is supposed to publish the joint_states when in Gazebo. Are you able to walk the robot?
Yes I am able to walk the robot using the champ_teleop pkg, the specfic changes I made are as follows
- Lauching the joint_state_publisher node within decription.launch
- Include the joint_state_publisher gazebo plugin for gazebo in champ.urdf
- Lastly the key thing was setting the controller spawner in gazebo.launch to continuously respawn. As I kept getting the following warning
[WARN]: Controller Spawner couldn't find the expected controller_manager ROS Interface
I see. Do you have ros_control and gazebo_ros_control installed? Btw @mgl-sg , do you happen to be from Singapore?
Yes I have both installed, had a friend try to run the same simulation and he had the same issues as well until he made the changes above. Yes I am from Singapore
cool! Is there any way I can reach out to you? Email? @mgl-sg