2023-12-02, 08:51 PM
Thanks Sean. I wasn't really thinking of implementing the PID on STM32, I was just curious how it was working.
For a boat control, having the Rpi do it is plenty fast I would think and as you said it is filtered down to conserve motor running.
I haven't delved into the Pypilot code yet, only the motor driver. I'm pretty much a C guy and have done very little in python but isn't too late to learn.
I have added the watchdog timer to the STM32 project. There is a define in config.h to turn it off during debug. Any time you have a break point the timer runs out and it resets unless you define it out.
For a boat control, having the Rpi do it is plenty fast I would think and as you said it is filtered down to conserve motor running.
I haven't delved into the Pypilot code yet, only the motor driver. I'm pretty much a C guy and have done very little in python but isn't too late to learn.
I have added the watchdog timer to the STM32 project. There is a define in config.h to turn it off during debug. Any time you have a break point the timer runs out and it resets unless you define it out.