Team3256 / FRC_Programming_2022

Team 3256's 2022 FRC Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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