Open GJSK-Novice opened 5 months ago
Currently, some parallel freertos tasks blindly sends CAN message that they don't know whether other task is occupying the CAN buffer right now and needs to queue.
ToDo: Learn from purdue's implementation of queue on type a board using freertos library and try to implement on our type c board. https://github.com/RoboMaster-Club/Mecanum_Sentry/blob/main/Core/Src/freertos.c You could try to use other library to achieve it.
Currently, some parallel freertos tasks blindly sends CAN message that they don't know whether other task is occupying the CAN buffer right now and needs to queue.
ToDo: Learn from purdue's implementation of queue on type a board using freertos library and try to implement on our type c board. https://github.com/RoboMaster-Club/Mecanum_Sentry/blob/main/Core/Src/freertos.c You could try to use other library to achieve it.