vedderb / bldc

The VESC motor control firmware
2.18k stars 1.35k forks source link

Clean servo input #558

Closed TechAUmNu closed 1 year ago

TechAUmNu commented 1 year ago

Option to only send back valid servo pulse lengths to VESC Tool. This stops ground noise that triggers the timer from making the PPM mapping wizard unusable. (Will see 0ms or >20ms pulses occasionally which ruins the max and min values, meaning the user has to manually enter them)

Add temperature compensation for HSI oscillator to 10ms loop. Fairly simple map at the moment but seems to work well. Could be added as a generic call for all hardware using internal RC oscillator but it might not work that well if the temperature sensor is not close to the STM32.