Apollo 10.0
自动驾驶开放平台
const_vars.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
19namespace apollo {
20namespace drivers {
21namespace conti_radar {
22
23const int CONTIID_START = 0x600;
24const int CONTIID_END = 0x702;
25const int WAIT_TIME = 4000;
26
27// Try this many times when receiving using bcan, by default.
28const int BCAN_RECV_TRIES = 4;
29
30const int RADAR_CONFIG = 0x200;
31const int RADAR_STATE = 0x201;
32
33const int CAN_BUFFER_NUM = 20;
34const int CANBYTE = 13;
35const int ETHER_WAIT = 5000000;
36const int DISCONNECT_WAIT = 5;
37
38// cluster quality
39
40const double LINEAR_RMS[32] = {0.005, 0.006, 0.008, 0.011, 0.014, 0.018, 0.023,
41 0.029, 0.038, 0.049, 0.063, 0.081, 0.105, 0.135,
42 0.174, 0.224, 0.288, 0.371, 0.478, 0.616, 0.794,
43 1.023, 1.317, 1.697, 2.187, 2.817, 3.630, 4.676,
44 6.025, 7.762, 10.000, 100.00};
45
46const double ANGLE_RMS[32] = {
47 0.005, 0.007, 0.010, 0.014, 0.020, 0.029, 0.041, 0.058,
48 0.082, 0.116, 0.165, 0.234, 0.332, 0.471, 0.669, 0.949,
49 1.346, 1.909, 2.709, 3.843, 5.451, 7.734, 10.971, 15.565,
50 22.061, 31.325, 44.439, 63.044, 69.437, 126.881, 180.000, 360.00};
51
52const double PROBOFEXIST[8] = {0.00, 0.25, 0.5, 0.75, 0.90, 0.99, 0.999, 1.0};
53
54const double CLUSTER_DIST_RES = 0.2;
55const double CLUSTER_DIST_LONG_MIN = -500;
56const double CLUSTER_DIST_LAT_MIN = -102.3;
57const double CLUSTER_VREL_RES = 0.25;
58const double CLUSTER_VREL_LONG_MIN = -128.0;
59const double CLUSTER_VREL_LAT_MIN = -64.0;
60const double CLUSTER_RCS_RES = 0.5;
61const double CLUSTER_RCS = -64.0;
62
63// Object general information
64const double OBJECT_DIST_RES = 0.2;
65const double OBJECT_DIST_LONG_MIN = -500;
66const double OBJECT_DIST_LAT_MIN = -204.6;
67const double OBJECT_VREL_RES = 0.25;
68const double OBJECT_VREL_LONG_MIN = -128.0;
69const double OBJECT_VREL_LAT_MIN = -64.0;
70const double OBJECT_RCS_RES = 0.5;
71const double OBJECT_RCS_MIN = -64.0;
72
73// Object extended information
74const double OBJECT_AREL_RES = 0.01;
75const double OBJECT_AREL_LONG_MIN = -10.0;
76const double OBJECT_AREL_LAT_MIN = -2.5;
77const double OBJECT_ORIENTATION_ANGEL_MIN = -180.0;
79const double OBJECT_WIDTH_RES = 0.2;
80const double OBJECT_LENGTH_RES = 0.2;
81
82} // namespace conti_radar
83} // namespace drivers
84} // namespace apollo
const double OBJECT_VREL_LONG_MIN
Definition const_vars.h:68
const double OBJECT_AREL_LONG_MIN
Definition const_vars.h:75
const double OBJECT_ORIENTATION_ANGEL_MIN
Definition const_vars.h:77
const double OBJECT_AREL_LAT_MIN
Definition const_vars.h:76
const double CLUSTER_DIST_LAT_MIN
Definition const_vars.h:56
const double CLUSTER_VREL_LONG_MIN
Definition const_vars.h:58
const double OBJECT_DIST_LONG_MIN
Definition const_vars.h:65
const double OBJECT_DIST_LAT_MIN
Definition const_vars.h:66
const double CLUSTER_DIST_LONG_MIN
Definition const_vars.h:55
const double OBJECT_ORIENTATION_ANGEL_RES
Definition const_vars.h:78
const double ANGLE_RMS[32]
Definition const_vars.h:46
const double OBJECT_VREL_LAT_MIN
Definition const_vars.h:69
const double CLUSTER_VREL_LAT_MIN
Definition const_vars.h:59
const double PROBOFEXIST[8]
Definition const_vars.h:52
const double LINEAR_RMS[32]
Definition const_vars.h:40
class register implement
Definition arena_queue.h:37