CAN Network structure for Matek M8Q-CAN

Hi there,

I am trying to use the Matek M8Q-CAN to provide a GPS position via CAN to our project.
I have managed to get a 3D GPS position to lock, and even tested it in the ArduPilot Mission Planner software and got the correct location.

However, our proeject will not use ArduPilot and will just read the raw CAN messages and I have found no reference to the layout, scaling and offsets of the CAN Network for the M8Q-CAN.

Does anyone know where to find this, or have knowledge on the structure of these messages?


Just a note that I have found the message and it appears to be coming out on my node with the address 0x18042470 after taking a look at the network using PEAK USB.

I have found reference to the scaling of the longitude and latitude in the github repo being 1e8, and have correctly managed to calculate the utime in the test() function, but I can’t seem to get the offset right for the longitude and latitude.

Any help is appreaciated