bethpage-robotics / Aerial-Assist

Current source code for the 2014 FIRST Robotics Competition, Aerial Assist.
Other
2 stars 0 forks source link

Launcher method winderMoving always return false. #3

Closed harshilgarg closed 10 years ago

harshilgarg commented 10 years ago

The method always returns false because of the conditional add operators, as shown here.

harshilgarg commented 10 years ago

The logical error was fixed by converting the conditional and operators to conditional or operators, so that if the winders are moving faster than 0.1 in either direction, the method returns false, as shown here in the next commit.