Open rmackay9 opened 9 years ago
Is this still going to happen for AC3.3?
No, it won't make it. Moved to AC3.4.
Bumping to AC-3.5.
This issue has no activity for 5 years, but is still open. Is there still an interest in converting the message system to be ID based? As I understand it, this would make it easier to translate and maintain messages, and could also make the compiled binary smaller.
Basically we need a message format agreed. By the way, we already have a bunch of error codes defined at the bottom of ArduCopter/define.h.
I think the format of the message could be: byte 0: error list (0=common, 1=px4stack, 2=ardupilot stack, etc) byte 1: subsystem (we would define an enum for this, error list specific or shared?) byte 2: error code (list specific?) byte 3: 0 = cleared, 1 = occurred (so if an error ever resolves itself we can tell the GCS)
The above format would need to be put into one of the mavlink xml files and we'd also need a big enum (or something) for each error list.
Related to this pull request. https://github.com/diydrones/ardupilot/pull/1335