how to using camera and its feed in rviz

asked 2022-02-12 08:38:55 -0500

umar_anjum gravatar image

updated 2022-02-12 08:39:26 -0500

Hi all , hope everyone is fine.

I am working on the following: Ubuntu 16.04 LTS ROS 1, Kinetic python Rviz UR5

I have a setup where I can give x,y,z coordinates to my python scrip which in turn moves a UR5 simulated in Rviz to that coordinates automatically , my goal now is to add a camera to the UR5 end effector and use it to locate an object extracting its position and feeding it to my python scrip which is responsible for moving UR5 to a specific position upon feeding coordinates.

Is there a way to add a camera to UR5 and view its output, I have also considered the following pkg but this does not work properly (has few errors): https://github.com/lucasw/rviz_camera...

please correct me if I am wrong, I came to know that for the camera Image feed I have to add image in rviz but dont know how does that work? please help with the above problems Thanks

edit retag flag offensive close merge delete