State to driving into on-coming lane for avoiding blocked lane. More...
#include <simple_states.H>
Public Member Functions | |
| uturn_state_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 |
State to driving into on-coming lane for avoiding blocked lane.
| cajun::uturn_state_t::uturn_state_t | ( | double | tstamp_ | ) | [inline] |
| state_machine_id_t uturn_state_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_UT(), cajun::base_state_machine_t::m_state_id, and cajun::SAFE.
| bool uturn_state_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 m_first_iter, and cajun::state_machine_t::uturn_lane().
bool cajun::uturn_state_t::m_first_iter [private] |
Referenced by update(), and uturn_state_t().
1.6.1