Apollo 10.0
自动驾驶开放平台
canbus_gflags.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2017 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
17#pragma once
18
19#include "gflags/gflags.h"
20
21// System gflags
22DECLARE_string(canbus_node_name);
23DECLARE_string(canbus_module_name);
24
25// data file
26DECLARE_string(canbus_conf_file);
27
28// Canbus gflags
29DECLARE_double(chassis_freq);
30
31// cmd input check
32DECLARE_int64(min_cmd_interval);
33DECLARE_int64(pad_msg_delay_interval);
34DECLARE_int32(max_control_miss_num);
35DECLARE_double(control_period);
36DECLARE_int32(max_guardian_miss_num);
37DECLARE_double(guardian_period);
38DECLARE_bool(use_control_cmd_check);
39DECLARE_bool(use_guardian_cmd_check);
40DECLARE_double(estop_brake);
41
42// chassis_detail message publish
43DECLARE_bool(enable_chassis_detail_pub);
44DECLARE_bool(enable_chassis_detail_sender_pub);
45
46// canbus test files
47DECLARE_string(canbus_test_file);
48
49// canbus test files
50DECLARE_bool(receive_guardian);
51
52DECLARE_int32(guardian_cmd_pending_queue_size);
53DECLARE_int32(control_cmd_pending_queue_size);
54DECLARE_int32(chassis_cmd_pending_queue_size);
55
56// enable forward Ultrasonic AEB
57DECLARE_bool(enable_aeb);
58
59// enabel chassis debug mode for such as ignore pad msg timestamp check
60DECLARE_bool(chassis_debug_mode);
61
62// vehicle factory dynamic library path and class name
63DECLARE_string(load_vehicle_library);
64DECLARE_string(load_vehicle_class_name);
DECLARE_int64(min_cmd_interval)
DECLARE_int32(max_control_miss_num)
DECLARE_bool(use_control_cmd_check)
DECLARE_string(canbus_node_name)
DECLARE_double(chassis_freq)