Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
Estop Class Reference

#include <estop.h>

Inheritance diagram for Estop:
Inheritance graph
[legend]

List of all members.

Classes

struct  transtion_t

Public Member Functions

result_t control (pilot_command_t &pcmd)
 Estop (Navigator *navptr, int _verbose)
void reset (void)
NavEstopState State (void)
 ~Estop ()

Private Types

typedef result_t(Estop::* action_t )(pilot_command_t &pcmd)

Private Member Functions

result_t ActionError (pilot_command_t &pcmd)
result_t ActionInDone (pilot_command_t &pcmd)
result_t ActionInPause (pilot_command_t &pcmd)
result_t ActionInRun (pilot_command_t &pcmd)
result_t ActionInSuspend (pilot_command_t &pcmd)
result_t ActionToAbort (pilot_command_t &pcmd)
result_t ActionToDone (pilot_command_t &pcmd)
result_t ActionToPause (pilot_command_t &pcmd)
result_t ActionToRun (pilot_command_t &pcmd)
result_t ActionToSuspend (pilot_command_t &pcmd)
void Add (NavEstopEvent::event_t event, action_t action, NavEstopState::state_t from_state, NavEstopState::state_t to_state)
NavEstopEvent current_event (void)
void reset_me (void)

Private Attributes

NavEstopEvent event
Halthalt
NavEstopEvent pending_event
NavEstopState prev
Runrun
NavEstopState state
transtion_t ttable [NavEstopEvent::N_events][NavEstopState::N_states]

Detailed Description

Definition at line 24 of file estop.h.


Member Typedef Documentation

typedef result_t(Estop::* Estop::action_t)(pilot_command_t &pcmd) [private]

Definition at line 41 of file estop.h.


Constructor & Destructor Documentation

Estop::Estop ( Navigator navptr,
int  _verbose 
)

Definition at line 18 of file estop.cc.

Definition at line 97 of file estop.cc.


Member Function Documentation

Definition at line 203 of file estop.cc.

Definition at line 214 of file estop.cc.

Definition at line 221 of file estop.cc.

Definition at line 228 of file estop.cc.

Definition at line 239 of file estop.cc.

Definition at line 248 of file estop.cc.

Definition at line 254 of file estop.cc.

Definition at line 260 of file estop.cc.

Todo:
implement 5 second hesitation before actually starting

Definition at line 266 of file estop.cc.

Definition at line 273 of file estop.cc.

void Estop::Add ( NavEstopEvent::event_t  event,
action_t  action,
NavEstopState::state_t  from_state,
NavEstopState::state_t  to_state 
) [private]

Definition at line 104 of file estop.cc.

Reimplemented from Controller.

Definition at line 113 of file estop.cc.

NavEstopEvent Estop::current_event ( void  ) [private]

Definition at line 139 of file estop.cc.

void Estop::reset ( void  ) [virtual]

Reimplemented from Controller.

Definition at line 184 of file estop.cc.

void Estop::reset_me ( void  ) [private, virtual]

Reimplemented from Controller.

Definition at line 192 of file estop.cc.

NavEstopState Estop::State ( void  ) [inline]

Definition at line 33 of file estop.h.


Member Data Documentation

Definition at line 50 of file estop.h.

Halt* Estop::halt [private]

Definition at line 57 of file estop.h.

Definition at line 51 of file estop.h.

Definition at line 52 of file estop.h.

Run* Estop::run [private]

Definition at line 58 of file estop.h.

Definition at line 53 of file estop.h.

Definition at line 54 of file estop.h.


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


art_nav
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:43