Currently I am facing a problem with data communication on the crazyflie.
I am connected to multiple crazyflies and continuously sending crtp packets to the crazyflies on port 9, using the crazyflie-lib-python API (send_packet method of the Crazyflie class). Inside the firmware, I registered a callback function (crtpRegisterPortCB) which takes the packets and writes them into a queue for further processing in a separate task.
In addition to that, packets get sent from the crazyflies to the python counterpart using "crtpSendPacket".
Sometimes the firmware crashes and after restart I get one of the following error messages
Code: Select all
SYS: The system resumed after a failed assert [WARNING] SYS: Assert failed at .//src/drivers/src/uart_syslink.c:373 SYS: cfAssertNormalStart [FAIL] SYS: The system resumed after a failed assert [WARNING] SYS: Assert failed at .//src/drivers/src/uart_syslink.c:394 SYS: cfAssertNormalStart [FAIL]
Any help to narrow down the problem will be greatly appreciated. Currently I am not even sure whether the problem relates to receiving the crtp packets, or to sending them.