#include "pcan_pci.H"#include "data_queue.H"#include "data_logger.H"#include "queue_factory.H"#include "cbmesg_logger.H"#include "util.H"#include "conf.H"#include "cb_time.H"#include <iostream>#include <cerrno>#include <sys/poll.h>#include <cmath>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <signal.h>#include <string.h>#include <fcntl.h>Classes | |
| class | pcan_observer_t |
Defines | |
| #define | D2R (M_PI / 180.0) |
| #define | EMC_INTERVAL .039 |
| #define | ITERIS_INTERVAL .039 |
| #define | IBEO_INTERVAL .030 |
Functions | |
| void | sig_handler (int sig) |
| bool | read_conf (conf_t &conf_) |
| int | main (int argc, char **argv) |
Variables | |
| unsigned | steering_min |
| unsigned | steering_max |
| unsigned | throttle_min |
| unsigned | throttle_max |
| double | min_wheel_angle |
| double | max_wheel_angle |
| char const * | progname |
| cbmesg_logger_t | msg_logger |
| #define D2R (M_PI / 180.0) |
| #define EMC_INTERVAL .039 |
Referenced by main().
| #define IBEO_INTERVAL .030 |
Referenced by main().
| #define ITERIS_INTERVAL .039 |
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
References die, EMC_INTERVAL, cajun::pcan_pci_t::handle_input(), IBEO_INTERVAL, ITERIS_INTERVAL, msg_logger, progname, pcan_observer_t::provide_emc_data(), pcan_observer_t::provide_iteris_lane_data(), pcan_observer_t::publish_emc_data(), read_conf(), cajun::pcan_pci_t::register_observer(), cajun::pcan_pci_t::send_data_to_ibeo(), cajun::pcan_pci_t::send_data_to_iteris(), and sig_handler().
| bool read_conf | ( | conf_t & | conf_ | ) |
References D2R, max_wheel_angle, min_wheel_angle, steering_max, steering_min, throttle_max, and throttle_min.
| void sig_handler | ( | int | sig | ) |
References die.
| double max_wheel_angle |
| double min_wheel_angle |
| cbmesg_logger_t msg_logger |
| char const* progname |
| unsigned steering_max |
| unsigned steering_min |
| unsigned throttle_max |
| unsigned throttle_min |
1.6.1