Hi everyone,
I'm working on a robotics project using an STM32 Nucleo board for the BFMC robotics competition, and I'm trying to implement clothoid-based path planning for smooth trajectory generation. However, I'm facing issues with incorrect or non-exact command execution. The steering and velocity values sometimes deviate from the expected clothoid curve, likely due to numerical precision errors or control loop delays.
I've considered using fixed-point arithmetic for better precision and tuning a PID controller to correct deviations dynamically. Additionally, I’m thinking of applying a low-pass filter to sensor data to reduce noise affecting the control loop.
Has anyone else dealt with similar challenges? What strategies have worked for you to ensure accurate execution of clothoid commands on embedded systems? Any insights or suggestions would be greatly appreciated!
Thanks in advance!