Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b449d90
test
maxspier May 28, 2023
569357e
added photonlib to code
maxspier May 30, 2023
54198b5
added a lot, changed some, just check the description
maxspier May 30, 2023
107b086
this somehow didn't get included in the last commit
maxspier May 30, 2023
82ced85
working on getting the coords from getBestCameraToTarget() instead of…
maxspier May 30, 2023
0032306
added new formulas
Jun 1, 2023
cbc5ba6
added Transform3d capability and a few other util
maxspier Jun 1, 2023
c31a909
fixed some stuff with old changes conflicting new ones and fixed the …
maxspier Jun 1, 2023
0717706
fixed (1), added comments and again pretended like I was a linter
maxspier Jun 2, 2023
2f96adb
fixed (3); added offsets using a transform3d
maxspier Jun 2, 2023
c1d4c11
added more (better) getter methods
maxspier Jun 2, 2023
9b0ed31
resolve comment (a.1)
maxspier Jun 3, 2023
46782ed
resolve comment (a.2)
maxspier Jun 3, 2023
b883173
deleted a lot so I can actually use on a burrowbot
Jun 3, 2023
70f5df0
added the -turn + forward for right motor
maxspier Jun 3, 2023
51ebfb3
jFrame Joystick Buttons?!?!?!?!
maxspier Jun 5, 2023
ba305c1
Update jFrame.java logs
maxspier Jun 6, 2023
a2aeb5f
im really good at coding
Jun 8, 2023
d4995c4
fixed it and it works!!!
Jun 8, 2023
dc946dd
general documentation
maxspier Jun 8, 2023
93d08f5
documentation!
maxspier Jun 9, 2023
c190750
hehe swerve
Jul 20, 2023
18d6aa5
Merge branch 'januaryTag' of https://github.com/Team766/2023 into jan…
Jul 20, 2023
318673e
first swerve vision test
Jul 22, 2023
3278d8b
test P.V. swerve code
maxspier Jul 26, 2023
4184a1c
e
Jul 27, 2023
d091c3e
Update Drive.java from unmerged code on main
maxspier Aug 13, 2023
d3b5144
Update januaryTag.java from correct unmerged code on main
maxspier Aug 13, 2023
c7d4364
Update OI.java
maxspier Aug 13, 2023
ae132a3
Update Drive.java RELIABLE ish januarytag code
maxspier Aug 24, 2023
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
2 changes: 2 additions & 0 deletions src/main/java/com/team766/framework/AutonomousMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public AutonomousMode(String name, Supplier<Procedure> constructor) {
m_name = name;
}



public Procedure instantiate() {
return m_constructor.get();
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/team766/hal/GenericRobotMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ public void autonomousInit() {
m_oiContext = null;
}

Robot.gyro.resetGyro180();
Robot.drive.setGyro(Robot.gyro.getGyroYaw());
//Robot.gyro.resetGyro180();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for commenting this out?

//Robot.drive.setGyro(Robot.gyro.getGyroYaw());

if (m_autonomous != null) {
Logger.get(Category.AUTONOMOUS).logRaw(Severity.INFO, "Continuing previous autonomus procedure " + m_autonomous.getContextName());
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/team766/odometry/Odometry.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ public PointDir run() {
}
return currentPosition;
}
}
}
4 changes: 2 additions & 2 deletions src/main/java/com/team766/robot/AutonomousModes.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ public class AutonomousModes {
// new AutonomousMode("DriveSlow", () -> new DriveStraight(0.4)),
// new AutonomousMode("FollowPoints", () -> new FollowPoints()),
// new AutonomousMode("ReverseIntake", () -> new ReverseIntake()),
new AutonomousMode("OnePieceExitCommunity", () -> new OnePieceExitCommunity()),
//new AutonomousMode("OnePieceExitCommunity", () -> new OnePieceExitCommunity()),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be careful about merging this.

// new AutonomousMode("OnePieceExitCommunityBalance", () -> new OnePieceExitCommunityBalance()),
// new AutonomousMode("OnePieceBalance", () -> new OnePieceBalance()),
// new AutonomousMode("FollowPointsFile", () -> new FollowPoints("FollowPoints.json")),
// //new AutonomousMode("FollowPointsH", () -> new FollowPoints(new PointDir[]{new PointDir(0, 0), new PointDir(2, 0), new PointDir(1, 0), new PointDir(1, 1), new PointDir(2, 1), new PointDir(0, 1)})),
// new AutonomousMode("DoNothing", () -> new DoNothing()),
//new AutonomousMode("DoNothing", () -> new DoNothing()),
};
}
Loading