PX4 Firmware
PX4 Autopilot Software http://px4.io
params.c
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * Copyright (c) 2016 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  * Dump GPS communication to a file.
36  *
37  * If this is set to 1, all GPS communication data will be published via uORB,
38  * and written to the log file as gps_dump message.
39  * @min 0
40  * @max 1
41  * @value 0 Disable
42  * @value 1 Enable
43  * @group GPS
44  */
45 PARAM_DEFINE_INT32(GPS_DUMP_COMM, 0);
46 
47 /**
48  * u-blox GPS dynamic platform model
49  *
50  * u-blox receivers support different dynamic platform models to adjust the navigation engine to
51  * the expected application environment.
52  *
53  * @min 0
54  * @max 9
55  * @value 2 stationary
56  * @value 4 automotive
57  * @value 6 airborne with <1g acceleration
58  * @value 7 airborne with <2g acceleration
59  * @value 8 airborne with <4g acceleration
60  *
61  * @reboot_required true
62  *
63  * @group GPS
64  */
65 PARAM_DEFINE_INT32(GPS_UBX_DYNMODEL, 7);
66 
67 
68 /**
69  * Heading/Yaw offset for dual antenna GPS
70  *
71  * Heading offset angle for dual antenna GPS setups that support heading estimation.
72  * (currently only for the Trimble MB-Two).
73  *
74  * Set this to 0 if the antennas are parallel to the forward-facing direction of the vehicle and the first antenna is in
75  * front. The offset angle increases counterclockwise.
76  *
77  * Set this to 90 if the first antenna is placed on the right side and the second on the left side of the vehicle.
78  *
79  * @min 0
80  * @max 360
81  * @unit deg
82  * @reboot_required true
83  * @decimal 0
84  *
85  * @group GPS
86  */
87 PARAM_DEFINE_FLOAT(GPS_YAW_OFFSET, 0.f);
88 
PARAM_DEFINE_INT32(GPS_DUMP_COMM, 0)
Dump GPS communication to a file.
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
Definition: integration.cpp:8
PARAM_DEFINE_FLOAT(GPS_YAW_OFFSET, 0.f)
Heading/Yaw offset for dual antenna GPS.