vedderb / bldc

The VESC motor control firmware
2.2k stars 1.36k forks source link

PPM median filter causes glitch on startup without safe_start #321

Closed Teslafly closed 2 years ago

Teslafly commented 3 years ago

The Vesc is used heavily in battlebots robots. They generally use ppm servo input, and have to turn safe start off because you often get a fault when you get hit, and the time it takes for ppm safe start to recover is not acceptable. You get faults, but generally do not reboot.

This means you pick up the glitch from median filter equalizing on startup because you can't use safe start. This causes the motors to twitch on a very big and dangerous robot.

There are probably several ways to solve this:

Thoughts? I can probably implement the "don't trigger safe start on motor fault" option.

Teslafly commented 2 years ago

fixed by no safestart on fault option.