nilay994 / simple-cpp-drone

Making Raspberry Pi send MSP commands to Betaflight
MIT License
2 stars 0 forks source link

NT1: Slow parsing #1

Closed nilay994 closed 3 years ago

nilay994 commented 3 years ago

Delay observed when printing natnet co-ordinates from the UDP buffer.

https://github.com/nilay994/rpi-msp-uart/blob/main/src/natnet.cpp#L218

Updating slow by almost 1.5 seconds. See if event based parsing helps, else system is not controllable with such large delays. Gain tuning on this shouldn't be performed.

Requirement: Updates should be at 100 Hz, see if timestamp logging of udp packets can be checked for latency and jitter.

nilay994 commented 3 years ago

required a separate parser on the ground station which has a WIRED connection with optitrack. solved in #5cc942