PX4 Firmware
PX4 Autopilot Software http://px4.io
parameters.c
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* Copyright (c) 2017 PX4 Development Team. All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
7
* are met:
8
*
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in
13
* the documentation and/or other materials provided with the
14
* distribution.
15
* 3. Neither the name PX4 nor the names of its contributors may be
16
* used to endorse or promote products derived from this software
17
* without specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
* POSSIBILITY OF SUCH DAMAGE.
31
*
32
****************************************************************************/
33
34
35
/**
36
* Enable Mappydot rangefinder (i2c)
37
*
38
* @reboot_required true
39
* @min 0
40
* @max 1
41
* @group Sensors
42
* @value 0 Disabled
43
* @value 1 Autodetect
44
*/
45
PARAM_DEFINE_INT32
(SENS_EN_MPDT, 0);
46
47
/**
48
* MappyDot Sensor 0 Rotation
49
*
50
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
51
*
52
* @reboot_required true
53
* @min 0
54
* @max 7
55
* @group Sensors
56
*
57
* @value 0 No rotation
58
* @value 1 Yaw 45°
59
* @value 2 Yaw 90°
60
* @value 3 Yaw 135°
61
* @value 4 Yaw 180°
62
* @value 5 Yaw 225°
63
* @value 6 Yaw 270°
64
* @value 7 Yaw 315°
65
*/
66
PARAM_DEFINE_INT32
(SENS_MPDT0_ROT, 0);
67
68
/**
69
* MappyDot Sensor 1 Rotation
70
*
71
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
72
*
73
* @reboot_required true
74
* @min 0
75
* @max 7
76
* @group Sensors
77
*
78
* @value 0 No rotation
79
* @value 1 Yaw 45°
80
* @value 2 Yaw 90°
81
* @value 3 Yaw 135°
82
* @value 4 Yaw 180°
83
* @value 5 Yaw 225°
84
* @value 6 Yaw 270°
85
* @value 7 Yaw 315°
86
*/
87
PARAM_DEFINE_INT32
(SENS_MPDT1_ROT, 0);
88
89
/**
90
* MappyDot Sensor 2 Rotation
91
*
92
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
93
*
94
* @reboot_required true
95
* @min 0
96
* @max 7
97
* @group Sensors
98
*
99
* @value 0 No rotation
100
* @value 1 Yaw 45°
101
* @value 2 Yaw 90°
102
* @value 3 Yaw 135°
103
* @value 4 Yaw 180°
104
* @value 5 Yaw 225°
105
* @value 6 Yaw 270°
106
* @value 7 Yaw 315°
107
*/
108
PARAM_DEFINE_INT32
(SENS_MPDT2_ROT, 0);
109
110
/**
111
* MappyDot Sensor 3 Rotation
112
*
113
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
114
*
115
* @reboot_required true
116
* @min 0
117
* @max 7
118
* @group Sensors
119
*
120
* @value 0 No rotation
121
* @value 1 Yaw 45°
122
* @value 2 Yaw 90°
123
* @value 3 Yaw 135°
124
* @value 4 Yaw 180°
125
* @value 5 Yaw 225°
126
* @value 6 Yaw 270°
127
* @value 7 Yaw 315°
128
*/
129
PARAM_DEFINE_INT32
(SENS_MPDT3_ROT, 0);
130
131
/**
132
* MappyDot Sensor 4 Rotation
133
*
134
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
135
*
136
* @reboot_required true
137
* @min 0
138
* @max 7
139
* @group Sensors
140
*
141
* @value 0 No rotation
142
* @value 1 Yaw 45°
143
* @value 2 Yaw 90°
144
* @value 3 Yaw 135°
145
* @value 4 Yaw 180°
146
* @value 5 Yaw 225°
147
* @value 6 Yaw 270°
148
* @value 7 Yaw 315°
149
*/
150
PARAM_DEFINE_INT32
(SENS_MPDT4_ROT, 0);
151
152
/**
153
* MappyDot Sensor 5 Rotation
154
*
155
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
156
*
157
* @reboot_required true
158
* @min 0
159
* @max 7
160
* @group Sensors
161
*
162
* @value 0 No rotation
163
* @value 1 Yaw 45°
164
* @value 2 Yaw 90°
165
* @value 3 Yaw 135°
166
* @value 4 Yaw 180°
167
* @value 5 Yaw 225°
168
* @value 6 Yaw 270°
169
* @value 7 Yaw 315°
170
*/
171
PARAM_DEFINE_INT32
(SENS_MPDT5_ROT, 0);
172
173
/**
174
* MappyDot Sensor 6 Rotation
175
*
176
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
177
*
178
* @reboot_required true
179
* @min 0
180
* @max 7
181
* @group Sensors
182
*
183
* @value 0 No rotation
184
* @value 1 Yaw 45°
185
* @value 2 Yaw 90°
186
* @value 3 Yaw 135°
187
* @value 4 Yaw 180°
188
* @value 5 Yaw 225°
189
* @value 6 Yaw 270°
190
* @value 7 Yaw 315°
191
*/
192
PARAM_DEFINE_INT32
(SENS_MPDT6_ROT, 0);
193
194
/**
195
* MappyDot Sensor 7 Rotation
196
*
197
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
198
*
199
* @reboot_required true
200
* @min 0
201
* @max 7
202
* @group Sensors
203
*
204
* @value 0 No rotation
205
* @value 1 Yaw 45°
206
* @value 2 Yaw 90°
207
* @value 3 Yaw 135°
208
* @value 4 Yaw 180°
209
* @value 5 Yaw 225°
210
* @value 6 Yaw 270°
211
* @value 7 Yaw 315°
212
*/
213
PARAM_DEFINE_INT32
(SENS_MPDT7_ROT, 0);
214
215
/**
216
* MappyDot Sensor 8 Rotation
217
*
218
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
219
*
220
* @reboot_required true
221
* @min 0
222
* @max 7
223
* @group Sensors
224
*
225
* @value 0 No rotation
226
* @value 1 Yaw 45°
227
* @value 2 Yaw 90°
228
* @value 3 Yaw 135°
229
* @value 4 Yaw 180°
230
* @value 5 Yaw 225°
231
* @value 6 Yaw 270°
232
* @value 7 Yaw 315°
233
*/
234
PARAM_DEFINE_INT32
(SENS_MPDT8_ROT, 0);
235
236
/**
237
* MappyDot Sensor 9 Rotation
238
*
239
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
240
*
241
* @reboot_required true
242
* @min 0
243
* @max 7
244
* @group Sensors
245
*
246
* @value 0 No rotation
247
* @value 1 Yaw 45°
248
* @value 2 Yaw 90°
249
* @value 3 Yaw 135°
250
* @value 4 Yaw 180°
251
* @value 5 Yaw 225°
252
* @value 6 Yaw 270°
253
* @value 7 Yaw 315°
254
*/
255
PARAM_DEFINE_INT32
(SENS_MPDT9_ROT, 0);
256
257
/**
258
* MappyDot Sensor 10 Rotation
259
*
260
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
261
*
262
* @reboot_required true
263
* @min 0
264
* @max 7
265
* @group Sensors
266
*
267
* @value 0 No rotation
268
* @value 1 Yaw 45°
269
* @value 2 Yaw 90°
270
* @value 3 Yaw 135°
271
* @value 4 Yaw 180°
272
* @value 5 Yaw 225°
273
* @value 6 Yaw 270°
274
* @value 7 Yaw 315°
275
*/
276
PARAM_DEFINE_INT32
(SENS_MPDT10_ROT, 0);
277
278
/**
279
* MappyDot Sensor 12 Rotation
280
*
281
* This parameter defines the rotation of the Mappydot sensor relative to the platform.
282
*
283
* @reboot_required true
284
* @min 0
285
* @max 7
286
* @group Sensors
287
*
288
* @value 0 No rotation
289
* @value 1 Yaw 45°
290
* @value 2 Yaw 90°
291
* @value 3 Yaw 135°
292
* @value 4 Yaw 180°
293
* @value 5 Yaw 225°
294
* @value 6 Yaw 270°
295
* @value 7 Yaw 315°
296
*/
297
PARAM_DEFINE_INT32
(SENS_MPDT11_ROT, 0);
PARAM_DEFINE_INT32
PARAM_DEFINE_INT32(SENS_EN_BATT, 0)
SMBUS Smart battery driver (BQ40Z50)
src
drivers
distance_sensor
mappydot
parameters.c
Generated by
1.8.13