Skip to content

ROS2 package for message serialization in both rclpy and rclcpp

License

Notifications You must be signed in to change notification settings

alexMarFar/serializer_pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serializer_pkg

ROS2 package for message serialization in both rclpy and rclcpp.

Available for:

  • sensor_msgs:
    • Image
    • CameraInfo
    • CompressedImage
    • PointCloud2
  • stereo_msgs:
    • DisparityImage

image

Usage

  1. Clone the repository in your workspace
cd ~/ros2_ws/src
git clone https://github.com/alexMarFar/serializer_pkg.git
  1. Update the topic_name in the launch file.

  2. Build the package

cd ~/ros2_ws/
colcon build --packages-up-to serializer_pkg
source install/setup.bash
  1. Launch the nodes
  • For Image (sensor_msgs)
ros2 launch serializer_pkg image.launch.py
  • For CameraInfo (sensor_msgs)
ros2 launch serializer_pkg camera_info.launch.py
  • For CompressedImage (sensor_msgs)
ros2 launch serializer_pkg compressed_image.launch.py
  • For DisparityImage (stereo_msgs)
ros2 launch serializer_pkg disparity_image.launch.py
  • For PointCloud2 (sensor_msgs)
ros2 launch serializer_pkg point_cloud2.launch.py

About

ROS2 package for message serialization in both rclpy and rclcpp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published