Specification
We want the chassis to be able to rotate constantly during the match (For the tests, we can base the condition on one of the switches)
Implementation
A new command for the Chassis will have to be created. It has to have a similar structure to the ChassisDriveCommand we already have. However, we'll set the target output based on a constant that has to be defined in the Chassis constants file.
We can use RefSerial::getGameData to verify the condition for the match.
Specification
We want the chassis to be able to rotate constantly during the match (For the tests, we can base the condition on one of the switches)
Implementation
A new command for the Chassis will have to be created. It has to have a similar structure to the ChassisDriveCommand we already have. However, we'll set the target output based on a constant that has to be defined in the Chassis constants file.
We can use RefSerial::getGameData to verify the condition for the match.