Home | Tutorials | Wiki | Issues
Ask Your Question
0

Roslaunching URDF cameras

asked 2012-09-19 23:46:13 -0500

nkoenig gravatar image

updated 2012-09-20 11:03:46 -0500

Currently I'm using fuerte on 12.04 ubuntu. I have been using cameras (with gazeboroscamera plugin) successfully. However for it to work, I had to modify the parser_deprecated.cc file : from

  _sdf->GetAttribute("type")->SetFromString("depth")

to

 _sdf->GetAttribute("type")->SetFromString("camera")

Apparently parserdeprecated.cc only supports depth camera. My question is am I missing some other way to successfully use cameras (URDFs) without modifying parserdeprecated.cc ? Is there away to actually get the system to use parser.cc (instead of parser_deprecated)? Does depth camera also provide electro optical data as well as depth data?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-09-19 23:51:21 -0500

nkoenig gravatar image

parser_deprecated will be fixed in the next couple days. Thanks for the input.

SDF is the preferred method to specify sensors, models, and other object in a Gazebo world. Files specified in SDF use the parser.cc class. However, ROS has no hooks for SDF.

The depth camera provides RGB and depth data. If more/different information is required, then we should create a new sensor based on a specification.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-09-19 23:46:13 -0500

Seen: 985 times

Last updated: Sep 19 '12