FRC 8574 (Audeamus)'s testbot for the 2024 season (CRESCENDO)
OTHER License
Follow this guide to install the latest version of WPILib.
Make sure you have Git installed. If you're on Windows, you can install Git using this installer.
Clone this repository.
Open the 2024-testbot-new
folder in 2024 WPILib VS Code
.
Press Ctrl + Shift + P
to open the command palette
To run the simulation: search and select WPILib: Simulate Robot Code
and wait for the process to complete. To deploy the code to the robot: connect to the robot, then search and select WPILib: Deploy Robot Code
and wait for the process to complete.
Pose2d
, Rotation2d
, and Translation2d
Valuesm_gyro.getAngle()
or m_gyro.getRotation2d()
) are increasing going CW. Readings using getRobotHeadingDegrees
in DriveSubsystem
and values in Pose2d
and Rotation2d
are increasing going CCW.Translation2d
and Pose2d
values relative to the robot, positive x values represent moving toward the front of the robot whereas positive y values represent moving toward the left of the robot.Pose2d
values on the field, the RED SOURCE is at the (0, 0) corner and the RED AMP is closest to the (16.54, 8.21) corner.