proserven / team-100-wildhats

Automatically exported from code.google.com/p/team-100-wildhats
0 stars 0 forks source link

Make frisbee transport stop more reliably #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The frisbee transport isn't reliably stopping at the limits when moving up and 
down. The Hall effect sensors appear to be sensing, but the signal is flaky, as 
the belt is bouncing up and down, etc. Our code that stops the transport when 
the sensors read a value could be improved.

Take a look at the Intake and FrisbeesToShoot commands and the corresponding 
takeFrisbees and shootFrisbees subsystem methods. Make the belt stop when the 
limits are reached. This can be done with just a couple lines of changes to 
each command/method.

Original issue reported on code.google.com by briankgr...@gmail.com on 4 Mar 2013 at 3:51

GoogleCodeExporter commented 8 years ago
Done, by converting the DigitalInputs for hall-effect switches to Counters:
https://code.google.com/p/team-100-wildhats/source/detail?r=4f8cf9ea0ae3add04396
c75be688bea6597b64c4

Original comment by briankgr...@gmail.com on 5 Mar 2013 at 5:17