pedsim_ros
pedsim_ros copied to clipboard
Robot doesn't move in Gazebo?
Hi: I use the pedsim_gazebo_plugin to use Gazebo simulator. However, the robot in the gazebo doesn't move while the robot in rviz moving. My settings are as follow,
- In file "scenario.xml" add a robot with type "0";
- I run the pedsim_simulator, jackal_description, and robot_control, and then run the pedsim_gazebo_plugin.
- The initial position of the robot in Gazebo and rviz is right.
- When I publish the cmd_vel to the topic "/pedbot/control/cmd_vel", the robot in rviz moves but in gazebo it not. So the laser point never change in rviz.
How can I fix it?
Hi: This question is from a year ago, but I want to answer in case someone has this same inconvenience. You should check the command topic of your robot driver or the namespace it must be "/pedbot/control".
I hope my answer is helpful