Hello,

There are now two types of cameras in gazebo. The first type are those
used to visualize the world for your eyes. The second type simulates
cameras, and provides camera data through libgazebo.

The first kind of camera is declared within the <rendering:gui> xml
block. Take a look at worlds/test.world for a good example.

The second kind is either a "monocamera" or a "stereocamera".

For example:

<model>
...
<sensor:monocamera>
...
</sensor:monocamera>

</model>

-nate

On Sat, Aug 16, 2008 at 6:34 AM, Andrés Faína Rodrí­guez-Vila
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I downloaded and installed the gazebo svn rev. 6938 and I can not change
> the default position and orientation of the camera. In gazebo-0.8-pre2 I
> include this statements in the world file to change it:
>
>  <!-- The camera -->
>  <model:physical name="cam1_model">
>    <xyz>-3 -4.5 2</xyz>
>    <rpy>0 14 50</rpy>
>    <static>true</static>
>
>    <body:empty name="cam1_body">
>      <sensor:camera name="cam1_sensor">
>        <imageSize>640 480</imageSize>
>        <hfov>60</hfov>
>        <nearClip>0.1</nearClip>
>        <farClip>100</farClip>
>      </sensor:camera>
>    </body:empty>
>  </model:physical>
>
> Another thing, I found some little errors in the libgazebo examples
> files. All the catch statements must "catch" a std::string object
> instead a gazebo::GazeboError (or change the Cient.cc and the Iface.cc
> tho thrown a gazebo::GazeboError)
>
> Regards Fai
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to