path_simplifier.c File Reference

#include "path_simplifier.h"
#include <math.h>
#include <stdlib.h>

Include dependency graph for path_simplifier.c:

Go to the source code of this file.
#define DBG   printf
#define ABS_VAL(x)   ((x > 0.0)?(x):(-x))
#define POW(x)   (x*x)
#define PATH_ERROR   0.09
PathPointnewPathPoint (PathPoint *last, float x, float y)
void calc_line (float x1, float y1, float x2, float y2, Line *l)
float calc_dist (Line *l, float x, float y)
int path_simplifier (double *path, int nbpoints, PathPoint *first_point, double *angle)

Functions

void freePathMemory (PathPoint *simple_path)


Detailed Description

Simplify the path calculated by A* algorithm
Author:
Jose Maria Martin Laguna <jmmartin@etud.insa-toulouse.fr>, (C) 2007

Definition in file path_simplifier.c.


Generated on Thu Sep 13 11:28:29 2007 for DCE-Eurobot by  doxygen 1.5.3