Closed noahlinton closed 8 months ago
This is where we detect which robot the code is running on. Suggest we add an isBabycakes
function here and use it in the Constants file to account for these differences. See here for a usage of isBlackout
in Constants.
The RobotController.getComments
function pulls from the RoboRIO directly, and can be changed on the RoboRIO web dashboard by navigating to http://roborio-4039-frc.local
Thanks Ben! We have updated this function to isBabycakes and have been updating the implementations.
We are ready to test that DEV runs on babycakes. Also, we have a separate branch babycakesCameraPosition to test that we can have two different camera positions based on Helpers.isBabycakes()
@MacPGamesAndApps are we done with this? I think we are running code on both robots well. There is a bug on babycakes that we need to look into on the odometry, and confirm pivot is working, but I think we can close this issue and create new issues as required.
@noahlinton, yeah I agree. This one is complete. I'm closing it :)
Here are the main differences between the two robots:
Limelights:
Indexer gear ratio:
[x] Babycakes has a single beam break in the indexer. Compbot has 2 beam breaks. One in the indexer and a second one in the intake. The second one in the intake is used for driver notification only. this can be ignored for now
[x] Track width and wheel base are THE SAME between comp and babycakes
[x] Babycakes will not have Blinkin LED's
Pivot