Created
December 1, 2011 04:56
-
-
Save basicxman/1413779 to your computer and use it in GitHub Desktop.
Boolean Logic Conditionals [MMRambotics Training Material]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IsArmInButtonPressed() | |
| previousArmInButton && !currentValue | |
| clawState == OUT | |
| distance > 0 | |
| degreesToTurn < 0 | |
| tempAngle >= degreesToTurn | |
| height > armInitial | |
| drive->GetRightDistance() - drive->GetLeftDistance() > 0.05 | |
| value > -1 && value < 1 | |
| report.boundingRect.width > IMAGE_DEPLOYMENT_LINE_MAX_WIDTH | |
| joystick.GetButton(F310::kRightBumper) | |
| (inputA > minB && inputA < maxB) || (inputB > minA && inputB < maxA) | |
| turnComplete | |
| driveComplete && armComplete | |
| arm->GetPosition() > 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment