User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

MultiRotorUK ShoutBox

Refresh History
  • Bad Raven: MB - ??
    August 18, 2018, 16:32:23
  • Mike Bagnall: My taranis must be wrong or broken it's brand new
    August 18, 2018, 14:13:47
  • Reman: Weather's way too ropey to go flying near Bristol today, But it's not too wet to go wading through a muddy field to walk my Labrador though........ Damn it ! LOL !
    August 12, 2018, 11:17:55
  • Bad Raven: They flew quads and planes
    August 10, 2018, 12:59:11
  • Bad Raven: Took some boys flying, they got an hour and a half before the wetness loomed.
    August 10, 2018, 12:58:53
  • mo_miah: lots of rain yesterday with some localised flooding, some more rain today, quads broken anyway so no flying for me, need a new frame :(
    August 10, 2018, 10:06:02
  • hoverfly: Spoke to soon there is some strange wet stuff falling from the sky. and my runner beans are making slurping noises..... ::)
    August 10, 2018, 09:30:31
  • Bad Raven: Bring a sponge.......
    August 10, 2018, 06:07:43
  • hoverfly: Not a drop  here the garden is like a desert..
    August 09, 2018, 21:57:22
  • Bad Raven: BIG thunderstorm with lots of cloud to cloud red and the occasional very close ground strikes.
    August 09, 2018, 21:12:51
  • Clarkie 22: Bad Crash and a poorly rotor arm :/
    August 06, 2018, 18:31:53
  • Bad Raven: The screamer alarm went off, usually early warning, but nit this time, didn't make it back to patch.
    August 06, 2018, 17:35:29
  • Bad Raven: Think I ran this pack a little close, just had to put 2359 into a 2200 pack. OOPS!
    August 06, 2018, 17:33:21
  • Bad Raven: I think nthere's agreat similarity, both talentless and over hyped.
    August 06, 2018, 14:21:58
  • Bajadre: @ Reman yeah matey haha
    August 06, 2018, 14:18:59
  • shawdreamer: keep that up and the only thing you'll "get" is commited.
    August 06, 2018, 13:48:17
  • hoverfly: Weird that i get..marianne faithfull broken english..... :shrug: :shrug:
    August 06, 2018, 13:22:23
  • Gav: :hmm:
    August 06, 2018, 11:33:20
  • DarkButterfly: Nope, that's just you ::)
    August 06, 2018, 10:43:08
  • shawdreamer: nope..... thats erm....... probably just you :huh
    August 06, 2018, 10:37:01

Who's Online

Theme Selection



Forum Default

Permanently

Author Topic: APM Error and Event Codes  (Read 3718 times)

Offline Tango21Delta

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 104
  • Liked: 39
  • Country: gb
APM Error and Event Codes
« on: May 02, 2013, 21:28:39 »
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