Grasp target plugin class. More...
#include <TargetPlugin.hh>
Public Member Functions | |
| TargetPlugin () | |
| Constructs the object. More... | |
| virtual | ~TargetPlugin () override |
| Destroys the object. More... | |
| virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
| Loads the plugin. More... | |
| void | onUpdate () |
| Callback on world update event. More... | |
| void | onReset () |
| Callback on world reset event. More... | |
| void | onRequest (TargetRequestPtr &_msg) |
| Callback function for handling incoming requests. More... | |
Private Attributes | |
| std::unique_ptr< TargetPluginPrivate > | data_ptr |
| Class with private attributes. More... | |
| physics::ModelPtr | model |
| Model to which the plugin is attached. More... | |
| event::ConnectionPtr | update_connection |
| Connection to world update event. More... | |
| event::ConnectionPtr | reset_connection |
| Connection to world reset event. More... | |
| bool | get_pose {false} |
| Flag for pending get pose request. More... | |
| bool | set_pose {false} |
| Flag for pending set pose request. More... | |
| bool | update_rest_pose {false} |
| Flag for pending update resting pose request. More... | |
| bool | reset {false} |
| Flag for pending reset. More... | |
| ignition::math::Pose3d | init_pose |
| Initial pose. More... | |
| ignition::math::Pose3d | new_pose |
| New pose. More... | |
Grasp target plugin class.
| TargetPlugin | ( | ) |
Constructs the object.
|
overridevirtual |
Destroys the object.
|
virtual |
Loads the plugin.
| _model | The model pointer |
| _sdf | The sdf element pointer |
| void onRequest | ( | TargetRequestPtr & | _msg | ) |
Callback function for handling incoming requests.
| _msg | The message |
| void onReset | ( | ) |
Callback on world reset event.
| void onUpdate | ( | ) |
Callback on world update event.
|
private |
Class with private attributes.
|
private |
Flag for pending get pose request.
|
private |
Initial pose.
|
private |
Model to which the plugin is attached.
|
private |
New pose.
|
private |
Flag for pending reset.
|
private |
Connection to world reset event.
|
private |
Flag for pending set pose request.
|
private |
Connection to world update event.
|
private |
Flag for pending update resting pose request.