Team2337 / 2013-Ultimate-Ascent

The EngiNERDs' robot code for the 2013 FIRST Robotics Competition, and the game, Ultimate Ascent.
2 stars 0 forks source link

Drive: Ramping #18

Closed szechy closed 11 years ago

szechy commented 11 years ago

We need a good ramping solution - unfortunately, what @silas13579 and @AlexNaegle did with directly ramping the output... I want to try using a linear filter. From what I understand, basically you write the motor value to an array cycling through the last however so many values or so, then take the average of that array. It's similar to motion profiling in autonomous.

szechy commented 11 years ago

We came up with a pretty good linear time filter like the motion profiling algorithm - simply averaging a set amount of values in an array. Check it out in drive! I expect a pull request on this soon.