Apollo 10.0
自动驾驶开放平台
sensor_gflags.cc
浏览该文件的文档.
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
18
19// System gflags
20DEFINE_string(node_name, "chassis", "The chassis module name in proto");
21DEFINE_string(canbus_driver_name, "canbus", "Driver name.");
22
23// data file
24DEFINE_string(sensor_conf_file, "", "Sensor conf file");
25
26// Canbus gflags
27DEFINE_double(sensor_freq, 100,
28 "Sensor feedback timer frequency -- 0 means event trigger.");
29
30// System gflags
31DEFINE_string(sensor_node_name, "", "Sensor node name.");
32
33// esd can extended frame gflags
34DEFINE_bool(esd_can_extended_frame, false,
35 "check esd can exdended frame enabled or not");
36
37DEFINE_bool(enable_can_err_check, false,
38 "check the can id err mask");
DEFINE_double(sensor_freq, 100, "Sensor feedback timer frequency -- 0 means event trigger.")
DEFINE_bool(esd_can_extended_frame, false, "check esd can exdended frame enabled or not")
DEFINE_string(node_name, "chassis", "The chassis module name in proto")