cajun::changing_lane_t Class Reference

State to driving into neighboring lane for avoiding blocked lane. More...

#include <simple_states.H>

Inheritance diagram for cajun::changing_lane_t:
cajun::base_state_machine_t

List of all members.

Public Member Functions

 changing_lane_t (double tstamp_)
state_machine_id_t new_state (state_machine_t *sm_)
 Returns the new state that state machine should be in. Returns present state_id if no transition is possible.
bool update (state_machine_t *sm_)
 Updates the state's action, like PL state can modify the tp list to add passing lane.

Private Attributes

bool m_first_iter

Detailed Description

State to driving into neighboring lane for avoiding blocked lane.


Constructor & Destructor Documentation

cajun::changing_lane_t::changing_lane_t ( double  tstamp_  )  [inline]

Member Function Documentation

state_machine_id_t changing_lane_t::new_state ( state_machine_t sm_  )  [virtual]

Returns the new state that state machine should be in. Returns present state_id if no transition is possible.

Implements cajun::base_state_machine_t.

References cajun::state_machine_t::completed_CL(), cajun::base_state_machine_t::m_state_id, and cajun::SAFE.

bool changing_lane_t::update ( state_machine_t sm_  )  [virtual]

Updates the state's action, like PL state can modify the tp list to add passing lane.

Reimplemented from cajun::base_state_machine_t.

References cajun::state_machine_t::change_lane(), and m_first_iter.


Member Data Documentation

Referenced by changing_lane_t(), and update().


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

Generated on Fri Apr 9 10:45:15 2010 for UCPlanner by  doxygen 1.6.1