Patribots4738 / 2023-Summer-Robot

The summer robotics program at Patrick Henry High in the summer of 2023
Other
2 stars 0 forks source link

Add LEDs #11

Closed GalexY727 closed 1 year ago

GalexY727 commented 1 year ago

ew imagery.

PatribotsProgramming commented 1 year ago

LEDs are on the bot and need to be coded fully

GalexY727 commented 1 year ago

LEDs are on the bot and need to be coded fully

We now just need an I2C import to the bot's code so that there can be communications between the bot and the driver if we want that. Thankfully this bot is simple enough that it might not be necessary. But we could use it as a way for the driver to know if we are in the correct position to shoot

MathUtil.applyDeadband(odometry.getPose().getX() - OPTIMAL_X_POS_TO_SHOOT, ALLOWABLE_ERROR_FOR_ALIGNMENT)