Truth Widget
[Models]
The
TruthWidget is a magical device for querying and modifying the true pose of objects in the simulator. It has no simulated body, but can be attached to other models to learn or change their pose.
- libgazebo interfaces
The
TruthWidget supports the
gz_truth interface.
- Player drivers
Position information is provided through the gz_truth 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
- 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
- Bodies
This model does not have a physical representation.
- Example
<model:TruthWidget>
<id>truth1</id>
</model:TruthWidget>
- Authors
Chris Jones
|
Last updated 12 September 2005 21:38:45
|