nsof.cpp File Reference

nsof.cpp file for this module. This is where main is defined and etc. More...

#include <nsof.h>
Include dependency graph for nsof.cpp:

Functions

int main (int argc, char **argv)
void potkf_data_handler (void)
int set_robot_lights (int right, int left, int head, int tail, int reverse)
bool safety_control (potkf_data_message *potkf_data)
bool check_object (potkf_data_message *potkf_data, unsigned int id)
void draw_tracked_obstacle (potkf_data_message *potkf_data, unsigned int id)
void drawarrow (int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness, int line_type, int shift)
 Set a new point based on the angle and a distance from the previous.
double calculate_speed (potkf_data_message *potkf_data, unsigned int id)
double point2point_distance (double xi, double yi, double xf, double yf)
double calculate_dir (potkf_data_message *potkf_data, unsigned int id)
void extract_object_center (potkf_data_message *potkf_data, unsigned int id, CvPoint *Object)
double saturate (double value, double max)
void get_mean (TYPE_circular_vector *vector, CvPoint *mean)
void init_vector (TYPE_circular_vector *vector, int size)
void clean_vector (TYPE_circular_vector *vector)
void add_to_vector (TYPE_circular_vector *vector, CvPoint *point)
void shutdown_module (int x)
 makes a clean shutdown of the program

Detailed Description

nsof.cpp file for this module. This is where main is defined and etc.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3