Apollo 10.0
自动驾驶开放平台
socket_can_monitor.cc 文件参考
#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"
socket_can_monitor.cc 的引用(Include)关系图:

浏览源代码.

命名空间

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()

DEFINE_double ( socket_can_monitor_interval  ,
3  ,
"Socket CAN status checking interval seconds."   
)

◆ DEFINE_string() [1/2]

DEFINE_string ( socket_can_component_name  ,
"SocketCAN"  ,
"Name of the Socket CAN component in SystemStatus."   
)

◆ DEFINE_string() [2/2]

DEFINE_string ( socket_can_monitor_name  ,
"SocketCanMonitor"  ,
"Name of the CAN monitor."   
)