|Q_DECLARE_METATYPE (Entity) namespace ignition|
Model holding information about joints
Static version of roleNames
- A hash connecting a unique identifier to a role name.
Add a joint to the list.
[in] _typeId Joint to be added.
- Newly created item.
Remove a joint from the list.
Clear all joints
Keep track of items in the list, according to joint entity.
Control position of all joints in the selected model. The model must have loaded an
systems::JointPositionController for each joint to be controlled.
This plugin publishes position command messages (
ignition::msgs::Double) on topics in the format
Only the 1st axis of each joint is considered. Joints without axes are ignored.
When the lock button is checked, the model doesn't change even if it's deselected.
<model_name>: Load the widget pointed at the given model, so it's not necessary to select it. If a model is given at startup, the plugin starts in locked mode.
Callback in Qt thread when joint position changes.
[in] _jointName Name of joint being commanded [in] _pos New joint position
Callback in Qt thread when user requests a reset.
Get the model currently controlled.
- Model entity ID.
Set the model currently controlled.
[in] _entity Model entity ID.
Notify that entity has changed.
Get the name of model currently controlled.
- ModelName, such as 'world' or 'model'
Set the name of model currently controlled.
[in] _name ModelName, such as 'world' or 'model'.
Notify that model name has changed
Get whether the controller is currently locked on a model.
- True for locked
Set whether the controller is currently locked on a model.
[in] _locked True for locked.
Notify that locked has changed.