Includes, global vars, funtion prototypes, etc. More...
#include "c_atlasmv.h"#include <pthread.h>#include <strings.h>#include <math.h>#include <queue>#include <vector>#include <atlasmv_base/AtlasmvLightsCommand.h>#include <atlasmv_base/AtlasmvVertSignsCommand.h>#include <atlasmv_base/AtlasmvMotionCommand.h>#include <atlasmv_base/AtlasmvStatus.h>

Go to the source code of this file.
Classes | |
| class | command_queue_priority< cmd_type > |
| struct | t_motion_model |
Macros | |
| #define | _DO_NOT_USE_CARMEN_ 0 |
| #define | _DO_NOT_USE_OPENCV_ 0 |
Functions | |
| void | atlasmv_help (bool debug) |
| writes used flags for help. More... | |
| void | atlasmv_shutdown_module (int x) |
| int | increment_motion_model (t_motion_model *model, double dt) |
| Increments motion model based on the current available information. More... | |
| int | initialize_motion_model (t_motion_model *model, double X0, double Y0, double orientation, double wheelbase) |
| Initialize car motion model. More... | |
| int | main (int argc, char **argv) |
| double | percentage2real_velocity (double percentage) |
| int | update_motion_model (t_motion_model *model, double velocity, double steering_angle) |
| Updates velocity and steering variables. More... | |
Variables | |
| c_atlasmv * | atlasmv |
| TYPE_atlasmv_public_params | atlasmv_details |
| atlasmv_base::AtlasmvLightsCommandPtr | atlasmv_lights |
| atlasmv_base::AtlasmvMotionCommandPtr | atlasmv_motion |
| atlasmv_base::AtlasmvStatusPtr | atlasmv_status |
| atlasmv_base::AtlasmvVertSignsCommandPtr | atlasmv_vert_signs |
| double | brake |
| int | brake_check |
| pthread_mutex_t | brake_check_mutex |
| pthread_mutex_t | brk_mutex = PTHREAD_MUTEX_INITIALIZER |
| pthread_mutex_t | command_mutex = PTHREAD_MUTEX_INITIALIZER |
| command_queue_priority < atlasmv_base::AtlasmvMotionCommandPtr > | command_queue |
| int | count_des_errors |
| pthread_mutex_t | count_des_errors_mutex |
| int | des_iret |
| pthread_t | des_thread |
| int | dioc_iret |
| pthread_mutex_t | dioc_mutex = PTHREAD_MUTEX_INITIALIZER |
| pthread_t | dioc_thread |
| double | dir |
| pthread_mutex_t | dir_mutex = PTHREAD_MUTEX_INITIALIZER |
| t_motion_model | motion_model |
| char | new_command_received |
| TYPE_atlasmv_public_params | params |
| int | servos_iret |
| pthread_t | servos_thread |
| double | speed |
| int | speed_check |
| pthread_mutex_t | speed_check_mutex |
| pthread_mutex_t | speed_mutex = PTHREAD_MUTEX_INITIALIZER |
| c_timer | timer |
Includes, global vars, funtion prototypes, etc.
Definition in file atlasmv.h.
| void atlasmv_help | ( | bool | help | ) |
writes used flags for help.
| help | true if we want to show the help, false if not |
Definition at line 595 of file atlasmv.cpp.
| void atlasmv_shutdown_module | ( | int | x | ) |
| int increment_motion_model | ( | t_motion_model * | model, |
| double | dt | ||
| ) |
Increments motion model based on the current available information.
| model | Motion model to use |
| dt | time lapse since last iteration |
Definition at line 561 of file atlasmv.cpp.
| int initialize_motion_model | ( | t_motion_model * | model, |
| double | X0, | ||
| double | Y0, | ||
| double | orientation, | ||
| double | wheelbase | ||
| ) |
Initialize car motion model.
| model | Motion model to use |
| X0 | initial x position |
| Y0 | initial y position |
| orientation | initial orientation |
| wheelbase | wheelbase of the car |
Definition at line 530 of file atlasmv.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| double percentage2real_velocity | ( | double | percentage | ) |
| int update_motion_model | ( | t_motion_model * | model, |
| double | velocity, | ||
| double | steering_angle | ||
| ) |
Updates velocity and steering variables.
| model | Motion model to use |
| velocity | current velocity |
| steering_angle | current steering angle |
Definition at line 548 of file atlasmv.cpp.
| TYPE_atlasmv_public_params atlasmv_details |
| atlasmv_base::AtlasmvVertSignsCommandPtr atlasmv_vert_signs |
| command_queue_priority<atlasmv_base::AtlasmvMotionCommandPtr> command_queue |
| t_motion_model motion_model |
| TYPE_atlasmv_public_params params |