FRCTeam2992 / Robot2023

FRC Team 2992's 2023 Robot Code
Other
1 stars 0 forks source link

[RobotState] Create robot state class and add it to RobotContainer #53

Closed nihonjinrxs closed 1 year ago

nihonjinrxs commented 1 year ago

Related Issues and PRs

Issue:

Related PRs:

Checklist

What is changing and why?

In our discussions on 3/5, we determined that we will need to track some basic robot state to implement needed commands to support driving. These state values are:

This PR implements a new class RobotState that tracks the first two, and adds the third as a method on the Claw subsystem.

How was this tested?

Nothing here changes operation of the robot yet, so there's no need to do an on-robot test of this code.

Is there anything the reviewer of this PR needs to know to validate that this code is correct?

What do your team members need to know about this?

msonnier commented 1 year ago

Had to override and push the merge through -- i was last commit doing a cleanup of merge from main. Lots of whitespace fixes made RobotContainer merge be confused.