|
Apollo 10.0
自动驾驶开放平台
|
#include "modules/monitor/hardware/socket_can_monitor.h"#include <linux/can.h>#include <linux/can/raw.h>#include <net/if.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <sys/types.h>#include <unistd.h>#include <string>#include "cyber/common/file.h"#include "cyber/common/log.h"#include "modules/common/util/map_util.h"#include "modules/monitor/common/monitor_manager.h"#include "modules/monitor/software/summary_monitor.h"命名空间 | |
| namespace | apollo |
| class register implement | |
| namespace | apollo::monitor |
| apollo::monitor | |
函数 | |
| DEFINE_string (socket_can_monitor_name, "SocketCanMonitor", "Name of the CAN monitor.") | |
| DEFINE_double (socket_can_monitor_interval, 3, "Socket CAN status checking interval seconds.") | |
| DEFINE_string (socket_can_component_name, "SocketCAN", "Name of the Socket CAN component in SystemStatus.") | |
| DEFINE_double | ( | socket_can_monitor_interval | , |
| 3 | , | ||
| "Socket CAN status checking interval seconds." | |||
| ) |
| DEFINE_string | ( | socket_can_component_name | , |
| "SocketCAN" | , | ||
| "Name of the Socket CAN component in SystemStatus." | |||
| ) |
| DEFINE_string | ( | socket_can_monitor_name | , |
| "SocketCanMonitor" | , | ||
| "Name of the CAN monitor." | |||
| ) |