Road
[Models]
- libgazebo interfaces
- Player drivers
- Attributes
<model:Road>
tag. 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
- 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
- hardness (float tuple)
- Set spring-damper parameters for contact joints
- Default: dInfinity 0
- friction (float tuple)
- Set friction coefficients
- Default: 1 1
- color (float tuple)
- RGB color.
- Default: 0 0 0
- textureFile (string, filename)
- Texture image file.
- Default: empty
- textureSize (float tuple, meters)
- Size of the texture image when projected onto the ground plane (m).
- Default: 2.0 2.0
- roadFile (string, filename)
- Road data filename.
- Default: empty
- roadSpacing (float, meters)
- Nominal spacing for points in the roadFile.
- Default: 5 1
- Bodies
- canonical
- The canonical (default) body.
- Example
<model:Road> <xyz>0 0 0</xyz> </model:Road>
- Authors