Welcome to Multi-Rotor UK. Please login or sign up.

Thursday,April 25, 2024, 20:08:22

Login with username, password and session length

Shoutbox

Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Members
  • Total Members: 8,195
  • Latest: lokloks
Stats
  • Total Posts: 201,427
  • Total Topics: 20,261
  • Online today: 31
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 21
Total: 21

Theme Changer





3d - Printworx

APM Error and Event Codes

Started by Tango21Delta, Thursday,May 02, 2013, 21:28:39

Previous topic - Next topic

Tango21Delta

Not sure if this is any good to anyone but if you are analysing CLI logs it';s quite handy to have a list of error and event codes.

ERROR CODES

ERROR_SUBSYSTEM_MAIN           1   
ERROR_SUBSYSTEM_RADIO           2   
ERROR_SUBSYSTEM_COMPASS   3   
ERROR_SUBSYSTEM_OPTFLOW   4   
ERROR_SUBSYSTEM_FAILSAFE           5   

General error codes      
ERROR_CODE_ERROR_RESOLVED            ERR FS 0        all good (i.e. failsafe resolved)
ERROR_CODE_FAILED_TO_INITIALISE               1   

Subsystem specific error codes -- radio      
ERROR_CODE_RADIO_LATE_FRAME   2   

Subsystem specific error codes -- failsafe      
ERROR_CODE_FAILSAFE_THROTTLE   ERR FS 2   value dropped below 975

ERROR_CODE_FAILSAFE_BATTERY   ERR FS 3   battery failsafe (voltage fell below LOW_VOLT parameter or total current of battery used -- sorry, i forget the parameter that holds that the mAh of the battery)

ERROR_CODE_FAILSAFE_WATCHDOG ERR FS 4 main loop stalled for more than 1 second

EVENT CODES

DATA_MAVLINK_FLOAT 1                   EV 1
DATA_MAVLINK_INT32 2                   EV 2
DATA_MAVLINK_INT16 3                   EV 3
DATA_MAVLINK_INT8 4                   EV 4
DATA_FAST_LOOP 5                           EV 5
DATA_MED_LOOP 6                           EV 6
DATA_AP_STATE 7                           EV 7
DATA_SIMPLE_BEARING 8           EV 8
DATA_INIT_SIMPLE_BEARING 9   EV 9
DATA_ARMED 10                           EV 10
DATA_DISARMED 11                           EV 11
DATA_AUTO_ARMED 15                   EV 15
DATA_TAKEOFF 16                           EV 16
DATA_DID_REACH_ALT 17           EV 17
DATA_LAND_COMPLETE 18           EV 18
DATA_LOST_GPS 19                           EV 19
DATA_LOST_COMPASS 20           EV 20
DATA_BEGIN_FLIP 21                   EV 21
DATA_END_FLIP 22                           EV 22
DATA_EXIT_FLIP 23                           EV 23
DATA_FLIP_ABORTED 24                   EV 24
DATA_SET_HOME 25                   EV 25
DATA_SET_SIMPLE_ON 26           EV 26
DATA_SET_SIMPLE_OFF 27           EV 27
DATA_REACHED_ALT 28                   EV 28
DATA_ASCENDING 29                   EV 29
DATA_DESCENDING 30                   EV 30
DATA_RTL_REACHED_ALT 31           EV 31
Not as good as I once was, but as good once as I ever was