Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Head #277

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Head #277

Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dbadf83
Update README.md
TSTEMTrilobytesSoftware Sep 4, 2019
cb812dd
Update README.md
TSTEMTrilobytesSoftware Sep 4, 2019
f1501b3
Update README.md
fernandesi2244 Sep 4, 2019
22ce18c
Add test Operational Mode to TeamCode folder.
fernandesi2244 Sep 4, 2019
512a5ed
Merge remote-tracking branch 'origin/master'
fernandesi2244 Sep 4, 2019
7e37940
test one
sgutierrez8c54 Oct 17, 2019
2da9904
messing around.
sgutierrez8c54 Oct 17, 2019
63dc8aa
Cleopatra.
sgutierrez8c54 Oct 19, 2019
de417fb
Cleopatra hardware definition.
sgutierrez8c54 Oct 20, 2019
63cfc81
Cleopatra Hardware update made it public.
sgutierrez8c54 Oct 20, 2019
48800b4
Cleopatra Hardware update made it public.
sgutierrez8c54 Oct 20, 2019
0ab2045
Merge branch 'master' of https://github.com/TSTEMTrilobytesSoftware/F…
sgutierrez8c54 Oct 20, 2019
f9e26ab
Cleopatra Hardware update made it public.
sgutierrez8c54 Oct 20, 2019
1fbcf51
Cleopatra Hardware update made it public.
sgutierrez8c54 Oct 21, 2019
7695836
CleopatraHardware/HCleopatra12820TeleOp update
sgutierrez8c54 Oct 21, 2019
e7d1da1
CleopatraHardware/HCleopatra12820TeleOp update
sgutierrez8c54 Oct 21, 2019
3d9dee4
CleopatraHardware/HCleopatra12820TeleOp update
sgutierrez8c54 Oct 22, 2019
5d5c396
CleopatraHardware/HCleopatra12820TeleOp update
sgutierrez8c54 Oct 22, 2019
cd95cdf
CleopatraHardware/HCleopatra12820TeleOp update
sgutierrez8c54 Oct 22, 2019
a47c832
added methods to setup intake servos.
sgutierrez8c54 Oct 23, 2019
c9dc7bb
Fixed methods to setup intake servos.
sgutierrez8c54 Oct 23, 2019
c89db0b
Changed direction front right wheel.
sgutierrez8c54 Oct 23, 2019
458c250
Starting SkyStone Navigation webcam.
sgutierrez8c54 Oct 30, 2019
ba670a6
Starting SkyStone Navigation no webcam.
sgutierrez8c54 Oct 30, 2019
f133e6c
SkyStone Navigation with webcam.
sgutierrez8c54 Nov 8, 2019
fe26a62
After retrieval.
sgutierrez8c54 May 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleopatra Hardware update made it public.
sgutierrez8c54 committed Oct 20, 2019
commit f9e26ab7c4d7d8511ff1ae4cecf599d41cd42cce
Original file line number Diff line number Diff line change
@@ -88,9 +88,17 @@ public void runOpMode() {
double numFr = Range.clip((+Speed - Turn + Strafe), -1, +1);
double numBr = Range.clip((+Speed - Turn - Strafe), -1, 1);
double armElbowPower = Range.clip(0.5*gamepad2.left_stick_y, -1, 1);
double armWristPower = Range.clip(gamepad2.right_stick_y, -1, 1);
//double srvPower=Range.clip(gamepad2.right_stick_x, 0,1);
robot.armWrist.setPower(armWristPower);
//double armWristPower = Range.clip(gamepad2.right_stick_y, -1, 1);
if(gamepad2.right_stick_y>0)

robot.armWrist.setPower(robot.ARM_UP_POWER);

else if (gamepad2.right_stick_x>0)
robot.armWrist.setPower(robot.ARM_DOWN_POWER);
else
robot.armWrist.setPower(0.0);

//Continue here with armElbow!
robot.armElbow.setPower(armElbowPower);


@@ -121,14 +129,16 @@ public void runOpMode() {
robot.intakeServoLeft.setPosition(0);

}
if(gamepad2.a){
//Use gamepad2 left & right Bumpers to open and close the claw
if(gamepad2.right_bumper)
clawOffset += CLAW_SPEED;

robot.claw.setPosition(1);
}
if(gamepad2.b) {
else if(gamepad2.left_bumper)
robot.claw.setPosition(0);
}

clawOffset -= CLAW_SPEED;
// Move both servos to new position. Assume servos are mirror image of each other.
clawOffset = Range.clip(clawOffset, -0.5, 0.5);
robot.claw.setPosition(robot.MID_SERVO + clawOffset);

// Send telemetry message to signify robot running;
telemetry.addData("claw", "Offset = %.2f", clawOffset);