$search

Road Class Reference

#include <road.h>

Inheritance diagram for Road:
Inheritance graph
[legend]

List of all members.

Classes

struct  transtion_t

Public Member Functions

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

Private Types

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

Private Member Functions

result_t ActionError (pilot_command_t &pcmd)
result_t ActionEvadeToFollow (pilot_command_t &pcmd)
result_t ActionFail (pilot_command_t &pcmd)
result_t ActionInBlock (pilot_command_t &pcmd)
result_t ActionInEvade (pilot_command_t &pcmd)
result_t ActionInFollow (pilot_command_t &pcmd)
result_t ActionInInit (pilot_command_t &pcmd)
result_t ActionInPass (pilot_command_t &pcmd)
result_t ActionInUturn (pilot_command_t &pcmd)
result_t ActionInWaitCross (pilot_command_t &pcmd)
result_t ActionInWaitLane (pilot_command_t &pcmd)
result_t ActionInWaitPass (pilot_command_t &pcmd)
result_t ActionInWaitStop (pilot_command_t &pcmd)
result_t ActionInZone (pilot_command_t &pcmd)
result_t ActionPassToBlock (pilot_command_t &pcmd)
result_t ActionPassToEvade (pilot_command_t &pcmd)
result_t ActionPassToFollow (pilot_command_t &pcmd)
result_t ActionToBlock (pilot_command_t &pcmd)
result_t ActionToEvade (pilot_command_t &pcmd)
result_t ActionToFollow (pilot_command_t &pcmd)
result_t ActionToPass (pilot_command_t &pcmd)
result_t ActionToUturn (pilot_command_t &pcmd)
result_t ActionToWaitCross (pilot_command_t &pcmd)
result_t ActionToWaitLane (pilot_command_t &pcmd)
result_t ActionToWaitPass (pilot_command_t &pcmd)
result_t ActionToWaitStop (pilot_command_t &pcmd)
result_t ActionToZone (pilot_command_t &pcmd)
result_t ActionWaitPassToFollow (pilot_command_t &pcmd)
result_t ActionZoneToWaitCross (pilot_command_t &pcmd)
void Add (NavRoadEvent::event_t event, action_t action, NavRoadState::state_t from_state, NavRoadState::state_t to_state)
void cancel_all_timers (void)
void reset_me (void)
void set_waypt_event (void)

Private Attributes

Observation::_oid_type crossing_observer
NavRoadEvent event
FollowLanefollow_lane
FollowSafelyfollow_safely
Halthalt
Course::direction_t lane_direction
Passingpassing
bool passing_first
NavTimerpassing_timer
NavRoadEvent pending_event
NavTimerprecedence_timer
NavRoadState prev
int32_t prev_nobjects
NavTimerroadblock_timer
NavRoadState state
NavTimerstop_line_timer
transtion_t ttable [NavRoadEvent::N_events][NavRoadState::N_states]
Uturnuturn

Detailed Description

Definition at line 26 of file road.h.


Member Typedef Documentation

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

Definition at line 45 of file road.h.


Constructor & Destructor Documentation

Road::Road ( Navigator navptr,
int  _verbose 
)

Definition at line 26 of file road.cc.

Road::~Road (  ) 

Definition at line 169 of file road.cc.


Member Function Documentation

Controller::result_t Road::ActionError ( pilot_command_t pcmd  )  [private]

Definition at line 285 of file road.cc.

Controller::result_t Road::ActionEvadeToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 580 of file road.cc.

Controller::result_t Road::ActionFail ( pilot_command_t pcmd  )  [private]

Definition at line 293 of file road.cc.

Controller::result_t Road::ActionInBlock ( pilot_command_t pcmd  )  [private]

Definition at line 302 of file road.cc.

Controller::result_t Road::ActionInEvade ( pilot_command_t pcmd  )  [private]

Todo:
Either implement the Evade controller or delete it.

Definition at line 350 of file road.cc.

Controller::result_t Road::ActionInFollow ( pilot_command_t pcmd  )  [private]

Definition at line 363 of file road.cc.

Controller::result_t Road::ActionInInit ( pilot_command_t pcmd  )  [private]

Definition at line 389 of file road.cc.

Controller::result_t Road::ActionInPass ( pilot_command_t pcmd  )  [private]

Definition at line 399 of file road.cc.

Controller::result_t Road::ActionInUturn ( pilot_command_t pcmd  )  [private]

