nsof.h file for this module. Includes, global vars, funtion prototypes, etc. More...
#include <lar/lar.h>
Data Structures | |
struct | TYPE_circular_vector |
Defines | |
#define | ON 1 |
#define | OFF 0 |
#define | ESCAPE_MIN_DIR 40 |
#define | DESIRED_DISTANCE 0.6 |
#define | MIN_AUTO_TRACK_DISTANCE 0.6 |
Functions | |
int | main (int argc, char **argv) |
void | shutdown_module (int x) |
makes a clean shutdown of the program | |
void | potkf_data_handler (void) |
double | saturate (double value, double max) |
bool | check_object (potkf_data_message *potkf_data, unsigned int id) |
void | extract_object_center (potkf_data_message *potkf_data, unsigned int id, CvPoint *Object) |
double | calculate_dir (potkf_data_message *potkf_data, unsigned int id) |
double | calculate_speed (potkf_data_message *potkf_data, unsigned int id) |
double | point2point_distance (double xi, double yi, double xf, double yf) |
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. | |
void | get_mean (TYPE_circular_vector *vector, CvPoint *mean) |
void | init_vector (TYPE_circular_vector *vector, int size) |
void | add_to_vector (TYPE_circular_vector *vector, CvPoint *point) |
void | clean_vector (TYPE_circular_vector *vector) |
void | draw_tracked_obstacle (potkf_data_message *potkf_data, unsigned int id) |
bool | safety_control (potkf_data_message *potkf_data) |
Variables | |
TYPE_executionflags | flags |
Include the interface. | |
potkf_data_message | potkf_message |
robot_motion_command_message | motion_message |
robot_lights_command_message | robot_lights_command |
soundplayer_command_message | soundplayer |
TYPE_circular_vector | object_position |
bool | ret |
unsigned int | tracked_id |
double | speed |
double | dir |
double | max_speed = 70 |
bool | TRACKING = FALSE |
bool | autotrack_enable = TRUE |
TYPE_ipm_expert_params | ipm_params |
int | IPM_WIDTH |
int | IPM_HEIGHT |
IplImage * | nsof = NULL |
CvFont | font |
CvFont | efont |
nsof.h file for this module. Includes, global vars, funtion prototypes, etc.