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

cmd_vel or commands/velocity?

asked 2015-12-22 03:12:14 -0600

teddyyyy123 gravatar image

updated 2015-12-22 03:59:03 -0600

Procópio gravatar image

I'm trying to use the existing amcl/gmapping and create my own wheel motor drive actuator. it seems that the output from navigation (amcl/gmapping) are fed into move_base http://wiki.ros.org/move_base

the above wiki shows that move_base dumps the velocity commands to /cmd_vel

but on the turtlebot simulator, I see the commands finally go to */commands/velocity, in fact the /cmd_vel topic doesn't exist at all.

so which one is it really? I just need to know the correct place for my actuator to get its commands from.

also gmapping does SLAM so supposedly it can also do localization, what is the reason we use a separate navigation package (amcl) ?

thanks Yang

edit retag flag offensive close merge delete

Comments

please, create another question about your gmapping and amcl doubts, as it relates to a different subject.

Procópio gravatar image Procópio  ( 2015-12-22 03:58:09 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-12-22 03:56:36 -0600

Procópio gravatar image

I am not familiar with the turtlebot simulator, but what matters is the type of your topic. Velocity messages, as the /cmd_vel produced by move_base have the type Twist .

So, as long as you have the same topic type, you can always rename the topic to match the one expected by your subscriber, using the remap command.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-22 03:12:14 -0600

Seen: 1,864 times

Last updated: Dec 22 '15