I am trying to write a lua script that will encode the EFI_STATUS message but am running into some trouble. I am getting back NIL when I try and receive MAVLink messages, and nothing happens when I try and encode the EFI message. attached is my test script, as well as the definition for the EFI_STATUS message script. My file structure is as follows:
-Penguin EFI Reader DRAFT4: APM->scripts
-mavlink_msg_EFI_STATUS: APM->scripts->modules->MAVLink
What am I missing here? (disregard the CAN stuff at the top of the EFI Reader script, that is future work)
Penguin_EFI Reader_DRAFT4.lua (2.0 KB)
mavlink_msg_EFI_STATUS.lua (918 Bytes)