[ROS2] Example to publish custom message [closed]
Is there an example project for publishing a custom message in ROS2?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there an example project for publishing a custom message in ROS2?
There is an example message package pendulum_msgs which is used by pendulum_control. It does publish the custom messages.
I found them from this stub tutorial. That example shows having messages in a dedicated package (which is considered good practice). I don't know of an example where messages are both generated and used in the same package.
Asked: 2019-06-24 12:41:02 -0500
Seen: 550 times
Last updated: Jun 24 '19
[Nav2] Why use Voxel layer over 2D layer for RGBD sensor?
ROS2 xacro parsing: ${robot_ip} vs $(arg robot_ip)
[ros2] renaming of launch files causes compilation error
[ros2run]: Process exited with failure 1
ROS2 launch FindPackageShare vs get_package_share_directory
[ROS2] I can publish a parameter with wrong type and get no exception
What encoding is used for ros2bags data?
Recommendations for ROS 2 Humble and Gazebo demo for robot arm?