Servers by jDrones

Mode: Rsn Numbers - Dataflash Log analysis

Can anyone tell me what the Mode Rsn numbers equate to in a dataflash log? I’m trying to diagnose some behavior in a log which has Rsn 1, 2, 26 but a full list of possible Rsn numbers would be great.

Thanks in advance.

0: {
‘name’: “UNKNOWN”,
‘description’: None,
},
1: {
‘name’: “RC_COMMAND”,
‘description’: None,
},
2: {
‘name’: “GCS_COMMAND”,
‘description’: None,
},
3: {
‘name’: “RADIO_FAILSAFE”,
‘description’: None,
},
4: {
‘name’: “BATTERY_FAILSAFE”,
‘description’: None,
},
5: {
‘name’: “GCS_FAILSAFE”,
‘description’: None,
},
6: {
‘name’: “EKF_FAILSAFE”,
‘description’: None,
},
7: {
‘name’: “GPS_GLITCH”,
‘description’: None,
},
8: {
‘name’: “MISSION_END”,
‘description’: None,
},
9: {
‘name’: “THROTTLE_LAND_ESCAPE”,
‘description’: None,
},
10: {
‘name’: “FENCE_BREACHED”,
‘description’: None,
},
11: {
‘name’: “TERRAIN_FAILSAFE”,
‘description’: None,
},
12: {
‘name’: “BRAKE_TIMEOUT”,
‘description’: None,
},
13: {
‘name’: “FLIP_COMPLETE”,
‘description’: None,
},
14: {
‘name’: “AVOIDANCE”,
‘description’: None,
},
15: {
‘name’: “AVOIDANCE_RECOVERY”,
‘description’: None,
},
16: {
‘name’: “THROW_COMPLETE”,
‘description’: None,
},
17: {
‘name’: “TERMINATE”,
‘description’: None,
},
18: {
‘name’: “TOY_MODE”,
‘description’: None,
},
19: {
‘name’: “CRASH_FAILSAFE”,
‘description’: None,
},
20: {
‘name’: “SOARING_FBW_B_WITH_MOTOR_RUNNING”,
‘description’: None,
},
21: {
‘name’: “SOARING_THERMAL_DETECTED”,
‘description’: None,
},
22: {
‘name’: “SOARING_THERMAL_ESTIMATE_DETERIORATED”,
‘description’: None,
},
23: {
‘name’: “VTOL_FAILED_TRANSITION”,
‘description’: None,
},
24: {
‘name’: “VTOL_FAILED_TAKEOFF”,
‘description’: None,
},
25: {
‘name’: “FAILSAFE”,
‘description’: “general failsafes, prefer specific failsafes
over this as much as possible”,
},
26: {
‘name’: “INITIALISED”,
‘description’: None,
},
27: {
‘name’: “SURFACE_COMPLETE”,
‘description’: None,
},
28: {
‘name’: “BAD_DEPTH”,
‘description’: None,
},
29: {
‘name’: “LEAK_FAILSAFE”,
‘description’: None,
},
30: {
‘name’: “SERVOTEST”,
‘description’: None,
},
31: {
‘name’: “STARTUP”,
‘description’: None,
},
32: {
‘name’: “SCRIPTING”,
‘description’: None,
},
33: {
‘name’: “UNAVAILABLE”,
‘description’: None,
},
34: {
‘name’: “AUTOROTATION_START”,
‘description’: None,
},
35: {
‘name’: “AUTOROTATION_BAILOUT”,
‘description’: None,
},
36: {
‘name’: “SOARING_ALT_TOO_HIGH”,
‘description’: None,
},
37: {
‘name’: “SOARING_ALT_TOO_LOW”,
‘description’: None,
},
38: {
‘name’: “SOARING_DRIFT_EXCEEDED”,
‘description’: None,
},
39: {
‘name’: “RTL_COMPLETE_SWITCHING_TO_VTOL_LAND_RTL”,
‘description’: None,
},
40: {
‘name’: “RTL_COMPLETE_SWITCHING_TO_FIXEDWING_AUTOLAND”,
‘description’: None,
},
41: {
‘name’: “MISSION_CMD”,
‘description’: None,
},
},

Peter

Thanks Peter, that’s perfect, really appreciated.

Servers by jDrones