Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Voxel Map and Front Camera support #24

Open
wants to merge 10 commits into
base: humble
Choose a base branch
from

Conversation

tfoldi
Copy link

@tfoldi tfoldi commented Dec 18, 2024

This PR introduces a new ROS 2 node designed to:

  • Decompress voxel map messages from the robot.
  • Publish the decompressed data as a PointCloud2 message.
  • Add image_transport plugin to process messages from /frontvideostream

Key Features

Decompression Algorithm:

Utilizes the C version of Unitree's decompression algorithm, originally published as WebAssembly.

The node subscribes to voxel map messages and publishes the decompressed data as a standard PointCloud2 message, making it compatible with visualization tools like RViz and processing libraries like PCL.

Video publisher

This ROS 2 node is designed to take in a custom Go2FrontVideoData message, which encapsulates video data from the Go2 robot's front camera, and convert it into standard ROS 2 sensor_msgs/Image or sensor_msgs/CompressedImage formats. The node achieves this by leveraging the image_transport framework, allowing seamless registration of an image_transport plugin to handle the image encoding and transport efficiently.

How to Run the Node

ros2 run go2_voxelmap voxelmap_node
image image

@tfoldi tfoldi marked this pull request as draft December 19, 2024 16:50
@tfoldi
Copy link
Author

tfoldi commented Dec 19, 2024

will add video and launch files in the same round

@tfoldi tfoldi marked this pull request as ready for review December 19, 2024 19:17
@tfoldi tfoldi changed the title Add Voxel Map support (publish decompressed voxel map as PointCloud2) Add Voxel Map and Front Camera support Dec 19, 2024
@tfoldi
Copy link
Author

tfoldi commented Jan 7, 2025

are you guys planning to merge / review this? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant