Robotics StackExchange | Archived questions

Adding camera recognition location to rviz map

Hi all, so I'm building an autonomous robot, I wonder if it's possible to place object locations that were detected by the raspberry camera on the map on rviz. I 'l explain, I'm mapping my room ' and I placed on the walls papers with shapes (triangles, circles, etc,) after I recognized them with the robot, I want to place their location on the viz map that I make.

I'm using raspberry pi 4, raspberry camera module, and RPLidar A1

Thanks guys.

Asked by Amarsahar on 2022-10-01 05:23:31 UTC

Comments

Answers

rviz has a feature called Markers that you can use for this. You will use the "Add" button at the bottom of the rviz left panel to create a DisplayTypes/Marker display, then you publish special messages to topic /visualization_marker. You will have to specify a 3d pose and other details for each marker.

http://wiki.ros.org/rviz/DisplayTypes/Marker

http://wiki.ros.org/rviz/Tutorials

Asked by Mike Scheutzow on 2022-10-07 20:26:17 UTC

Comments

Thank you for the knowledge!

Asked by Amarsahar on 2022-10-09 07:00:00 UTC