ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Adding camera recognition location to rviz map

asked 2022-10-01 05:23:31 -0500

Amarsahar gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-10-07 20:26:17 -0500

Mike Scheutzow gravatar image

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...

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

edit flag offensive delete link more

Comments

Thank you for the knowledge!

Amarsahar gravatar image Amarsahar  ( 2022-10-09 07:00:00 -0500 )edit

Question Tools

Stats

Asked: 2022-10-01 05:23:31 -0500

Seen: 675 times

Last updated: Oct 07 '22