ElevatorStateMachine.hh
ElevatorStateMachineDef(const std::shared_ptr< ElevatorCommonPrivate > &_system)
Constructor.
Definition: ElevatorStateMachineImpl.hh:117
Event that signifies there is a new target that needs to be enqueued.
Definition: EventsImpl.hh:34
This library is part of the Gazebo project.
Guard that checks whether the state machine is in a given state.
Definition: ElevatorStateMachine.hh:69
Action that cleans up the target queue when a new target is processed.
Definition: ActionsImpl.hh:59
transition_table< in< events::EnqueueNewTarget, actions::EnqueueNewTarget< true >, guards::IsInState< IdleState > >, in< events::EnqueueNewTarget, actions::EnqueueNewTarget< false >, guards::IsInState< CloseDoorState > > > internal_transitions
Transition transition table.
Definition: ElevatorStateMachine.hh:106
Action that cleans up the target queue when the cabin reaches the target floor level.
Definition: ActionsImpl.hh:79
Action that enqueues a new target in the target queue.
Definition: ElevatorStateMachine.hh:60
std::unique_ptr< ElevatorStateMachinePrivate > dataPtr
Public data pointer.
Definition: ElevatorStateMachine.hh:130
State at which the elevator is moving the cabin to the target floor.
Definition: StatesImpl.hh:194
State at which the elevator is waiting with a door open.
Definition: StatesImpl.hh:164
State at which the elevator is idling.
Definition: StatesImpl.hh:39
Event that signifies the cabin has reached the target floor level.
Definition: EventsImpl.hh:70
State at which the elevator is closing a door.
Definition: StatesImpl.hh:142
transition_table< tr< IdleState, events::NewTarget, OpenDoorState, actions::NewTarget, guards::CabinAtTarget >, tr< IdleState, events::NewTarget, MoveCabinState, actions::NewTarget, not_< guards::CabinAtTarget > >, tr< OpenDoorState, events::DoorOpen, WaitState, none, none >, tr< WaitState, events::Timeout, CloseDoorState, none, none >, tr< CloseDoorState, events::DoorClosed, IdleState, none, guards::NoQueuedTarget >, tr< CloseDoorState, events::DoorClosed, MoveCabinState, none, not_< guards::NoQueuedTarget > >, tr< MoveCabinState, events::CabinAtTarget, OpenDoorState, actions::CabinAtTarget, none > > transitions
Transition table.
Definition: ElevatorStateMachine.hh:127
Event that signifies the door at the target floor level has been opened.
Definition: EventsImpl.hh:53
Event that signifies the door at the target floor level has remained open for the required amount of ...
Definition: EventsImpl.hh:65
~ElevatorStateMachineDef()
Destructor.
Elevator state machine frontend. Defines the transition table and initial state of the state machine.
Definition: ElevatorStateMachine.hh:76
State at which the elevator is opening a door.
Definition: StatesImpl.hh:117
Guard that checks whether the cabin is at the target floor level.
Definition: GuardsImpl.hh:52
Event that signifies the door at the target floor level has been closed.
Definition: EventsImpl.hh:59
Guard that checks whether the target queue is empty.
Definition: GuardsImpl.hh:65
STL class.
::afsm::state_machine< ElevatorStateMachineDef > ElevatorStateMachine
Elevator state machine backend.
Definition: ElevatorStateMachine.hh:134
Event that signifies a new target will be processed.
Definition: EventsImpl.hh:47