PX4 Firmware
PX4 Autopilot Software http://px4.io
calibration_messages.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* Copyright (c) 2013 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
* @file calibration_messages.h
36
*
37
* Common calibration messages.
38
*
39
* @author Anton Babushkin <anton.babushkin@me.com>
40
*/
41
42
#ifndef CALIBRATION_MESSAGES_H_
43
#define CALIBRATION_MESSAGES_H_
44
45
// The calibration message defines which begin with CAL_QGC_ are used by QGroundControl to run a state
46
// machine to provide visual feedback for calibration. As such, the text for them or semantics of when
47
// they are displayed cannot be modified without causing QGC to break. If modifications are made, make
48
// sure to bump the calibration version number which will cause QGC to perform log based calibration
49
// instead of visual calibration until such a time as QGC is update to the new version.
50
51
// The number in the cal started message is used to indicate the version stamp for the current calibration code.
52
#define CAL_QGC_STARTED_MSG "[cal] calibration started: 2 %s"
53
#define CAL_QGC_DONE_MSG "[cal] calibration done: %s"
54
#define CAL_QGC_FAILED_MSG "[cal] calibration failed: %s"
55
// Warnings are deprecated because they were only used when it failed anyway.
56
//#define CAL_QGC_WARNING_MSG "[cal] calibration warning: %s"
57
#define CAL_QGC_CANCELLED_MSG "[cal] calibration cancelled"
58
#define CAL_QGC_PROGRESS_MSG "[cal] progress <%u>"
59
#define CAL_QGC_ORIENTATION_DETECTED_MSG "[cal] %s orientation detected"
60
#define CAL_QGC_SIDE_DONE_MSG "[cal] %s side done, rotate to a different side"
61
62
#define CAL_ERROR_SENSOR_MSG "[cal] calibration failed: reading sensor"
63
#define CAL_ERROR_RESET_CAL_MSG "[cal] calibration failed: to reset, sensor %u"
64
#define CAL_ERROR_APPLY_CAL_MSG "[cal] calibration failed: to apply calibration, sensor %u"
65
#define CAL_ERROR_SET_PARAMS_MSG "[cal] calibration failed: to set parameters, sensor %u"
66
67
#endif
/* CALIBRATION_MESSAGES_H_ */
src
modules
commander
calibration_messages.h
Generated by
1.8.13