FRCTeamPhoenix / Build2024

Other
0 stars 0 forks source link

Build2024: 2342's Code for Crescendo

A swerve drive using MAXSwerve modules with a Quokkas-style intake and shooter on a pivoting arm.

Software Information

WPILib Version: 2024.3.1

Latest Phoenix 6 Firmware

Libraries Used

Hardware Requirements

Supported Driving Motors

The IMU is a Pigeon 2 with Phoenix 6 or Pigeon [1] with Phoenix 5.

The Turning Motors are NEO 550s with a Rev Through Bore Encoder plugged into the Spark MAX.

The Arm is driven with 2 NEO v1.1s with a Rev Through Bore Encoder plugged into the left motor's Spark MAX.

The Shooter Motors are 2 NEO v1.1s.

The Intake uses a single NEO v1.1.

The Intake also has a SparkFun Proximity Sensor to detect if a note has been captured.

Vision

The Vision is split into two primary subsystems:

PhotonVision

PhotonVision is running off an Orange Pi with multiple ArduCam OV9281 USB Camera.

PhotonVision is primarily used to detect AprilTags and calculate our robot pose and align the shooter with the speaker.

OAK Cameras

The OAK-D Pro W cameras are connected to a Raspberry Pi on our robot.

The OAK Cameras are used in the detection of notes to intake notes during autonomous.