20 template <
class RobotSystemT>
25 std::type_index type_index_event_ =
typeid(NULL);
47 type_index_event_ =
typeid(event);
56 type_index_event_ =
typeid(event);
SampleLogicStateMachine_(RobotSystemT &robot_system)
Constructor that takes robot system.
Definition: sample_logic_state_machine.h:37
void process_event(const PositionYaw &event)
process pose event message
Definition: sample_logic_state_machine.h:55
std::type_index getProcessEventTypeId()
retrieve the event type_index of last processed event
Definition: sample_logic_state_machine.h:64
Robot system that does not perform any actions.
Definition: sample_logic_state_machine.h:12
Stores Position, yaw. PositionYaw is used as the goal for UAV systems.
Definition: position_yaw.h:10
PositionYaw getPoseEvent()
retrieve poseyaw event message
Definition: sample_logic_state_machine.h:70
void process_event(const Event &event)
Generic process event that stores the event type.
Definition: sample_logic_state_machine.h:46
Base state machine.
Definition: base_state_machine.h:18
Example Logic state machine that stores triggered event.
Definition: sample_logic_state_machine.h:21