Skip to content

PointCloud visualization reference frames #595

@dakejahl

Description

@dakejahl

I have a drone with a depth camera attached and I want to visualize the point cloud. The PointCloud data is in body frame of the drone and the visualizer displays the data in world frame. Is there a way to know which link the data came from and a transformation published that we can use?

Continuation of the conversation in #346 (comment)

Here's the model I'm using for the drone, you can see how the camera is attached
https://github.com/PX4/PX4-Autopilot/blob/main/Tools/simulation/gz/models/x500_depth/model.sdf

I have some example code where I am downsampling a camera point cloud and republishing it
dakejahl/PX4-Autopilot@02ef528

Here's a pic of a drone with a depth camera looking at a block some distance from the origin
Screenshot from 2023-11-09 15-19-35

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions