ROS2 message bridge between networks using zmq library
in workspace home
rosdep install -y -r -q --from-paths src --ignore-src --rosdistro foxy
Please setup ROS2 environment first!
source /opt/ros/foxy/setup.bash
colcon build --packages-up-to cloud_bridge
set up ros2 configuration (ex. topic url, msg type, tf, etc.)
config/param.yaml
scan:
topic: "scan"
msg: "sensor_msgs/msg/LaserScan"
qos: "sensor_data"
map_odom:
base_frame: "map"
child_frame: "odom"
set up manage port and message port for zmq. set up ros2 datas refer to param.yaml
config/server.yaml
ros2 launch cloud_bridge cloud_bridge_server.launch.py
set up server ip and manage port for server connect. set up ros2 datas refer to param.yaml
config/client.yaml
ros2 launch cloud_bridge cloud_bridge_client.launch.py