frc6357 / everybot-2024

Development robot for the 2024 season
Apache License 2.0
1 stars 0 forks source link

Update motor controller configuration #8

Open gbrandonp opened 9 months ago

gbrandonp commented 9 months ago

CAN SparkMax Controllers

Implementation Plan

Either add or update existing motor objects to create a differential drivetrain with 2 left motors and 2 right motors, where one motor is in follow mode. The motor controllers are CAN based SparkMax and the motors are Rev Neo.

Affected Subsystem(s):

Details: REV SparkMax API: https://codedocs.revrobotics.com/java/com/revrobotics/cansparkbase See DifferentialDrive API docs for information on how to combine the motors into a drive with available tankDrive and arcadeDrive methods.

gbrandonp commented 9 months ago

Here's an example of using SparkMax leader/follower: https://www.chiefdelphi.com/t/new-to-neo-drive-train-what-is-best-with-java-motor-group-or-leader-follower/427142/4

gbrandonp commented 9 months ago

@SarahPick you can update/close this issue now.