projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize photogate in shooter subsystem
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
sensors
/
Photogate.java
diff --git
a/src/org/usfirst/frc/team3501/robot/sensors/Photogate.java
b/src/org/usfirst/frc/team3501/robot/sensors/Photogate.java
index b1d003988e908fd038a1d1c27453014612f0602e..c9f3d642fdabf1a74af6caee467d918ae3518aef 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/sensors/Photogate.java
+++ b/
src/org/usfirst/frc/team3501/robot/sensors/Photogate.java
@@
-2,9
+2,6
@@
package org.usfirst.frc.team3501.robot.sensors;
import edu.wpi.first.wpilibj.AnalogInput;
import edu.wpi.first.wpilibj.AnalogInput;
-// TODO: Change certain reactions based on testing, ie what value(s) return true
-// and what value(s) return false.
-
/***
* The photogate is a pair of IR LED and phototransistor sensor that uses a
* reflective method to sense the presence of the boulder within the robot's
/***
* The photogate is a pair of IR LED and phototransistor sensor that uses a
* reflective method to sense the presence of the boulder within the robot's
@@
-44,7
+41,7
@@
public class Photogate extends AnalogInput {
/***
* @param threshold
/***
* @param threshold
- * (range [0, 4095]
+ * (range [0, 4095]
)
*/
public void setThreshold(int threshold) {
this.threshold = threshold;
*/
public void setThreshold(int threshold) {
this.threshold = threshold;