ElevatorStateMachineDef::MoveCabinState Struct Reference
State at which the elevator is moving the cabin to the target floor. More...
#include <StatesImpl.hh>
Public Types | |
using | deferred_events = type_tuple< events::EnqueueNewTarget > |
This state defers EnqueueNewTargetEvent events. More... | |
Public Member Functions | |
MoveCabinState (double _posEps=15e-2, double _velEps=1e-2) | |
Constructor. More... | |
template<typename Event , typename FSM > | |
void | on_enter (const Event &, FSM &_fsm) |
Sends the command that moves the cabin joint to the target floor and configures the monitor that checks the joint state. More... | |
Detailed Description
State at which the elevator is moving the cabin to the target floor.
Member Typedef Documentation
◆ deferred_events
using deferred_events = type_tuple<events::EnqueueNewTarget> |
This state defers EnqueueNewTargetEvent events.
Constructor & Destructor Documentation
◆ MoveCabinState()
|
inline |
Constructor.
- Parameters
-
[in] _posEps Position tolerance when checking if the cabin has reached the target floor level [in] _velEps Velocity tolerance when checking if the cabin has reached the target floor level
Member Function Documentation
◆ on_enter()
|
inline |
Sends the command that moves the cabin joint to the target floor and configures the monitor that checks the joint state.
- Parameters
-
[in] _fsm State machine to which the state belongs
References std::bind(), std::endl(), and ignmsg.
The documentation for this struct was generated from the following file: