Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

Mono Camera
[Models]

The MonoCam model simulates a simple (generic) monocular camera.

libgazebo interfaces
This model supports the camera interfaces.

Player drivers
Image data is available through the gz_camera driver.

Attributes
The following attributes are supported.

  • id (string)
    • The model ID string (used by libgazebo to identify models).
    • Default: (empty)
  • xyz (float tuple, meters)
    • Model position (x, y, z, in meters).
    • Default: 0 0 0
  • rpy (float tuple, degrees)
    • Model orientation in Euler angles: roll, pitch, yaw.
    • Default: 0 0 0

  • updateRate (float, Hz)
    • Frames per second.
    • Default: 10

  • imageSize (integer tuple, pixels)
    • Image dimensions (width and height).
    • Default: 320 240

  • hfov (float, degrees)
    • Horizontal field of view for a perspective lens.
    • Default: 60

  • nearClip, farClip (float, meters)

  • renderMethod (string)
    • OpenGL rendering method: SGIX, GLX, XLIB, or AUTO. See OpenGL Support.
    • Default: AUTO

  • zBufferDepth (integer)
    • Z buffer depth in bits (8, 16, 24 or 32)
    • Default: 16

  • savePath (string, path)
    • Directory for saving image frames.
    • Default: .

  • saveFrames (bool)
    • Set to true to save image frames.
    • Default: false

  • useFrustrum (bool)
    • Create a frustrum to provide user feedback in the ObserveCam.
    • Default: true

Bodies
The following bodies are created by this model.

  • canonical
    • The canonical (default) body.

Example
<model:MonoCam>
  <id>camera1</id>
  <xyz>0 0 0</xyz>  
</model:MonoCam>

Views

Author
Andrew Howard


Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:09 2005 for Gazebo by doxygen 1.4.2