Gazebo | Ignition | Community
Ask Your Question
0

Camera : how to implement camera to the world?

asked 2020-12-16 16:32:20 -0600

Wishram gravatar image

Hi I am doing project with two Universal robots - UR5 and one mobile robot - Smart. I do not know how to implement the camera as urdf to my world. Could You help me? I attach screen of my scene.

image description

I would like to upload a camera to this world, but I don't know how to do it. I tried to change the code from the tutorial: http://gazebosim.org/tutorials?tut=ro... but I still have errors in the terminal. Besides, the examples in the tutorials do not show how to insert the camera itself, but how to attach it to a robot, for example. Could someone of you explain me step by step how to do that? I can show you my launch of world and all the urdfs and codes. Thank You for help! :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-18 12:38:15 -0600

nkoenig gravatar image

Here is a simple world with a predefined camera: https://github.com/osrf/gazebo/blob/g...

You can find the camera details here: https://github.com/osrf/gazebo_models...

And, here is how to specify a camera in URDF: http://wiki.ros.org/urdf/Tutorials/Un...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-12-16 16:32:20 -0600

Seen: 38 times

Last updated: Dec 18 '20