Classes | Public Member Functions | Public Attributes | List of all members
gazebo::ElevatorPluginPrivate Class Reference

#include <ElevatorPluginPrivate.hh>

Classes

class  CloseState
 State used to close the elevator door. More...
 
class  DoorController
 Controller for opening and closing the elevator door. More...
 
class  LiftController
 Controller for raising and lowering the elevator. More...
 
class  MoveState
 State used to move the elevator to a floor. More...
 
class  OpenState
 State used to open the elevator door. More...
 
class  State
 State base class. More...
 
class  WaitState
 State used to make the elevator wait. More...
 

Public Member Functions

 ElevatorPluginPrivate ()=default
 Constructor. More...
 
virtual ~ElevatorPluginPrivate ()
 Destructor. More...
 

Public Attributes

DoorControllerdoorController
 Door controller. More...
 
physics::JointPtr doorJoint
 Pointer to the joint that opens the door. More...
 
common::Time doorWaitTime
 Time to hold the door in the open state. More...
 
transport::SubscriberPtr elevatorSub
 Used to subscribe to command message. More...
 
LiftControllerliftController
 Lift controller. More...
 
physics::JointPtr liftJoint
 Pointer to the joint that lifts the elevator. More...
 
physics::ModelPtr model
 Pointer to the elevator model. More...
 
transport::NodePtr node
 Node for communication. More...
 
sdf::ElementPtr sdf
 SDF pointer. More...
 
std::mutex stateMutex
 Mutex to protect states. More...
 
std::list< State * > states
 List of states that should be executed. More...
 
event::ConnectionPtr updateConnection
 Pointer to the update event connection. More...
 

Constructor & Destructor Documentation

gazebo::ElevatorPluginPrivate::ElevatorPluginPrivate ( )
default

Constructor.

virtual gazebo::ElevatorPluginPrivate::~ElevatorPluginPrivate ( )
virtual

Destructor.

Member Data Documentation

DoorController* gazebo::ElevatorPluginPrivate::doorController

Door controller.

physics::JointPtr gazebo::ElevatorPluginPrivate::doorJoint

Pointer to the joint that opens the door.

common::Time gazebo::ElevatorPluginPrivate::doorWaitTime

Time to hold the door in the open state.

transport::SubscriberPtr gazebo::ElevatorPluginPrivate::elevatorSub

Used to subscribe to command message.

This will call the OnElevator function when a message arrives.

LiftController* gazebo::ElevatorPluginPrivate::liftController

Lift controller.

physics::JointPtr gazebo::ElevatorPluginPrivate::liftJoint

Pointer to the joint that lifts the elevator.

physics::ModelPtr gazebo::ElevatorPluginPrivate::model

Pointer to the elevator model.

transport::NodePtr gazebo::ElevatorPluginPrivate::node

Node for communication.

sdf::ElementPtr gazebo::ElevatorPluginPrivate::sdf

SDF pointer.

std::mutex gazebo::ElevatorPluginPrivate::stateMutex

Mutex to protect states.

std::list<State *> gazebo::ElevatorPluginPrivate::states

List of states that should be executed.

event::ConnectionPtr gazebo::ElevatorPluginPrivate::updateConnection

Pointer to the update event connection.


The documentation for this class was generated from the following file: