You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
If you want to implement this for Gazebo, my suggestion would be to make it so that markers can be published with custom reference frames. Then, in gz-sim's MarkerManager, it would be possible to obtain the entity given a frame name
via entitiesFromScopedName. Once you have the entity, you can find its world pose using worldPose.
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
The text was updated successfully, but these errors were encountered: