I am trying to use camera data from gazebo for the first time. The
image has the correct shapes in playerv but the wrong colors. Blue and
yellow objects in gazebo show up as red and turquoise. I am using
Player 3.0.1, Gazebo 0.9.0, and Ogre 1.6.5. Is there something I have
configured incorrectly or is this a bug?
Here is the definition from my model file.
<model:physical name="webcam_model">
<xyz>0.22 0.0 0.108</xyz>
<rpy>0.0 60.0 0.0</rpy>
<body:empty name="webcam_body">
<geom:sphere name="webcam_geom">
<size>0.0254</size>
<mass>0.25</mass>
<visual>
<scale>0.0254 0.0254 0.0254</scale>
<mesh>unit_sphere</mesh>
<material>Gazebo/Black</material>
</visual>
</geom:sphere>
<sensor:camera name="webcam_sensor">
<imageSize>640 480</imageSize>
<hfov>72</hfov>
<nearClip>0.02</nearClip>
<farClip>20</farClip>
<saveFrames>false</saveFrames>
<saveFramesPath>frames</saveFramesPath>
<controller:generic_camera name="webcam_controller">
<interface:camera name="camera_iface_0"/>
</controller:generic_camera>
</sensor:camera>
</body:empty>
</model:physical>
And here is the entry in the config file.
driver
(
name "gazebo"
provides ["camera:0"]
gz_id "pcbot914_model1::webcam_model::camera_iface_0"
)
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo