Specify Bus for Devices that use CAN
StarDylan opened this issue · comments
Since we are using the CANivore this year, we need to specify what bus each device uses. Most (if not all) devices just require us to add another string in their Constructor.
Also we want to create 2 Constants in IDConstants RIO_CAN_BUS = "rio"
and MANI_CAN_BUS = "mani"
, which is the can bus ids for the two can bus'
Here is the google doc for what devices go on what bus.
- Create Constants for each Bus
- Modify each Constructor (including swerve) to include the can bus id