Robotics StackExchange | Archived questions

ros2:eloquent: how can I remap teleop topic for gazebo dolly

Hello community,

I currently playing with new ros eloquent and gazebo simulation dolly and demo diffdrive. e.g. https://github.com/chapulina/dolly

Now I like to use teleop to control the simulation. Dolly uses by default the topic /dolly/cmdvel and teleop uses /cmdvel.

How can I remap teleop /cmdvel to /dolly/cmdvel from command line ?

Thanks for a short feedback

Cheers Chrimo

Maybe a problem of eloquent/gazebo ?

Asked by ChriMo on 2019-11-30 12:03:31 UTC

Comments

I found something: '--remap /cmd_vel:=/dolly/cmd_vel' is deprecated.

ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args --remap /cmd_vel:=/dolly/cmd_vel

Asked by ChriMo on 2019-11-30 12:23:40 UTC

I tried the same with gazebo diff_drive world. No moves at gazebo simulation, when sending cmd_vel.

ros2 topic echo /demo/cmd_vel or /dolly/cmd_vel display values when using teleop.

Asked by ChriMo on 2019-11-30 12:52:59 UTC

has somebody verified ros eloquent with gazebo ? Is there any working sample available so far ?

Asked by ChriMo on 2019-11-30 12:58:20 UTC

Answers