Skip to content

fixed ros1_bridge.md to avoid error during publish /test message

I would change ros1_bridge.md file to avoid the error message after executing $ ros2 topic pub /test std_msgs/Bool.

When I tried ROS1 Bridge with ros1_bridge.md, I encountered with the following error message.
The error message appeared when publishing ros2 topic.

AttributeError: type object 'type' has no attribute '_TYPE_SUPPORT' This might be a ROS 1 message type but it should be a ROS 2 message type. Make sure to source your ROS 2 workspace after your ROS 1 workspace.

I think that adding source ~/ros1_bridge_ws/install/setup.bash in the ~/.bashrc would cause this problem.
Executing source ~/ros1_bridge_ws/install/setup.bash manually seems to be safer, ros1_bridge.md was modified accordingly.

Merge request reports