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

Multisense messages not making it through ros1_bridge

asked 2018-07-18 16:47:48 -0500

calvertdw gravatar image

When I run the ros1_bridge from osrf/ros2:bouncy-ros1-bridge I do not get the mutlisense SL topics on the other side. Only two (that don't even exist on the ROS1 side).

I can visualize the multisense data in Rviz 1 melodic.

Multisense node is publishing from ROS1 indigo on a separate machine.

$ docker run -itP --network="host" osrf/ros2:bouncy-ros1-bridge
$ ROS_MASTER_URI=http://<my_rosmaster>:11311
$ export ROS_IP=<my_host_ip>
$ ros2 run ros1_bridge dynamic_bridge --bridge-all-2to1-topics

From ros2:

$ ros2 topic list
/clock
/parameter_events

From ros1:

$ rostopic list
/multisense/calibration/device_info
...
/multisense/depth
...
/multisense/right/camera_info
...
/multisense/stamped_pps
/multisense/status
/rosout
/rosout_agg
/tf
/tf_static

Thanks!

edit retag flag offensive close merge delete

Comments

What type are the missing topics? Does the ros1_bridge support them (see dynamic_bridge --print-pairs)?

Dirk Thomas gravatar image Dirk Thomas  ( 2018-07-18 16:50:42 -0500 )edit

The vast majority of them are standard types, i.e. 'sensor_msgs/Image' (ROS 2) <=> 'sensor_msgs/Image' (ROS 1)

calvertdw gravatar image calvertdw  ( 2018-07-18 17:07:07 -0500 )edit
1

So the publisher are on the ROS 1 side and you have subscribers on the ROS 2 side? Shouldn't you be using --bridge-all-1to2-topics instead? (Too late, just saw the answer)

Dirk Thomas gravatar image Dirk Thomas  ( 2018-07-18 17:22:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-18 17:09:44 -0500

calvertdw gravatar image

Pass --bridge-all-1to2-topics instead of --bridge-all-2to1-topics.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-07-18 16:47:48 -0500

Seen: 485 times

Last updated: Jul 18 '18