aboutsummaryrefslogtreecommitdiff
path: root/gps/etc/apdr.conf
blob: ea2ec52fc57b2ca0e5ad4125d0f0dfe7f7e271d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# AP DR SENSOR Configuration file
#
# SENSOR_SERVICE options are one of below
#   accel,gyro,vehicle_accel,vehicle_gyro,pedometer,vehicle_odometry,accel_temp,
#   gyro_temp,baro,mag_calib,mag_uncalib,amd,rmd.
#
# SENSOR_PROVIDER options is one of -- default,native,ssc,samlite.
#
# SENSOR_RATE = 1~100 (Hz)
#
# SENSOR_SAMPLES = 1~N
#
# SENSOR_STATISTIC_ENABLED
#  bit 0: Diag Print Enabled
#  bit 1: Adb  Print Enabled
# SENSOR_STATISTIC_PRINT_COUNT
#  Skip Number of Print
#
# QDR_DYNAMIC_LOADING = 1~3
# Configure QDR library to be loaded
#   1: QDR3
#   2: QDR2-GYRO
#   3: QDR2-DWT
#
#

######################################
#                                    #
#   QDR3 Configuration               #
#                                    #
# For QDR3,                          #
# comment default configuration above#
# and                                #
# uncomment below configuration      #
# settings.                          #
#                                    #
######################################
#
SENSOR_SERVICE = accel
SENSOR_PROVIDER = native
SENSOR_RATE = 10
SENSOR_SAMPLES = 10
#
SENSOR_SERVICE = vehicle_speed
SENSOR_PROVIDER = native
SENSOR_RATE = 100
SENSOR_SAMPLES = 1
#
SENSOR_SERVICE = gyro
SENSOR_PROVIDER = native
SENSOR_RATE = 10
SENSOR_SAMPLES = 10
#
SENSOR_SERVICE = vehicle_gear
SENSOR_PROVIDER = native
SENSOR_RATE = 100
SENSOR_SAMPLES = 1
#
SENSOR_SERVICE = accel_temp
SENSOR_PROVIDER = native
SENSOR_RATE = 1
SENSOR_SAMPLES = 1
#
#
##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS
QDR_DYNAMIC_LOADING = 1
##Specify CAN sensor type: Valid Options: 14(ODO), 2(ODO_DWT), 3(ODO_DWS)
QDR_CAN_TYPE = 14
##Reporting offset before PPS boundary
QDR_REPORTING_OFFSET = 20
#

##Vehicle Sensor Configuration (CAN data availability)
##QDR_VEH_SENSOR_CONFIG:
##   0: VEHICLE_SENSOR_PRESENT  - Vehicle Sensor is available (DEFAULT)
##   1: VEHICLE_SENSOR_OPTIONAL - Vehicle Sensor may or may not be present.
#QDR_VEH_SENSOR_CONFIG = 0

##Select Wheel set (E.g.: Front two wheels, Rear two wheels OR All four wheels)
##To be used for differential wheel tick OR speed service.
##This configuration is applicable when QDR_CAN_TYPE configured as
##ODO_DWS(3) or ODO_DWT(2).
##Value "0": Use Front two wheels
##Value "1": Use Rear two wheels
##Value "2": Use All four wheels
#QG_DRIVE_WHEEL_FW_RW_AW = 2
##Max Wheel tick value above which wheel tick rolls over
##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2)
#QG_DWT_MAX_WHEEL_TICK_COUNT = 255.0
##Configure Wheel constant for DWT based below equation
##(2 * pi * WHEEL_RADIUS / Pulses Per revolution)
##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2)
#QG_DWT_WHEEL_CONSTANT = 0.044
#

######################################
#                                    #
#   QDR2-DWT Configuration           #
#                                    #
# For QDR2-DWT,                      #
# comment default configuration above#
# and                                #
# uncomment below configuration      #
# settings.                          #
#                                    #
######################################
#
#SENSOR_SERVICE = vehicle_speed
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#SENSOR_STATISTIC_ENABLED = 3
#SENSOR_STATISTIC_PRINT_COUNT = 50
#
#SENSOR_SERVICE = vehicle_dws
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#SENSOR_STATISTIC_ENABLED = 3
#SENSOR_STATISTIC_PRINT_COUNT = 50
#
#SENSOR_SERVICE = vehicle_gear
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#SENSOR_STATISTIC_ENABLED = 3
#SENSOR_STATISTIC_PRINT_COUNT = 50
#
#GNSS_POS_STATISTIC_ENABLED = 3
#GNSS_POS_STATISTIC_PRNTCNT = 10
#GNSS_MSR_STATISTIC_ENABLED = 3
#GNSS_MSR_STATISTIC_PRNTCNT = 10
#
##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS
#QDR_DYNAMIC_LOADING = 3
##Enable/disable sensor data flashback feature
#QDR_FLASHBACK_ENABLED = 0
##Enable/disable sensor data batching feature
#QDR_BATCHING_ENABLED = 0
##Reporting offset before PPS boundary
#QDR_REPORTING_OFFSET = 20
##Sensor dispatch threshold declaration
#QDR_SENSDISPATCH_MS = 30


######################################
#                                    #
#   QDR2-GYRO Configuration          #
#                                    #
# For QDR2-GYRO,                     #
# comment default configuration above#
# and                                #
# uncomment below configuration      #
# settings.                          #
#                                    #
######################################
#
#SENSOR_SERVICE = vehicle_speed
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#
#SENSOR_SERVICE = vehicle_gyro
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#
#SENSOR_SERVICE = vehicle_gear
#SENSOR_PROVIDER = native
#SENSOR_RATE = 100
#SENSOR_SAMPLES = 1
#
##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS
#QDR_DYNAMIC_LOADING = 2
##Enable/disable sensor data flashback feature
#QDR_FLASHBACK_ENABLED = 0
##Enable/disable sensor data batching feature
#QDR_BATCHING_ENABLED = 0
##Reporting offset before PPS boundary
#QDR_REPORTING_OFFSET = 20
##Sensor dispatch threshold declaration
#QDR_SENSDISPATCH_MS = 30
#