Hello, I am parsing bytes coming through UART and I am having issues with detecting consecutive ODID messages. My code does something like this:
mav2odid_t m2o;
As it receives new bytes over UART -
msg_type = m2o_parseMavlink(&m2o, c);
I seem to have no issue detecting the initial ODID_MESSAGETYPE_BASIC_ID. However, it never detects the ODID_MESSAGETYPE_LOCATION that is received immediately afterwards on the UART port. Do I have to reset anything after detecting the ODID_MESSAGETYPE_BASIC_ID? Any advice on why I am not detecting ODID_MESSAGETYPE_LOCATION?
Hello, I am parsing bytes coming through UART and I am having issues with detecting consecutive ODID messages. My code does something like this:
mav2odid_t m2o;
As it receives new bytes over UART - msg_type = m2o_parseMavlink(&m2o, c);
I seem to have no issue detecting the initial ODID_MESSAGETYPE_BASIC_ID. However, it never detects the ODID_MESSAGETYPE_LOCATION that is received immediately afterwards on the UART port. Do I have to reset anything after detecting the ODID_MESSAGETYPE_BASIC_ID? Any advice on why I am not detecting ODID_MESSAGETYPE_LOCATION?