Class GazeboRosElevator
Defined in File gazebo_ros_elevator.hpp
Class Documentation
-
class gazebo_plugins::GazeboRosElevator : public ElevatorPlugin
A elevator plugin for gazebo.
Example Usage:
<!-- Plugin to control the elevator --> <plugin name="elevator" filename="libgazebo_ros_elevator.so"> <ros> <namespace>demo</namespace> <!-- topic remapping --> <remapping>elevator:=elevator_demo</remapping> </ros> <!-- min and max floor constraints --> <bottom_floor>0</bottom_floor> <top_floor>1</top_floor>
Protected Functions
Callback for receiving message on elevator’s topic.
- Parameters
msg – [in] String message that contains a elevator command.
-
void Load(gazebo::physics::ModelPtr _model, sdf::ElementPtr _sdf) override