LinearBatteryROSPlugin
class gazebo::LinearBatteryROSPlugin
¶
class gazebo::LinearBatteryROSPlugin : public LinearBatteryPlugin
Summary¶
Members | Descriptions |
---|---|
public LinearBatteryROSPlugin () |
Constructor. |
public virtual ~LinearBatteryROSPlugin () |
Destructor. |
public void Load (physics::ModelPtr _parent,sdf::ElementPtr _sdf) |
Load module and read parameters from SDF. |
public virtual void Init () |
Initialize Module. |
public virtual void Reset () |
Reset Module. |
protected boost::scoped_ptr< ros::NodeHandle > rosNode |
Pointer to this ROS node's handle. |
protected std::string robotNamespace |
Namespace for this ROS node. |
protected sensor_msgs::BatteryState batteryStateMsg |
Battery state ROS message. |
protected ros::Timer updateTimer |
Connection for callbacks on update world. |
protected void PublishBatteryState () |
Publish battery states. |
Members¶
public
LinearBatteryROSPlugin
()
¶
Constructor.
public virtual
~LinearBatteryROSPlugin
()
¶
Destructor.
public void
Load
(physics::ModelPtr _parent,sdf::ElementPtr _sdf)
¶
Load module and read parameters from SDF.
public virtual void
Init
()
¶
Initialize Module.
public virtual void
Reset
()
¶
Reset Module.
protected boost::scoped_ptr< ros::NodeHandle >
rosNode
¶
Pointer to this ROS node's handle.
protected std::string
robotNamespace
¶
Namespace for this ROS node.
protected sensor_msgs::BatteryState
batteryStateMsg
¶
Battery state ROS message.
protected ros::Timer
updateTimer
¶
Connection for callbacks on update world.
protected void
PublishBatteryState
()
¶
Publish battery states.