Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
speedboi
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavsial committed Nov 2, 2024
1 parent e618e23 commit e4161c8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"diffEditor.ignoreTrimWhitespace": false,
"java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
"java.checkstyle.configuration": "${workspaceFolder}/.github/linters/checkstyle.xml",
"java.checkstyle.version": "9.3"
"java.checkstyle.version": "9.3",
"java.debug.settings.onBuildFailureProceed": true
}
1 change: 1 addition & 0 deletions simConfig.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"robotConfigurator":"com.team766.robot.rookie_bot.Robot",
"drive": {
"leftMotor": {
"deviceId": 6,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public class Drive extends Mechanism {
public MotorController rightMotor;

public Drive() {
leftMotor = RobotProvider.instance.getMotor("drive.Left");
rightMotor = RobotProvider.instance.getMotor("drive.Right");
leftMotor = RobotProvider.instance.getMotor("drive.leftMotor");
rightMotor = RobotProvider.instance.getMotor("drive.rightMotor");
}

public void drive(double leftPower, double rightPower) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class DriveStraight extends Procedure {
public void run(Context context) {
Robot.drive.drive(0.05, 0.05);
Robot.drive.drive(1, 1);
context.waitForSeconds(3);
Robot.drive.drive(0, 0);
}
Expand Down
6 changes: 3 additions & 3 deletions vendordeps/PathplannerLib.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"fileName": "PathplannerLib.json",
"name": "PathplannerLib",
"version": "2024.1.6",
"version": "2024.2.8",
"uuid": "1b42324f-17c6-4875-8e77-1c312bc8c786",
"frcYear": "2024",
"mavenUrls": [
Expand All @@ -12,15 +12,15 @@
{
"groupId": "com.pathplanner.lib",
"artifactId": "PathplannerLib-java",
"version": "2024.1.6"
"version": "2024.2.8"
}
],
"jniDependencies": [],
"cppDependencies": [
{
"groupId": "com.pathplanner.lib",
"artifactId": "PathplannerLib-cpp",
"version": "2024.1.6",
"version": "2024.2.8",
"libName": "PathplannerLib",
"headerClassifier": "headers",
"sharedLibrary": false,
Expand Down

0 comments on commit e4161c8

Please sign in to comment.