Uturn Class Reference
#include <uturn.h>
List of all members.
Public Member Functions |
| void | configure () |
| result_t | control (pilot_command_t &pcmd) |
| void | reset (void) |
| | Uturn (Navigator *navptr, int _verbose) |
| | ~Uturn () |
Private Types |
| enum | state_t { Backward,
Forward,
Wait
} |
Private Member Functions |
| float | calculate_arc_length (bool forward, const MapXY ¢er, float safety_radius, const MapXY &p1, const MapXY &p2) |
| bool | circle_and_line_intersect (MapXY center, float radius, MapXY p1, MapXY p2, MapXY &meet_point) |
| float | estimate_uturn_distance (bool forward, float desired_arc_length) |
| Controller::result_t | initialize (void) |
| bool | outside_lanes_front (void) |
| bool | outside_lanes_rear (void) |
| bool | point_outside_lanes (MapXY point) |
| void | reset_me (void) |
| void | set_state (state_t newstate) |
| MapXY | wheel_location (float x, float y) |
Private Attributes |
| bool | do_init |
| float | goal_heading |
| state_t | state |
| Stop * | stop |
| poly | uturn_entry |
| poly | uturn_exit |
| poly_list_t | uturn_polys |
Detailed Description
Definition at line 17 of file uturn.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 30 of file uturn.h.
Constructor & Destructor Documentation
| Uturn::Uturn |
( |
Navigator * |
navptr, |
|
|
int |
_verbose | |
|
) |
| | |
Member Function Documentation
| float Uturn::calculate_arc_length |
( |
bool |
forward, |
|
|
const MapXY & |
center, |
|
|
float |
safety_radius, |
|
|
const MapXY & |
p1, |
|
|
const MapXY & |
p2 | |
|
) |
| | [private] |
| bool Uturn::circle_and_line_intersect |
( |
MapXY |
center, |
|
|
float |
radius, |
|
|
MapXY |
p1, |
|
|
MapXY |
p2, |
|
|
MapXY & |
meet_point | |
|
) |
| | [private] |
| void Uturn::configure |
( |
|
) |
|
| float Uturn::estimate_uturn_distance |
( |
bool |
forward, |
|
|
float |
desired_arc_length | |
|
) |
| | [private] |
| bool Uturn::outside_lanes_front |
( |
void |
|
) |
[private] |
| bool Uturn::outside_lanes_rear |
( |
void |
|
) |
[private] |
| bool Uturn::point_outside_lanes |
( |
MapXY |
point |
) |
[private] |
| void Uturn::reset |
( |
void |
|
) |
[virtual] |
| void Uturn::reset_me |
( |
void |
|
) |
[private, virtual] |
| void Uturn::set_state |
( |
state_t |
newstate |
) |
[private] |
| MapXY Uturn::wheel_location |
( |
float |
x, |
|
|
float |
y | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following files: