FinROSPlugin
class uuv_simulator_ros::FinROSPlugin
¶
class uuv_simulator_ros::FinROSPlugin : public FinPlugin
Summary¶
Members | Descriptions |
---|---|
public FinROSPlugin () |
Constrcutor. |
public ~FinROSPlugin () |
Destructor. |
public void Load (gazebo::physics::ModelPtr _parent,sdf::ElementPtr _sdf) |
Load module and read parameters from SDF. |
public void RosPublishStates () |
Publish state via ROS. |
public void SetReference (const uuv_gazebo_ros_plugins_msgs::FloatStamped::ConstPtr & _msg) |
Set new set point. |
public bool GetLiftDragParams (uuv_gazebo_ros_plugins_msgs::GetListParam::Request & _req,uuv_gazebo_ros_plugins_msgs::GetListParam::Response & _res) |
Return the list of paramaters of the lift and drag model. |
public gazebo::common::Time GetRosPublishPeriod () |
Return the ROS publish period. |
public void SetRosPublishRate (double _hz) |
Set the ROS publish frequency (Hz). |
public virtual void Init () |
Initialize Module. |
public virtual void Reset () |
Reset Module. |
Members¶
public
FinROSPlugin
()
¶
Constrcutor.
public
~FinROSPlugin
()
¶
Destructor.
public void
Load
(gazebo::physics::ModelPtr _parent,sdf::ElementPtr _sdf)
¶
Load module and read parameters from SDF.
public void
RosPublishStates
()
¶
Publish state via ROS.
public void
SetReference
(const uuv_gazebo_ros_plugins_msgs::FloatStamped::ConstPtr & _msg)
¶
Set new set point.
public bool
GetLiftDragParams
(uuv_gazebo_ros_plugins_msgs::GetListParam::Request & _req,uuv_gazebo_ros_plugins_msgs::GetListParam::Response & _res)
¶
Return the list of paramaters of the lift and drag model.
public gazebo::common::Time
GetRosPublishPeriod
()
¶
Return the ROS publish period.
public void
SetRosPublishRate
(double _hz)
¶
Set the ROS publish frequency (Hz).
public virtual void
Init
()
¶
Initialize Module.
public virtual void
Reset
()
¶
Reset Module.