segment-test.C File Reference

#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 Documentation

typedef struct _point_t lane_point_t

Function Documentation

int main ( int  argc,
char **  argv 
)

Generated on Fri Apr 9 10:45:14 2010 for Slopedtm by  doxygen 1.6.1