FRC1076 / 2020-WAPUR-ARCADE

Hugh Mongus Bot for 2020 Wapur
0 stars 0 forks source link

Add code in the BallManipulator object so that it can extend/retract using pneumatics #6

Open mcolinj opened 4 years ago

mcolinj commented 4 years ago

You'll need to add at least one argument to the init() method (for the pneumatic port information (I think maybe you'll use two). Check the comp bot code from last year.

You'll also want to add a method or two to the BallManipulator (extend/retract) that does just that.

We'll need to figure out controls to use for that and test them out.

This is a good little project to work on. Maybe on 20 lines of code, but a chance to learn a lot of what you need to know.

EmilyRobotics commented 4 years ago

Documentation: https://robotpy.readthedocs.io/projects/wpilib/en/latest/wpilib/DoubleSolenoid.html

Old code for reference: https://github.com/FRC1076/2019-Competition/blob/master/subsystems/extendPiston.py