Apollo 10.0
自动驾驶开放平台
sim_control_gflags.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 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
19DEFINE_string(sim_control_module_name, "sim_control", "Module name");
20
21DEFINE_string(dynamic_model_name, "perfect_control",
22 "the name for the selected model");
23
24DEFINE_string(calibration_conf_file,
25 "sim_control_lincoln.pb.txt",
26 "the name for the selected model");
27
28DEFINE_string(fnn_model_path, "sim_control/conf/fnn_model.bin",
29 "fnn model file path");
30
31DEFINE_string(backward_fnn_model_path,
32 "sim_control/conf/fnn_model_backward.bin",
33 "fnn model file path for reverse driving");
34
35DEFINE_string(echo_lincoln_conf_file,
36 "sim_control/conf/echo_lincoln_conf.pb.txt",
37 "echo lincoln conf file path");
38
39DEFINE_int32(reader_pending_queue_size, 10, "Cyber Reader pending queue size.");
40
41// echosim model
42DEFINE_string(echosim_license_file, "sim_control/conf/echosim.lic",
43 "echo lincoln license file");
44DEFINE_string(echosim_parameters_file, "sim_control/conf/echosim_lincoln.par",
45 "echo lincoln vehicle parameter file");
46DEFINE_double(echosim_simulation_step, 0.001, "echosim simulation step");
47// DEFINE_double(dynamics_echosim_friction_coefficient, 0.85,
48// "ground friction coefficient");
49
50DEFINE_bool(echo_lincoln_switch_model, false,
51 "switch to point mass model at forward low speed");
52
53DEFINE_bool(enable_steering_latency, false, "add steering latecy to control");
54
55DEFINE_bool(enable_backward_fnn_model, true,
56 "switch to add backward fnn model");
57
58DEFINE_bool(enable_sim_at_nonauto_mode, true,
59 "enable the simulation even before starting auto");
60
61// cascade model
62DEFINE_string(torch_gp_model_file,
63 "sim_control/conf/LiteTrans-20201023-1043/gp_model.pt",
64 "Gaussian process regression model file");
65
66DEFINE_bool(use_cuda_in_cascade_model, false, "use CUDA for torch.");
67
69 cascade_model_conf_file,
70 "sim_control/conf/LiteTrans-20201023-1043/standardization_factors.bin",
71 "cascade model conf file path");
DEFINE_string(sim_control_module_name, "sim_control", "Module name")
DEFINE_bool(echo_lincoln_switch_model, false, "switch to point mass model at forward low speed")
DEFINE_double(echosim_simulation_step, 0.001, "echosim simulation step")
DEFINE_int32(reader_pending_queue_size, 10, "Cyber Reader pending queue size.")