Data Structures |
| struct | TYPE_flg |
| struct | TYPE_pts |
| struct | TYPE_intr |
| struct | TYPE_normal |
| struct | TYPE_traj |
| struct | TYPE_params |
| struct | TYPE_atractorpts |
Defines |
| #define | DONT_INTERSECT 0 |
| #define | DO_INTERSECT 1 |
| #define | COLLINEAR 2 |
| #define | SAME_SIGNS(a, b) (((long) ((unsigned long) a ^ (unsigned long) b)) >= 0 ) |
| #define | WINDOW_POSITION_X 308 |
| #define | WINDOW_POSITION_Y 0 |
| #define | macro_max(a, b) ((a)>=(b) ? (a) : (b)) |
Functions |
| int | lines_intersect (long x1, long y1, long x2, long y2, long x3, long y3, long x4, long y4, long *x, long *y) |
| void | road_msg_received_handler (void) |
| void | heartbeat_handler (void) |
| void | check_command (int argc, char **argv) |
| void | shutdown_module (int x) |
| | makes a clean shutdown of the program
|
| void | drawarrow (int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness=1, int line_type=8, int shift=0) |
| void | generate_atractor_pts (void) |
| void | generate_trajectories (void) |
| void | calculate_traj_distance_to_atractor_pts (void) |
| void | calculate_traj_distance_to_repulsor_pts (void) |
| void | calculate_traj_intr_laserobstacles (void) |
| void | calculate_traj_intr_lanemarkers (void) |
| | calculate traj intersection with lane markers
|
| void | calculate_freespace_laserobstacles (void) |
| void | calculate_freespace_lanemarkers (void) |
| int | score_trajectories (void) |
| void | drawtrajectories (void) |
| void | relocate_atractor_pts (void) |
Variables |
| TYPE_traj | traj [30] |
| TYPE_params | params |
| TYPE_flg | flg |
| IplImage * | traj_img [30] |
| IplImage * | info |
| TYPE_motionparams2 | mparams |
| TYPE_internalparams2 | iparams |
| TYPE_atractorpts | apts |
| c_timer | timer |
| CvVideoWriter * | vid |
| ipm_data_message * | sensordata |
| IplImage * | image |
| IplImage * | sfimage |
| potkf_data_message | laserobstacle_msg |
| twolaneroad_message | road_msg |
| char | atractor_pts_relocated |
| int | max_central_dist_avg_index |
| int | max_central_difo_avg_index |
| int | max_central_final_index |
| int | max_final_index |
| TYPE_ipm_expert_params | birdviewparams |
| CvFont | BigFont |
| CvFont | Font |
| CvFont | smallFont |
| char | sensorfusion_heartbeat |
| char | str [255] |
| TYPE_DrivingDirectives | dd |
| mptn2d_follow_obstacle_message | follow_msg |