Definition at line 438 of file road.cc.

Controller::result_t Road::ActionInWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 449 of file road.cc.

Controller::result_t Road::ActionInWaitLane ( pilot_command_t pcmd  )  [private]

Definition at line 460 of file road.cc.

Controller::result_t Road::ActionInWaitPass ( pilot_command_t pcmd  )  [private]

Definition at line 491 of file road.cc.

Controller::result_t Road::ActionInWaitStop ( pilot_command_t pcmd  )  [private]

Definition at line 518 of file road.cc.

Controller::result_t Road::ActionInZone ( pilot_command_t pcmd  )  [private]

Definition at line 554 of file road.cc.

Controller::result_t Road::ActionPassToBlock ( pilot_command_t pcmd  )  [private]

Definition at line 587 of file road.cc.

Controller::result_t Road::ActionPassToEvade ( pilot_command_t pcmd  )  [private]

Definition at line 595 of file road.cc.

Controller::result_t Road::ActionPassToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 603 of file road.cc.

Controller::result_t Road::ActionToBlock ( pilot_command_t pcmd  )  [private]

Definition at line 611 of file road.cc.

Controller::result_t Road::ActionToEvade ( pilot_command_t pcmd  )  [private]

Definition at line 621 of file road.cc.

Controller::result_t Road::ActionToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 641 of file road.cc.

Controller::result_t Road::ActionToPass ( pilot_command_t pcmd  )  [private]

Definition at line 652 of file road.cc.

Controller::result_t Road::ActionToUturn ( pilot_command_t pcmd  )  [private]

Definition at line 671 of file road.cc.

Controller::result_t Road::ActionToWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 679 of file road.cc.

Controller::result_t Road::ActionToWaitLane ( pilot_command_t pcmd  )  [private]

Definition at line 701 of file road.cc.

Controller::result_t Road::ActionToWaitPass ( pilot_command_t pcmd  )  [private]

Definition at line 708 of file road.cc.

Controller::result_t Road::ActionToWaitStop ( pilot_command_t pcmd  )  [private]

Definition at line 729 of file road.cc.

Controller::result_t Road::ActionToZone ( pilot_command_t pcmd  )  [private]

Definition at line 739 of file road.cc.

Controller::result_t Road::ActionWaitPassToFollow ( pilot_command_t pcmd  )  [private]

Definition at line 746 of file road.cc.

Controller::result_t Road::ActionZoneToWaitCross ( pilot_command_t pcmd  )  [private]

Definition at line 754 of file road.cc.

void Road::Add ( NavRoadEvent::event_t  event,
action_t  action,
NavRoadState::state_t  from_state,
NavRoadState::state_t  to_state 
) [private]

Definition at line 186 of file road.cc.

void Road::cancel_all_timers ( void   )  [private]

Definition at line 195 of file road.cc.

Controller::result_t Road::control ( pilot_command_t pcmd  )  [virtual]

Reimplemented from Controller.

Definition at line 203 of file road.cc.

void Road::reset ( void   )  [virtual]

Reimplemented from Controller.

Definition at line 235 of file road.cc.

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

Reimplemented from Controller.

Definition at line 249 of file road.cc.

void Road::set_waypt_event ( void   )  [private]

Definition at line 257 of file road.cc.

NavRoadState Road::State ( void   )  [inline]

Definition at line 35 of file road.h.


Member Data Documentation

Definition at line 58 of file road.h.

Definition at line 56 of file road.h.

Definition at line 67 of file road.h.

Definition at line 68 of file road.h.

Halt* Road::halt [private]

Definition at line 69 of file road.h.

Definition at line 59 of file road.h.

Passing* Road::passing [private]

Definition at line 70 of file road.h.

bool Road::passing_first [private]

Definition at line 42 of file road.h.

Definition at line 75 of file road.h.

Definition at line 57 of file road.h.

Definition at line 76 of file road.h.

Definition at line 54 of file road.h.

int32_t Road::prev_nobjects [private]

Definition at line 63 of file road.h.

Definition at line 77 of file road.h.

Definition at line 55 of file road.h.

Definition at line 78 of file road.h.

transtion_t Road::ttable[NavRoadEvent::N_events][NavRoadState::N_states] [private]

Definition at line 60 of file road.h.

Uturn* Road::uturn [private]

Definition at line 71 of file road.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_nav
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Fri Mar 1 14:13:02 2013