This repository contains ROS 2 packages that can communicate with mros2, which is an agent-less and lightweight runtime environment for ROS 2 nodes onto embedded devices.
Please also check for more details about example applications on the embedded device.
- Description:
- (The mros2 node on the embedded device publishes
string(std_msgs::msg::String) message to/to_linuxtopic.) - The
mros2_echoreplynode on the host subscribesstring(std_msgs::msg::String) message from/to_linuxtopic, and then its node publishes the message as it is to/to_stmtopic. - (The mros2 node on the embedded device will subscribes the message as the echoback.)
- (The mros2 node on the embedded device publishes
- Host operation:
$ ros2 run mros2_echoreply_string echoreply_node
- mros2 application on the embedded device:
- Description:
- The
pub_mros2node on the host publishesstring(std_msgs::msg::String) message to/to_stmtopic. - (The mros2 node on the embedded device will echoreply this message as it is.)
- The
mros2_subnode on the host subscribesstringmessage from/to_linuxtopic.
- The
- Host operation:
- at first terminal:
$ ros2 run mros2_echoback_string sub_node - and then, at second terminal:
$ ros2 run mros2_echoback_string pub_node - or, at one terminal:
$ ros2 launch mros2_echoback_string pubsub.launch.py
- at first terminal:
- mros2 application on the embedded device:
- Description:
- The
mros2_subnode on the host subscribesfloat32(std_msgs::msg::Float32) message from/to_linuxtopic.
- The
- Host operation:
$ ros2 run mros2_sub_float32 sub_node- or,
$ ros2 launch mros2_sub_float32 sub.launch.py
- mros2 application on the embedded device:
- Description:
- The
pub_mros2node on the host publishesuint16(std_msgs::msg::UInt16) message to/to_stmtopic.
- The
- Host operation:
$ ros2 run mros2_pub_uint16 pub_node- or,
$ ros2 launch mros2_pub_uint16 pub.launch.py
- mros2 application on the embedded device:
- Description:
- The
sub_twistnode on the host subscribesTwist(geometry_msgs::msg::Twist) message from/cmd_veltopic.
- The
- Host operation:
$ ros2 run mros2_sub_twist sub_node- or,
$ ros2 launch mros2_sub_twist sub.launch.py
- mros2 application on the embedded device:
- Description:
- The
pub_posenode on the host publishesPose(geometry_msgs::msg::Pose) message to/cmd_veltopic.
- The
- Host operation:
$ ros2 run mros2_pub_pose pub_node- or,
$ ros2 launch mros2_pub_pose launch.py
- mros2 application on the embedded device:
- Description:
- (The mros2 node on the embedded device publishes
string(std_msgs::msg::String) message to/to_linuxtopic.) - The
sub_long_string_pub_crcnode on the host subscribesstring(geometry_msgs::msg::String) message from/to_linuxtopic, and then its node publishes the CRC32 as a u_int32 (std_msgs::msg::UInt32) value to/to_stmtopic.
- (The mros2 node on the embedded device publishes
- Host operation:
$ ros2 run mros2_sub_long_string_pub_crc sub_long_string_pub_crc_node- or,
$ ros2 launch mros2_sub_long_string_pub_crc subpub.launch.py
- mros2 application on the embedded device: