Hello, I am trying to parse events I read from a PX4 autopilot, currently trying to make this work with SITL, later with a CubeOrange.
I’m able to read events through a companion computer, I am also able to see the events sent in Wireshark.
My problem is I cannot match an event ID to one inside the metadata file.
I tried searching for the IDs here: px4 event metadata and found nothing.
I tried searching in the metadata cache files that QGC saves, and couldn’t find the IDs there either. Does anyone have experience reading events from mavlink and parsing them? Any help is appreciated.
So I found my problem, I read in the PX4 code how the ID gets generated, and the autopilot’s component ID gets logic OR’d into the ID, after being shifted left 24 bits, if anyone runs into the same issue, hope this helps!
1 Like