Display pose in RViz with custom pose msg

asked 2019-01-23 11:20:32 -0500

ashwinsushil gravatar image

updated 2022-06-12 19:36:05 -0500

lucasw gravatar image

Hello Everyone,

I have a custom ArMarker message which looks like this

Header header
uint32 id 
geometry_msgs/PoseWithCovariance pose
uint32 confidence

I am trying to visualize the pose of the camera wrt ArMarkers on RViz. In my previous version of the code, I used a PoseStamped message and I was able to visualize this on RViz. Can someone please give me some tips on how to visualize the pose of the camera if i'm using the custom message as mentioned above?

Thanks in advance, Ashwin

edit retag flag offensive close merge delete

Comments

3

You will need to write a custom rviz plugin in C++ (possibly based on an existing plugin) to display your custom message type.

ahendrix gravatar image ahendrix  ( 2019-01-23 13:11:40 -0500 )edit

@ahendrix thank you.

ashwinsushil gravatar image ashwinsushil  ( 2019-01-24 03:13:50 -0500 )edit