ROSBaseModelPlugin
class gazebo::ROSBaseModelPlugin
¶
class gazebo::ROSBaseModelPlugin : public gazebo::ROSBasePlugin : public ModelPlugin
Summary¶
Members | Descriptions |
---|---|
public ROSBaseModelPlugin () |
Class constructor. |
public virtual ~ROSBaseModelPlugin () |
Class destructor. |
protected physics::ModelPtr model |
Pointer to the model. |
protected physics::LinkPtr link |
Pointer to the link. |
protected bool enableLocalNEDFrame |
True if a the local NED frame needs to be broadcasted. |
protected tf::TransformBroadcaster * tfBroadcaster |
TF broadcaster for the local NED frame. |
protected ignition::math::Pose3d localNEDFrame |
Pose of the local NED frame wrt link frame. |
protected tf::StampedTransform tfLocalNEDFrame |
Local NED TF frame. |
protected virtual void Load (physics::ModelPtr _model,sdf::ElementPtr _sdf) |
Load plugin and its configuration from sdf,. |
protected virtual bool OnUpdate (const common::UpdateInfo &) |
Update callback from simulation. |
protected void SendLocalNEDTransform () |
Returns true if the base_link_ned frame exists. |
Members¶
public
ROSBaseModelPlugin
()
¶
Class constructor.
public virtual
~ROSBaseModelPlugin
()
¶
Class destructor.
protected physics::ModelPtr
model
¶
Pointer to the model.
protected physics::LinkPtr
link
¶
Pointer to the link.
protected bool
enableLocalNEDFrame
¶
True if a the local NED frame needs to be broadcasted.
protected tf::TransformBroadcaster *
tfBroadcaster
¶
TF broadcaster for the local NED frame.
protected ignition::math::Pose3d
localNEDFrame
¶
Pose of the local NED frame wrt link frame.
protected tf::StampedTransform
tfLocalNEDFrame
¶
Local NED TF frame.
protected virtual void
Load
(physics::ModelPtr _model,sdf::ElementPtr _sdf)
¶
Load plugin and its configuration from sdf,.
protected virtual bool
OnUpdate
(const common::UpdateInfo &)
¶
Update callback from simulation.
protected void
SendLocalNEDTransform
()
¶
Returns true if the base_link_ned frame exists.