Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mc green #8

Open
wants to merge 182 commits into
base: CenterStageReleaseBranch
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
f61b1d5
Update README.md
ftcwires Oct 25, 2023
841df09
New island!!!!
BudsterGaming Oct 28, 2023
f2da2ba
its the tape code im working on
Oct 28, 2023
7952741
Testing step 4.1
BudsterGaming Oct 28, 2023
4d221e8
Orignal values for testing
BudsterGaming Oct 28, 2023
3e2db99
New Ka value
BudsterGaming Oct 28, 2023
11ea606
Saving before adding begginings
BudsterGaming Nov 3, 2023
02ea1ab
Added Wires drive
BudsterGaming Nov 3, 2023
58a8492
i need to update the code for everyone yes yes
Nov 3, 2023
0d29baf
Merge remote-tracking branch 'origin/ReleaseBranch' into ReleaseBranch
Nov 3, 2023
cd9acfd
Made Wires drive into a function
BudsterGaming Nov 3, 2023
5ad578b
Merge remote-tracking branch 'origin/ReleaseBranch' into ReleaseBranch
BudsterGaming Nov 3, 2023
9c1690b
Goodbye Scorpion, you have served us well. We appreciated you teachin…
BudsterGaming Nov 4, 2023
ca1a9ee
Adding Servos for new robot
BudsterGaming Nov 4, 2023
8112702
Added Intake code
BudsterGaming Nov 4, 2023
2481f68
Fixed intaking out outputing code
BudsterGaming Nov 4, 2023
4c39f86
Refactored og drive
BudsterGaming Nov 4, 2023
50e189a
Lift and airplane code
BudsterGaming Nov 4, 2023
25c5db6
this code works on McGreen
BudsterGaming Nov 4, 2023
8829534
i need to push so i can upload code
Nov 4, 2023
8cc0e32
Merge remote-tracking branch 'origin/ReleaseBranch' into ReleaseBranch
Nov 4, 2023
d8efd3f
hardware issue???? code works on mcgreen, laucnger broken
BudsterGaming Nov 4, 2023
14a12ab
i need to push so i can upload code v2
Nov 4, 2023
9cc8946
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 4, 2023
a4e62ad
update v3
Nov 4, 2023
29ae952
ok jett go merge
BudsterGaming Nov 4, 2023
596baa1
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 4, 2023
37bc288
update v4
Nov 4, 2023
da20458
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 4, 2023
fc4a878
added wrist fix
BudsterGaming Nov 4, 2023
91f60ef
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 4, 2023
458aeec
EL MC TUNERR 🧆
BudsterGaming Nov 5, 2023
159bdf6
Mc tuner, but like, cooler by like 1000x, and in the year 3000, 🍖
BudsterGaming Nov 5, 2023
f3e47b9
Making the todo list for McTuner3000 was unnecessary, fun, but unnece…
BudsterGaming Nov 5, 2023
0c128f5
Small change. Made really long text into multible lines
BudsterGaming Nov 5, 2023
550dd67
remerge last year's code for budster's ogdrive
Nov 5, 2023
f04f24c
Starting stop motion and fixed drive
BudsterGaming Nov 5, 2023
3444b6c
Starting stop motion and fixed drive
BudsterGaming Nov 5, 2023
a7baea4
Adding OdoMec
digitalbread Nov 6, 2023
35a9c2d
update git pls
BudsterGaming Nov 7, 2023
483c2a9
i need to update the code for everyone yes yes
Nov 3, 2023
4fe730c
Goodbye Scorpion, you have served us well. We appreciated you teachin…
BudsterGaming Nov 4, 2023
1289db3
Adding Servos for new robot
BudsterGaming Nov 4, 2023
b0f9831
Added Intake code
BudsterGaming Nov 4, 2023
81fad2a
Fixed intaking out outputing code
BudsterGaming Nov 4, 2023
08e7c21
Refactored og drive
BudsterGaming Nov 4, 2023
6c8c086
Lift and airplane code
BudsterGaming Nov 4, 2023
f4f3677
i need to push so i can upload code v2
Nov 4, 2023
6a75dda
this code works on McGreen
BudsterGaming Nov 4, 2023
3fdb4a5
hardware issue???? code works on mcgreen, laucnger broken
BudsterGaming Nov 4, 2023
1824f62
ok jett go merge
BudsterGaming Nov 4, 2023
b7e295d
update v3
Nov 4, 2023
d0953b1
added wrist fix
BudsterGaming Nov 4, 2023
e7f3d50
update v4
Nov 4, 2023
3f64a19
EL MC TUNERR 🧆
BudsterGaming Nov 5, 2023
7f0d725
Mc tuner, but like, cooler by like 1000x, and in the year 3000, 🍖
BudsterGaming Nov 5, 2023
bed6aa3
Making the todo list for McTuner3000 was unnecessary, fun, but unnece…
BudsterGaming Nov 5, 2023
9660073
Small change. Made really long text into multible lines
BudsterGaming Nov 5, 2023
1c7266c
remerge last year's code for budster's ogdrive
Nov 5, 2023
4ecf4ac
Starting stop motion and fixed drive
BudsterGaming Nov 5, 2023
e03ef29
Starting stop motion and fixed drive
BudsterGaming Nov 5, 2023
7111892
update git pls
BudsterGaming Nov 7, 2023
9894fe8
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 7, 2023
9c6fcd8
isabels drive code
Nov 8, 2023
bd272a4
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 8, 2023
b750289
Adding Russ's drive.
BudsterGaming Nov 8, 2023
1805d81
Home and drive button
BudsterGaming Nov 8, 2023
a68aee7
update v5
Nov 8, 2023
ca86288
dump prep
BudsterGaming Nov 8, 2023
592bdc8
Adding OdoMec
digitalbread Nov 8, 2023
530f8bf
Enigma Auto Work
BudsterGaming Nov 8, 2023
ee9924d
Attepting to fix home button
BudsterGaming Nov 8, 2023
1e8b6bb
added drive poses
BudsterGaming Nov 9, 2023
6a6c466
goodnight
BudsterGaming Nov 9, 2023
545ae06
add hang, dump prep, home
digitalbread Nov 10, 2023
538afdf
update hang
digitalbread Nov 10, 2023
e70b13d
in progress of 2nd preset
BudsterGaming Nov 10, 2023
49d2dd8
in progress of 2nd preset
BudsterGaming Nov 11, 2023
2486208
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 11, 2023
d18d6e9
update V6 needed for new IntakePos and servo
Nov 11, 2023
337ccf2
good night, sleep well
BudsterGaming Nov 12, 2023
7bee912
FnaF movie har har har har har also frontIntake speed lowered
BudsterGaming Nov 13, 2023
2893b03
Clean code means better soul
BudsterGaming Nov 15, 2023
34a7ca0
just uh kynow juke for mcmankj
BudsterGaming Nov 15, 2023
b5b9a06
Merge remote-tracking branch 'upstream/ftcwires-patch-1' into McGreen
BudsterGaming Nov 15, 2023
c8cf20d
meerge new wires
BudsterGaming Nov 15, 2023
1a12d04
Merge branch 'ftcwires:ReleaseBranch' into McGreen
BudsterGaming Nov 15, 2023
45d1a97
auto that may or may not crash, and roadrunner tuning partway
BudsterGaming Nov 15, 2023
fcf776d
Auto Test
Nov 15, 2023
92e1302
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 15, 2023
bfbdbb3
auto encoders for pars
BudsterGaming Nov 15, 2023
8a92fa7
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 15, 2023
265a505
Merge remote-tracking branch 'origin/ReleaseBranch' into McGreen
BudsterGaming Nov 15, 2023
c8a328e
reset to wires
BudsterGaming Nov 15, 2023
c5f6059
auto Test from jett updated
Nov 16, 2023
99d912f
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 16, 2023
fb7c244
auto tuning
BudsterGaming Nov 16, 2023
789f23b
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 16, 2023
0e18c28
gn
BudsterGaming Nov 16, 2023
fa22519
Egg auto frfrrfrfrfrfrfr
Nov 17, 2023
f612b86
limbo? by mindcap? the hardest memory demon? Key world?
Nov 17, 2023
5af4a53
opencv initial
BudsterGaming Nov 17, 2023
bcad13a
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 17, 2023
c2d6849
lift exist now
Nov 17, 2023
c8423b4
Merge remote-tracking branch 'origin/McGreen' into McGreen
Nov 17, 2023
667785c
almost good auto. the arm now goes down
Nov 17, 2023
d5cf81a
opencv work
BudsterGaming Nov 17, 2023
9cb1709
auto work and remove unused opmodes
BudsterGaming Nov 17, 2023
f9cbcf8
auto final / teleop tweak
BudsterGaming Nov 17, 2023
80a7882
updates @ Alamogordo
digitalbread Nov 19, 2023
c63d0e6
McMuffin sounds good right about now
BudsterGaming Nov 29, 2023
c2f059e
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Nov 29, 2023
fe5e299
The time has come, where we will advance, no longer are we at the beg…
BudsterGaming Nov 29, 2023
3948179
Mutation*
BudsterGaming Nov 29, 2023
e7bfacf
Luke, Gray and Coach Russ
digitalbread Dec 1, 2023
58328a9
duckops with state machines and no sleeps
digitalbread Dec 1, 2023
20f51b1
Luke, Gray and Coach Russ
digitalbread Dec 4, 2023
38271aa
duckops with state machines and no sleeps
digitalbread Dec 4, 2023
5235db2
Merge remote-tracking branch 'origin/McGreen' into McGreen
digitalbread Dec 4, 2023
215563a
OdoMec with Isabel's take on State Machines and no sleeps.
digitalbread Dec 5, 2023
ec85475
I AM HIM
BudsterGaming Dec 6, 2023
48de0ed
goodnight
BudsterGaming Dec 6, 2023
24a1c08
bug fixing of score poses and auto
BudsterGaming Dec 8, 2023
93c9de6
good night
BudsterGaming Dec 8, 2023
6ad8537
refactor names
BudsterGaming Dec 9, 2023
8b12cd3
New intake pos Wrist: 0.625 shoulder: 0.425 elbow: 0.83
Dec 9, 2023
3d04742
Merge remote-tracking branch 'origin/McGreen' into McGreen
Dec 9, 2023
ac21f4b
made da functions 4 da intake n score
BudsterGaming Dec 9, 2023
28c172b
added odomec
BudsterGaming Dec 9, 2023
00be033
New intake pos Wrist: 0.625 shoulder: 0.425 elbow: 0.83 V2
Dec 9, 2023
d6bc5a4
new stuff
Dec 9, 2023
5317a62
Possibly borked auto
BudsterGaming Dec 9, 2023
df73319
new intake stack 5 to 3
Dec 9, 2023
51964bc
Merge remote-tracking branch 'origin/McGreen' into McGreen
Dec 9, 2023
6fe1131
Working auto
BudsterGaming Dec 9, 2023
7fb5c0a
git working
Enigma-16265 Dec 10, 2023
14be03b
Merge remote-tracking branch 'origin/McGreen' into McGreen
Enigma-16265 Dec 10, 2023
a15246f
Pushing untested auto, deleted a comment in McMuffin
BudsterGaming Dec 10, 2023
0d73f6a
Merge remote-tracking branch 'origin/McGreen' into McGreen
BudsterGaming Dec 10, 2023
f412147
Now the elbow? C'mon now. Added new poses up to Score_Four
BudsterGaming Dec 10, 2023
0efa33c
new ArmWork stuff and some servo value adjustments
digitalbread Dec 12, 2023
44a9708
went through and checked the code, reorganized, functions to be with …
digitalbread Dec 12, 2023
a05171d
updates for positions to mutation teleop
digitalbread Dec 12, 2023
ad6f0f9
Blue left auto fully works
BudsterGaming Dec 13, 2023
bd83d62
updating Mutation
Dec 13, 2023
8aa3a76
updating Mutation
Dec 13, 2023
abff6fc
updating Mutation
Dec 13, 2023
5af066e
dirve funchion no go
BudsterGaming Dec 13, 2023
aecddab
Drive function can now go from any value w/ lift to drive pos. WOOOOOOOO
BudsterGaming Dec 13, 2023
2e483c2
Ermmm tele op good now yee haw
BudsterGaming Dec 13, 2023
8571eb0
Auto works 6/12 times
BudsterGaming Dec 13, 2023
2290109
Auto works 9/12 times
BudsterGaming Dec 13, 2023
7abc352
Auto works 9/12 times
BudsterGaming Dec 13, 2023
64e2050
Auto works 9/12 times
BudsterGaming Dec 13, 2023
c377f57
Auto works 9/12 times
BudsterGaming Dec 14, 2023
55566aa
new thread for isolating drive code
Dec 14, 2023
a9bf33d
Merge remote-tracking branch 'origin/McGreen' into McGreen
Dec 14, 2023
8e19850
new thread for isolating drive code
Dec 14, 2023
d14b20f
went through and checked the code, reorganized, functions to be with …
digitalbread Dec 14, 2023
2646eae
testing mecanum drive thread to avoid blocking code such as loops (wh…
BudsterGaming Dec 14, 2023
999fb2f
SUPER
BudsterGaming Dec 15, 2023
748aeee
166 is our best. Ready for comp!
BudsterGaming Dec 15, 2023
2041b81
State prep
BudsterGaming Dec 30, 2023
631fe1d
Testing 2+1
BudsterGaming Dec 30, 2023
5ca01b2
2+1 working
BudsterGaming Dec 30, 2023
abce31d
Ending the day with a reliable 1+1
BudsterGaming Dec 30, 2023
382a094
Jett mostly got the code working
BudsterGaming Jan 4, 2024
9e97a87
I cleaned up Jetts code :)
BudsterGaming Jan 4, 2024
10bd152
Merge remote-tracking branch 'ftcwires/ReleaseBranch' into McGreen
Jan 4, 2024
866fb69
Merge remote-tracking branch 'origin/McGreen' into McGreen
Jan 4, 2024
e7fdafb
did sopm,e things
BudsterGaming Jan 4, 2024
23e26b8
goodnight (a little ding ding ding)
BudsterGaming Jan 4, 2024
82560fb
start of bonus auto pixels
Jan 6, 2024
78f307c
Logic troubles
BudsterGaming Jan 6, 2024
a47f834
Goin to auto
BudsterGaming Jan 7, 2024
0b0c1c5
All tele op tuning done, need to fix auto tuck, need to tune top 2
BudsterGaming Jan 7, 2024
6e21640
auto tuning
BudsterGaming Jan 9, 2024
e8173aa
auto stuff
BudsterGaming Jan 10, 2024
f762fd8
pushing
BudsterGaming Jan 11, 2024
7f586a7
start of bonus auto pixels
Jan 11, 2024
53deb2a
start of bonus auto pixels
Jan 11, 2024
24b5f8a
Aberham Blinking
BudsterGaming Jan 11, 2024
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
1 change: 1 addition & 0 deletions TeamCode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ dependencies {

implementation "com.acmerobotics.roadrunner:ftc:0.1.10"
implementation "com.acmerobotics.dashboard:dashboard:0.4.14"
implementation "org.openftc:easyopencv:1.5.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package org.firstinspires.ftc.teamcode;

import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.Servo;

@TeleOp
public class AberhamLinconTest extends LinearOpMode {
private ColorSensor color;

private void function() {
}
@Override
public void runOpMode() throws InterruptedException {

color = hardwareMap.get(ColorSensor.class, "color");

telemetry.update();
waitForStart();
color.enableLed(true);
color.green();

while(opModeIsActive()) {


telemetry.update();
}
}
}
468 changes: 468 additions & 0 deletions TeamCode/src/main/java/org/firstinspires/ftc/teamcode/ArmWork.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
package org.firstinspires.ftc.teamcode;

import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Servo;

//@Autonomous
public class AutoFunctionJetts extends LinearOpMode {
private DcMotor rightFront; //front right 0
private DcMotor leftFront; //front left 2
private DcMotor rightBack; //rear right 1
private DcMotor leftBack;
DcMotor frontIntake;
DcMotor rearIntake;
private Servo shoulder;
private Servo wrist;
private Servo hopper;

public void FirstTest() {
rightFront.setPower(0.2);
rightBack.setPower(0.2);
leftBack.setPower(0.2);
leftFront.setPower(0.2);
sleep(300);
rightFront.setPower(-0.25);
rightBack.setPower(-0.25);
leftBack.setPower(0.25);
leftFront.setPower(0.25);
sleep(500);
rightFront.setPower(0.2);
rightBack.setPower(0.2);
leftBack.setPower(0.2);
leftFront.setPower(0.2);
sleep(300);
frontIntake.setPower(-0.3);
rearIntake.setPower(-0.3);


}

@Override
public void runOpMode() throws InterruptedException {
//Wheel init
rightFront = hardwareMap.get(DcMotor.class, "rightFront");
leftFront = hardwareMap.get(DcMotor.class, "leftFront");
rightBack = hardwareMap.get(DcMotor.class, "rightBack");
leftBack = hardwareMap.get(DcMotor.class, "leftBack");
//Intake init
frontIntake = hardwareMap.get(DcMotor.class, "frontIntake");
rearIntake = hardwareMap.get(DcMotor.class, "rearIntake");
//Holder init
wrist = hardwareMap.get(Servo.class, "wrist");
hopper = hardwareMap.get(Servo.class, "hopper");
//Arm init
shoulder = hardwareMap.get(Servo.class, "shoulder");
//Wheel Set
rightFront.setDirection(DcMotor.Direction.REVERSE);
leftFront.setDirection(DcMotor.Direction.FORWARD);
rightBack.setDirection(DcMotor.Direction.REVERSE);
leftBack.setDirection(DcMotor.Direction.FORWARD);
//Intake Set
frontIntake.setDirection(DcMotorSimple.Direction.FORWARD);
rearIntake.setDirection(DcMotorSimple.Direction.REVERSE);
frontIntake.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.FLOAT);
rearIntake.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.FLOAT);
rearIntake.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);
frontIntake.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);
//Holder Set
shoulder.setDirection(Servo.Direction.REVERSE);
wrist.setDirection(Servo.Direction.REVERSE);



FirstTest();

}
}
Loading