WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
flighterrors.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX LLC 2024. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, LLC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, LLC.
15******************************************************************************/
16/*
17Errors for Flight Software
18--------------------------
19Errors for flight software begin at 500 and go up from there.
20
21Author: Alex Reynolds
22*/
23
24#ifndef FLIGHT_FLIGHTERRORS_H
25#define FLIGHT_FLIGHTERRORS_H
26
31#define ERROR_INVALID_COMMAND 500
32
34#define WARN_INVALID_CRC -501
35
37#define ERROR_PKT_NOT_REGISTERED 502
38
40#define WARN_PKT_ALREADY_REGISTERED -503
41
43#define ERROR_PKT_TABLE_FULL 504
44
46#define WARN_PKT_INVALID_SIZE -505
47
49#define ERROR_CMD_EXECUTION_FAIL 506
50
52#define WARN_INVALID_HEADER -507
53
55#define WARN_INVALID_FOOTER -508
56
58#define WARN_STALE_DATA -509
59
61#define WARN_OUTLIER_DATA -510
62
64#define ERROR_INVALID_PKT_TIME 511
65
67#define WARN_INVALID_FLETCH_CHKSUM -512
68
70#define ERROR_INVALID_PRIORITY 513
71
76#define ERROR_FAILED_HW_READ 600
77
79#define ERROR_FAILED_HW_WRITE 601
80
82#define WARN_SENSOR_READ_FAIL -602
83
85#define WARN_INCORRECT_SENSOR_ID -603
86
88#define WARN_SELF_TEST_FAIL -604
89
91#define WARN_CMD_RESPONSE_FAIL -605
92
94#define WARN_CMD_ACK_ERROR -606
95
97#define WARN_INVALID_RANGE -607
98
100#define ERROR_SENS_PWR_MD_FAIL 608
101
103#define ERROR_ODR_SET_FAIL 609
104
106#define ERROR_SENS_INIT_FAIL 610
107
109#define WARN_INCORRECT_RESPONSE_LEN -611
110
112#define ERROR_FAILED_HW_INIT 612
113
115#define WARN_SENS_INV_INPUT -613
116
118#define WARN_INCOMPLETE_READ -614
119
120
125#define WARN_STALE_MEASUREMENT -700
126
129#define WARN_INERTIAL_NAV_INVALID_MEAS -701
130
132#define WARN_PARAM_INVALID_RANGE -702
133
135#define ERROR_NO_MEASUREMENT_UPDATE 703
136
141#define WARN_APP_ALREADY_REGISTERED -575
142
144#define ERROR_APPS_FULL 576
145
147#define ERROR_APP_NOT_FOUND 577
148
150#define WARN_SCH_WAIT_FOR_INIT -578
151
166
167#endif
log_level_e
Log level enumerations.
Definition flighterrors.h:159
@ LOG_ERROR
No output at all.
Definition flighterrors.h:161
@ LOG_INFO
Definition flighterrors.h:163
@ LOG_NONE
Definition flighterrors.h:160
@ LOG_WARNING
Output in almost all cases.
Definition flighterrors.h:162
@ LOG_DEBUG
Definition flighterrors.h:164