Skip to content

FinROSPlugin

class uuv_simulator_ros::FinROSPlugin

class uuv_simulator_ros::FinROSPlugin
  : public FinPlugin
Summary
Members Descriptions
publicFinROSPlugin() Constrcutor.
public~FinROSPlugin() Destructor.
public voidLoad(gazebo::physics::ModelPtr _parent,sdf::ElementPtr _sdf) Load module and read parameters from SDF.
public voidRosPublishStates() Publish state via ROS.
public voidSetReference(const uuv_gazebo_ros_plugins_msgs::FloatStamped::ConstPtr & _msg) Set new set point.
public boolGetLiftDragParams(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::TimeGetRosPublishPeriod() Return the ROS publish period.
public voidSetRosPublishRate(double _hz) Set the ROS publish frequency (Hz).
public virtual voidInit() Initialize Module.
public virtual voidReset() Reset Module.
Members
publicFinROSPlugin()

Constrcutor.

public~FinROSPlugin()

Destructor.

public voidLoad(gazebo::physics::ModelPtr _parent,sdf::ElementPtr _sdf)

Load module and read parameters from SDF.

public voidRosPublishStates()

Publish state via ROS.

public voidSetReference(const uuv_gazebo_ros_plugins_msgs::FloatStamped::ConstPtr & _msg)

Set new set point.

public boolGetLiftDragParams(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::TimeGetRosPublishPeriod()

Return the ROS publish period.

public voidSetRosPublishRate(double _hz)

Set the ROS publish frequency (Hz).

public virtual voidInit()

Initialize Module.

public virtual voidReset()

Reset Module.