Team 4480 Code Release

Hello!

We are releasing our Python Robot Code from last year which can be found here.

Some things about last year’s code and things we will improve:

  • I split it up into a bunch of different functions in the same file. Yes, I realize how bad it looks so I will be changing this to using Python Modules next year.
  • We used state machines for our autonomous functions, but we will switch to the much cooler and cleaner Stateful autonomous that Robotpy has.
  • We will also aim to create better and clearer variable names.
  • We will also have a much more accurate vision alignment system. Last year’s vision code was plagued with inconsistent lineups mainly due to the offset angle of our vision camera.

In other code news, our off-season project, Bird’s Eye View, is now mostly complete. You can see the magical code here.