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

differences between camera plugins in GAZEBO

asked 2012-09-12 01:15:05 -0600

dmeltz gravatar image

Hello all.

I looking to install a camera sensor on my robot, in a GAZEBO simulation. I encountered several different plugins :

  1. gazebo_ros_depth_camera
  2. gazebo_ros_prosilica
  3. gazebo_ros_camera

Is there difference between those different plugins ? Also i would happy to know where can i found some documentation about the plugins ? (there is nothing inside the packages... )

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2012-09-12 07:18:42 -0600

hsu gravatar image

GazeboRosProsilica plugin strives to provide ROS topic and service interfaces similar to those provided by the Prosilica Camera hardware on PR2.

And as trinighost mentioned, GazeboRosCamera and GazeboRosDepthCamera plugin provides ROS interfaces similar to those offered by wge100 camera. The only difference between the two is that GazeboRosCamera maps to Gazebo Camera Sensor, whereas GazeboRosDepthCamera maps to the Gazebo Depth Camera Sensor. GazeboRosDepthCamera is able to publish 3D pointcloud using the camera's z-buffer.

Recently, GazeboRosDepthCamera have evolved into (been duplicated by) GazeboRosOpenniKinect (replicating ROS interface offered by openni_camera), I am looking to retire one of the two in a way that hopefully will not break anyone depending on either one of these plugins.

Please let me know if this is the information you were looking for... I'd like to update the documentation on ros wiki with more detail, your input is very valuable, thanks!

edit flag offensive delete link more

Comments

Hi. I am looking to simulate swissranger_camera in Gazebo; I found that previous model use "gazebo block laser" as a camera plugin. We will need pointcould2 as an input source for PCL_Ros, which produce the image. But the "block laser plugin" only publish pointcloud1. I am wondering

Gazer gravatar image Gazer  ( 2013-07-04 09:01:40 -0600 )edit

will ROSDepthCamera suits our needs?

Gazer gravatar image Gazer  ( 2013-07-04 09:02:03 -0600 )edit

i used GazeboRosOpenniKinect in my URDF to generate a 3D pointcloud but the z values are always either 4.0 or 0.0. this means it cannot see all z levels right? if yes please recommend me a way to generate a 3D pointcloud to determine the heights of the obstacles.

tasneem2000 gravatar image tasneem2000  ( 2023-06-17 06:17:20 -0600 )edit
0

answered 2012-09-12 06:12:19 -0600

SL Remy gravatar image

I'm a casual user of these plugins, but based on naming, the depth cam would generate information akin to the openni_camera, while the gazebo_ros_prosilica is probably a precursor to the gazebo_ros_camera, but they both should "[follow] the standard ROS API for camera drivers."

According to the gazebo_plugins wiki, the gazebo_ros_camera generates information akin to the wge100_camera.

As a note, do not be surprised if you find code that does essentially the same thing in multiple places, with different names. Hopefully they all get the documentation they need so people can find them before reinventing what's already been done. In a federated environment like ours though, this cannot really be avoided, it will just need to be managed.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2012-09-12 01:15:05 -0600

Seen: 3,213 times

Last updated: Sep 12 '12