#include <cmath>
#include "segment.H"
Classes | |
struct | _point_t |
Namespaces | |
namespace | cajun |
Typedefs | |
typedef struct _point_t | lane_point_t |
Functions | |
double | cajun::angular_deviation (double ref_angle, double angle) |
Returns the angular difference between ref_ang and angle and maps the value to -M_PI to +M_PI. | |
double | cajun::xtrack_distance (double x1, double y1, double x2, double y2, double x, double y) |
returns the xtrack distance (perpendicular) of point (x, y) to line (x1, y1) -> (x2, y2) | |
int | main (int argc, char **argv) |
typedef struct _point_t lane_point_t |
int main | ( | int | argc, | |
char ** | argv | |||
) |
References cajun::segment_t::end_point(), cajun::segment_t::point_along_segment(), cajun::segment_t::point_side(), cajun::segment_t::reverse(), cajun::segment_t::segment_angle(), cajun::segment_t::segment_on_the_left(), cajun::segment_t::segment_on_the_right(), cajun::segment_t::start_point(), _point_t::x, and _point_t::y.