Integrate sensor_msgs with ros 2 ?
I want to create a pub-sub using sensor_msgs in ros 2? Is there tutorial showing how to do this ?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I want to create a pub-sub using sensor_msgs in ros 2? Is there tutorial showing how to do this ?
Check the listener and talker under demo_node_cpp. If you don't have repositories look here https://github.com/ros2/ros2/wiki/Ame... .
Change the message and include your sensor message type, and use as in ROS 1.
Also, check this Imu listener: https://github.com/ros2/demos/blob/ma...
e.g. if sensor messages from Joint State of a robot
#include "sensor_msgs/msg/joint_state.hpp"
const sensor_msgs::msg::JointState state;
should be the message type.
Asked: 2017-09-25 02:34:30 -0500
Seen: 1,798 times
Last updated: Sep 27 '17
Frozen map + 'Message filter dropping'... Issues with mapping and navigation
Is there a way to subscribe to a topic at a given rate in ROS2? [closed]
ROS2 How to check if a publisher is connected?
Using Kinect 360 in ROS 2 Foxy
[ROS2] using dynamic parameters in Python
Colcon test not running gtests