ut-ras / robomaster

Firmware for the Stampede RoboMaster team at UT Austin
http://ras.ece.utexas.edu/committees/robomaster
GNU General Public License v3.0
17 stars 5 forks source link

Move motor info into constant structs #97

Closed calebchalmers closed 6 months ago

calebchalmers commented 10 months ago

Currently, all motors are initialized in their respective subsystems. IDs are imported from the robot constants, but other parameters like inversion, names, and motor types are specified within the subsystem. These should all be moved to robot constants files and put into a dedicated struct for organization.