Terrain
[Models]
- libgazebo interfaces
- Player drivers
- Attributes
- 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
- gravity (bool)
- Enable/disable effect of gravity on this model
- Default: true
- enable (bool)
- Enable/disable the model's bodies (so it doesn't fall, for example)
- Default: true
- terrainFile (string, filename)
- File containing terrain data (required). Use gzbuilder to generate terrain files.
- Default: empty
- color (float tuple)
- RGB color.
- Default: 0.7 0.7 0.7
- surfaceHardness (float tuple)
- Set spring-damper parameters for contact joints.
- Default: dInfinity 0
- surfaceFriction (float tuple)
- Set friction coefficients
- Default: 1 1
- Bodies
- canonical
- The canonical (default) body.
- Example
<model:Terrain> <terrainFile>terrain1.gzb</terrainFile> </model:Terrain>
- Authors