User Info

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

MultiRotorUK ShoutBox

Refresh History
  • hoverfly: That's a long weeee Slayer,   cystitis,???
    Today at 20:34:31
  • Slayer23: feeling better now lol
    Today at 19:03:35
  • Slayer23: Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
    Today at 19:03:28
  • hoverfly: cz 250 twin.
    Today at 13:09:44
  • Gav: what bike was it
    Today at 11:49:36
  • hoverfly: I had similar a few years back , came home from work went int kitchen and made a cuppa  sat on a stool looking out the kitchen window.  There was a large space ,something was wrong, some scumbag a/hole had stolen my motorbike.. :banghead: :banghead: :banghead:
    Today at 09:24:58
  • Reman: I just half woke up, opened my eyes to check the time. and while doing this I subconsciously noticed something wrong with the shape of shadows on the other side of the room. That woke me up with a jolt!!!  It seems I've got so used to seeing my camera hex perched up on the set of draws in the corner of my bedroom that the area now looks strangely empty without it (I took it apart on Sunday to begin the rebuild into its new Y6 frame)...... And now I'm wide awake at bloody half one in the morning....... And feeling like a paranoid pillock. :(
    Today at 01:27:14
  • atomiclama: Cheers, already have bog standard rucsacs, looking for something with a bit easier access to the internals
    February 15, 2018, 13:12:41
  • CornishMule: Atomiclama, I also had the CS300 but recently got [link] It's big enough to put the Taranis X9D case inside, fatshark case, Lipo bag, a couple of tool bags, launch pad, monitor, laptop and copious props. 2 quads strapped to the front.
    February 15, 2018, 11:29:36
  • atomiclama: Cheers Hozza
    February 14, 2018, 09:00:06
  • yama: hooked on 90mm brushless drones now:)
    February 11, 2018, 15:45:24
  • Hozza: Not found it uncomfortable, but I've probably only walked a mile :laugh:
    February 10, 2018, 17:44:20
  • atomiclama: I'm looking for a new pack as my current one is falling apart.
    February 10, 2018, 11:29:39
  • atomiclama: Don't like the look of the padding on the back.
    February 10, 2018, 11:28:50
  • atomiclama: Hozza, how comfortable is it for a long hike?
    February 10, 2018, 11:28:24
  • Hozza: I have the CS300 [link] bloody good back pack, everything I need inside and 2 quads straped to the front.
    February 10, 2018, 10:13:43
  • Andy7: Sweet! Fixed the USBs on my laptop - been hitting DRL sim with my QX7 all weekend
    February 04, 2018, 21:18:03
  • Bad Raven: Hope the fish are alright........   :laugh:
    February 04, 2018, 18:50:14
  • shawdreamer: hmmm Im feeling a little underwelming here, sorta lacking.... I stubbed my toe earlier on the fishtank stand.... that sorta counts right?
    February 04, 2018, 18:40:09
  • Friskle: Buggered more than Anything atm, struggling walking, getting badly out of breath, hopefully next stent in a few weeks will cure that :)
    February 04, 2018, 15:51:59

Who's Online

Theme Selection



Forum Default

Permanently

Author Topic: APM Error and Event Codes  (Read 3411 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