We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
In the diff_drive_example.launch.py, how to remap "/diff_drive_base_controller/cmd_vel_unstamped" to "/cmd_vel"?
I am using navigation 2 which publishes commands to /cmd_vel.
Thanks!
The text was updated successfully, but these errors were encountered:
add tag:
<ros> <remapping>/diff_drive_base_controller/cmd_vel_unstamped:=/cmd_vel</remapping> </ros>
Sorry, something went wrong.
@xibeisiber Where would you add this that XML?
If it helps anyone, I ended up using the topic_tools/relay node to solve this:
topic_tools/relay
relay_odom = Node( name="relay_odom", package="topic_tools", executable="relay", parameters=[ { "input_topic": "/diff_drive_base_controller/odom", "output_topic": "/odom", } ], output="screen", ) relay_cmd_vel = Node( name="relay_cmd_vel", package="topic_tools", executable="relay", parameters=[ { "input_topic": "/cmd_vel", "output_topic": "/diff_drive_base_controller/cmd_vel_unstamped", } ], output="screen", )
<plugin filename="libign_ros2_control-system.so" name="ign_ros2_control::IgnitionROS2ControlPlugin"> <parameters>$(arg simulation_controllers)</parameters> <controller_manager_node_name>controller_manager</controller_manager_node_name> <ros> <remapping>/diff_drive_base_controller/cmd_vel_unstamped:=/cmd_vel</remapping> </ros> </plugin>
No branches or pull requests
Hi,
In the diff_drive_example.launch.py, how to remap "/diff_drive_base_controller/cmd_vel_unstamped" to "/cmd_vel"?
I am using navigation 2 which publishes commands to /cmd_vel.
Thanks!
The text was updated successfully, but these errors were encountered: