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

ROS 2 Parameter bridge not working - Gazebo Fortress

asked 2023-06-04 05:04:34 -0600

I am trying to launch my custom robot urdf ion Gazebo Fortress but the "parameter bridge" is not working and I am not able to echo or publish to any topics.

here is my urdf file which also contains ignition gazebo plugins test_robot_ign.xacro

I first launch the which contains the robot state publisher and joint state publisher.

After that, I launch the which - launches the file from ros_ign_gazebo with a custom world sdf file - spawns the robot by running create node from ros_ign_gazebo by subscribing the robot_description topic - runs the parameter_bridge from ros_ign_bridge

I am able to successfully see my robot and the custom sdf world file in gazebo Fortress but I am not able to control the robot using teleop.

I am only running the parameter bridge for /cmd_vel topic.

Even if I am not running the teleop node, I get 1 subscription count and 1 publisher count for /cmd_vel topic image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-06-04 05:33:53 -0600

In your URDF file, your differential drive plugin is not between gazebo tags like your GPU LiDAR plugin is. Following code block should work,

    <plugin filename="libignition-gazebo-diff-drive-system" name="ignition::gazebo::systems::DiffDrive">

Also before bridging over to ROS, it might be helpful to first use ign topic to check the working of any plugins/sensors that you may have

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2023-06-04 05:04:34 -0600

Seen: 640 times

Last updated: Jun 04 '23