I’m trying to parse the multicast messages to extract the xyz coordinates of tags, so i can push that information elsewhere. Extracting this data via LCM isn’t an option for me, so I’m using this nodejs/javascript.
I’m able to receive messages, and can see messages with sequence and ANCHR, P3 and TAG messages, but can’t figure out the format of the remainder of each message.
The uwbtalk example doesn’t seem to include any code that actually extracts the messages, or detail the overall message format.
So far, it seems to be:
bytes 0-3 = magic number
bytes 4-7 = sequence
bytes 8-15 = type? ANCHR or TAG or P3
The rest doesn’t seem to match the CDP docs, or the uwtalk structure.
Any ideas or hints would be great.
Thanks,
Matt.