cavineers / RobotCode2021

Robot Code for the 2021 at home challenge.
Other
0 stars 0 forks source link

[Transportation] Code 3 Infrared Sensors to Detect PC in Conveyor Belt #32

Closed Ryan4545 closed 3 years ago

Ryan4545 commented 3 years ago

Find and code the infrared sensors for the conveyor belt.

Need to be able to find where the ball is located in the conveyor belt.

Ryan4545 commented 3 years ago

Possible options listed below:

  1. https://www.pololu.com/product/1134
brycecary commented 3 years ago

Actually ordered: https://www.pololu.com/product/1132

Ryan4545 commented 3 years ago

Sensors have been added to the code in Transportation.java (the subsystem) but it still needs to be implemented across the conveyor system. Still need to use .get() on the sensors to change conveyor motor state.

Usage docs: https://docs.wpilib.org/en/stable/docs/software/sensors/digital-inputs-software.html