AccelerationsTestPlugin
class gazebo::AccelerationsTestPlugin
¶
class gazebo::AccelerationsTestPlugin : public ModelPlugin
Gazebo model plugin class for underwater objects.
Summary¶
Members | Descriptions |
---|---|
public AccelerationsTestPlugin () |
Constructor. |
public virtual ~AccelerationsTestPlugin () |
Destructor. |
public virtual void Load (gazebo::physics::ModelPtr _model,sdf::ElementPtr _sdf) |
|
public virtual void Init () |
|
public void Update (const gazebo::common::UpdateInfo & _info) |
Update the simulation state. |
protected gazebo::event::ConnectionPtr updateConnection |
Update event. |
protected gazebo::physics::WorldPtr world |
Pointer to the world plugin. |
protected gazebo::physics::ModelPtr model |
Pointer to the model structure. |
protected gazebo::transport::NodePtr node |
Gazebo node. |
protected physics::LinkPtr link |
Link of test object. |
protected ros::Publisher pub_accel_b_gazebo |
|
protected ros::Publisher pub_accel_b_numeric |
|
protected ros::Publisher pub_accel_w_gazebo |
|
protected ros::Publisher pub_accel_w_numeric |
|
protected Eigen::Vector6d last_w_v_w_b |
Velocity of link with respect to world frame in previous time step. |
protected common::Time lastTime |
Time stamp of previous time step. |
protected virtual void Connect () |
Connects the update event callback. |
Members¶
public
AccelerationsTestPlugin
()
¶
Constructor.
public virtual
~AccelerationsTestPlugin
()
¶
Destructor.
public virtual void
Load
(gazebo::physics::ModelPtr _model,sdf::ElementPtr _sdf)
¶
public virtual void
Init
()
¶
public void
Update
(const gazebo::common::UpdateInfo & _info)
¶
Update the simulation state.
Parameters¶
_info
Information used in the update event.
protected gazebo::event::ConnectionPtr
updateConnection
¶
Update event.
protected gazebo::physics::WorldPtr
world
¶
Pointer to the world plugin.
protected gazebo::physics::ModelPtr
model
¶
Pointer to the model structure.
protected gazebo::transport::NodePtr
node
¶
Gazebo node.
protected physics::LinkPtr
link
¶
Link of test object.
protected ros::Publisher
pub_accel_b_gazebo
¶
protected ros::Publisher
pub_accel_b_numeric
¶
protected ros::Publisher
pub_accel_w_gazebo
¶
protected ros::Publisher
pub_accel_w_numeric
¶
protected Eigen::Vector6d
last_w_v_w_b
¶
Velocity of link with respect to world frame in previous time step.
protected common::Time
lastTime
¶
Time stamp of previous time step.
protected virtual void
Connect
()
¶
Connects the update event callback.