#include "aevit.H"#include "aevit_frame.H"#include "serial_io.H"#include "data_queue.H"#include "data_logger.H"#include "queue_factory.H"#include "cbmesg_logger.H"#include "util.H"#include "conf.H"#include <cerrno>#include <csignal>#include <iostream>#include <libgen.h>#include <unistd.h>#include <sys/poll.h>#include <cmath>Classes | |
| class | aevit_observer_t |
Defines | |
| #define | D2R (M_PI / 180.0) |
Functions | |
| void | sig_handler (int sig) |
| bool | read_conf (conf_t &conf_) |
| bool | reset_device (int fd) |
| int | main (int argc, char **argv) |
Variables | |
| cbmesg_logger_t | msg_logger |
| unsigned | steering_min |
| unsigned | steering_max |
| unsigned | throttle_min |
| unsigned | throttle_max |
| double | min_wheel_angle |
| double | max_wheel_angle |
| #define D2R (M_PI / 180.0) |
Referenced by cajun::cnav_t::decode_gga(), cajun::compass_t::decode_hpr(), cajun::cnav_t::decode_vtg(), and read_conf().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
| bool read_conf | ( | conf_t & | conf_ | ) |
References D2R, max_wheel_angle, min_wheel_angle, steering_max, steering_min, throttle_max, and throttle_min.
| bool reset_device | ( | int | fd | ) |
Referenced by main().
| void sig_handler | ( | int | sig | ) |
References die.
| double max_wheel_angle |
Referenced by pcan_observer_t::map_to_steering_anlge(), aevit_observer_t::map_to_steering_anlge(), and read_conf().
| double min_wheel_angle |
Referenced by pcan_observer_t::map_to_steering_anlge(), aevit_observer_t::map_to_steering_anlge(), and read_conf().
| cbmesg_logger_t msg_logger |
| unsigned steering_max |
| unsigned steering_min |
| unsigned throttle_max |
Referenced by main(), pcan_observer_t::map_to_throttle(), aevit_observer_t::map_to_throttle(), and read_conf().
| unsigned throttle_min |
Referenced by main(), pcan_observer_t::map_to_throttle(), aevit_observer_t::map_to_throttle(), and read_conf().
1.6.1