ElevatorStateMachine.hh
Go to the documentation of this file.
107 >;
128 >;
Event that signifies the door at the target floor level has been opened.
Definition: EventsImpl.hh:54
Guard that checks whether the target queue is empty.
Definition: GuardsImpl.hh:66
Event that signifies there is a new target that needs to be enqueued.
Definition: EventsImpl.hh:35
State at which the elevator is moving the cabin to the target floor.
Definition: StatesImpl.hh:195
Event that signifies the door at the target floor level has remained open for the required amount of ...
Definition: EventsImpl.hh:66
Action that cleans up the target queue when the cabin reaches the target floor level.
Definition: ActionsImpl.hh:80
std::unique_ptr< ElevatorStateMachinePrivate > dataPtr
Public data pointer.
Definition: ElevatorStateMachine.hh:131
State at which the elevator is idling.
Definition: StatesImpl.hh:40
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:107
Event that signifies the door at the target floor level has been closed.
Definition: EventsImpl.hh:60
Guard that checks whether the state machine is in a given state.
Definition: ElevatorStateMachine.hh:70
Guard that checks whether the cabin is at the target floor level.
Definition: GuardsImpl.hh:53
Event that signifies a new target will be processed.
Definition: EventsImpl.hh:48
State at which the elevator is closing a door.
Definition: StatesImpl.hh:143
State at which the elevator is waiting with a door open.
Definition: StatesImpl.hh:165
ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::systems::ElevatorStateMachineDef::OpenDoorState
State at which the elevator is opening a door.
Definition: StatesImpl.hh:118
STL class.
Event that signifies the cabin has reached the target floor level.
Definition: EventsImpl.hh:71
Elevator state machine frontend. Defines the transition table and initial state of the state machine...
Definition: ElevatorStateMachine.hh:77
Action that enqueues a new target in the target queue.
Definition: ElevatorStateMachine.hh:61
::afsm::state_machine< ElevatorStateMachineDef > ElevatorStateMachine
Elevator state machine backend.
Definition: ElevatorStateMachine.hh:135
This library is part of the Ignition Robotics project.
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:128
Action that cleans up the target queue when a new target is processed.
Definition: ActionsImpl.hh:60