Adding Intel D415 in ROS urdf
Hello All,
I am having an Intel D415
camera, that I want to add to my robot. There are 3 options that I have seen so far:
Add a
link
in URDF to name as camera, then call thecamera launch
file in your.launch
file. And replace theframe_id
forRGB
anddepth
as per yourlink
names in URDF. I tried that, but it is asking for defining thecamera_base_link
also. And that I can't set as my ownbase_link
in URDF, as I want thecamera_base_link
to be some otherlink
.There is another method looking to me, i.e. to use
openni
to replace the frame id's. This has been suggested in this link. I am going to try this. Can somebody give some opinion about this.There is another method, in which we can add a
sensor
in the URDF with tag name <sensor>. But I have found maximum of implementation withGazebo
only. Is it also possible to use <sensor> tag without Gazebo also. And calling the camera.so
file, with passing the parameters in URDF itself.
Can somebody please suggest which one is better to use. And pros and cons of those.
Regards, Saurabh