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

Can't ros1_bridge make bridge between custom messages including std_msgs/Header?

asked 2020-05-09 22:48:09 -0500

kzym53 gravatar image

updated 2020-05-10 04:02:16 -0500

gvdhoorn gravatar image

I made the message type below under both ROS1 and ROS2 workspaces with same name and build ros1_bridge but it can't make bridge.

std_msgs/Header header  
bool button_a  
bool button_b  
bool button_c

std_msgs/Header's type is different between ROS1 and ROS2 and I thought it prevents bridge. So next I tried to comment out std_msgs/Header header on both and rebuild ros1, ros2 and ros1_bridge then it can bridge. Actually is it impossible? Can I have a way to bridge even they contain std_msgs/Header?

Thank you in advance for your help.

edit retag flag offensive close merge delete


It should be possible to map std_msgs/Header fields. What ROS distros are you using, what platform are you on, what branch of the ros1_bridge are you building?

Dirk Thomas gravatar image Dirk Thomas  ( 2020-05-11 21:06:26 -0500 )edit

Thank you for comment.
My enviroment is:
platform:Ubuntu18.04 (amd64)
ROS2 dashing:
ros1_bridge ver:0.7.5

kzym53 gravatar image kzym53  ( 2020-05-11 23:55:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-05-13 08:44:18 -0500

kzym53 gravatar image

I'm not sure but I could after I delete compiled ros1_bridge and rebuild.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-05-09 22:48:09 -0500

Seen: 246 times

Last updated: May 13 '20