ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Check your topics using rostopic list. By default your robot launches with the namespace poineer according to this line. I'm guessing your cmd_vel topic is actually called /poineer/cmd_vel in that case publishing to cmd_vel isn't going to do anything.

If you do not want to use a namspace, you need to launch roslaunch p3dx_gazebo p3dx_empty_world_no_ns.launch.

Check your topics using rostopic list. By default your robot launches with the namespace poineerpioneer according to this line. I'm guessing your cmd_vel topic is actually called /poineer/cmd_vel/pioneer/cmd_vel in that case publishing to cmd_vel isn't going to do anything.

If you do not want to use a namspace, namespace, you need to launch roslaunch p3dx_gazebo p3dx_empty_world_no_ns.launch.