frc2399 / 2022-Season

This is our NEW repository for the 2022 Season.
Other
0 stars 5 forks source link

Organize Code #35

Open Chess318 opened 2 years ago

Chess318 commented 2 years ago

Make sure naming conventions match Make code look good for judges

edf42001 commented 2 years ago

modAngle() is redefined in 3 different commands. A tenant of programming is "don't repeat yourself". I suggest a class Utils in the utils folder, with a static method modAngle() that can be called by Utils.modAngle(). Can also do this for the deadband functions in ArcadeDrive.

edf42001 commented 2 years ago

Commands should probably be sorted into folders based on subsystem name