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

In the Hector Navigation Stack there is also a hector_exploration_node and a hector_exploration controller. The hector_exploration controller will publish twist messages on the cmd_vel topic. These values will give you a velocity x and an angular z.

If you are using arduino, in the arduino code you need to subscribe to the cmd_vel topic, and then manipulate the values there.

If you want to test and see if you publish values on cmd_vel, run your laser scanner and hector slam and then run

roslaunch hector_exploration node exploration_planner.launch

and

rosrun hector_exploration_controller simple_exploration_controller

then you need to listen to the topic

rostopic echo cmd_vel

After that you should see a stream of values. Mine comes out in bursts. Hope this helps.