nilay994 / simple-cpp-drone

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

CT2: NaN safety #5

Closed nilay994 closed 3 years ago

nilay994 commented 3 years ago

Ensure exception handling / NaN / divide by zero / inf safety for all floats.. sending signals / integers to MSP node..

nilay994 commented 3 years ago

solved in commit 8cc756 in remote/src/control.cpp just before sending integers to betaflight. It doesn't trigger a SIGINT or schedule a disarming sequence yet. It just ignores the NaN and expects that in the next control calculation, it will be solved, just don't send this current control command.