-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Team334/R2024
- Loading branch information
Showing
9 changed files
with
262 additions
and
150 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"version": 1.0, | ||
"startingPose": { | ||
"position": { | ||
"x": 1.9099007567375976, | ||
"y": 6.998240302783657 | ||
}, | ||
"rotation": 0 | ||
}, | ||
"command": { | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "Test Path" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"folder": null, | ||
"choreoAuto": false | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{ | ||
"version": 1.0, | ||
"waypoints": [ | ||
{ | ||
"anchor": { | ||
"x": 1.9099007567375976, | ||
"y": 6.998240302783657 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 2.455338244008969, | ||
"y": 7.007485005957748 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 2.889839293191247, | ||
"y": 6.998240302783657 | ||
}, | ||
"prevControl": { | ||
"x": 2.5374475056350487, | ||
"y": 6.998240302783657 | ||
}, | ||
"nextControl": { | ||
"x": 2.8990839963653383, | ||
"y": 6.998240302783657 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 1.9099007567375976, | ||
"y": 7.608390712273665 | ||
}, | ||
"prevControl": { | ||
"x": 1.9838583821303262, | ||
"y": 7.6268801186218464 | ||
}, | ||
"nextControl": { | ||
"x": 1.8576048183019434, | ||
"y": 7.595316727664752 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 7.558414396107218, | ||
"y": 7.460475461488208 | ||
}, | ||
"prevControl": { | ||
"x": 5.595400123565224, | ||
"y": 7.460475461488208 | ||
}, | ||
"nextControl": { | ||
"x": 7.650861427848128, | ||
"y": 7.460475461488208 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 1.8636772408671425, | ||
"y": 5.472864279058636 | ||
}, | ||
"prevControl": { | ||
"x": 4.821982256577126, | ||
"y": 6.406579299645086 | ||
}, | ||
"nextControl": null, | ||
"isLocked": false, | ||
"linkedName": null | ||
} | ||
], | ||
"rotationTargets": [ | ||
{ | ||
"waypointRelativePos": 1, | ||
"rotationDegrees": 0, | ||
"rotateFast": false | ||
}, | ||
{ | ||
"waypointRelativePos": 2, | ||
"rotationDegrees": 90.0, | ||
"rotateFast": false | ||
}, | ||
{ | ||
"waypointRelativePos": 3, | ||
"rotationDegrees": 0, | ||
"rotateFast": false | ||
}, | ||
{ | ||
"waypointRelativePos": 3.6, | ||
"rotationDegrees": 180.0, | ||
"rotateFast": false | ||
} | ||
], | ||
"constraintZones": [], | ||
"eventMarkers": [], | ||
"globalConstraints": { | ||
"maxVelocity": 4.0, | ||
"maxAcceleration": 3.0, | ||
"maxAngularVelocity": 540.0, | ||
"maxAngularAcceleration": 720.0 | ||
}, | ||
"goalEndState": { | ||
"velocity": 0, | ||
"rotation": 180.0, | ||
"rotateFast": true | ||
}, | ||
"reversed": false, | ||
"folder": null, | ||
"previewStartingState": null, | ||
"useDefaultConstraints": false | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* Team 334 */ | ||
/* Copyright (c) 2024 Team 334. All Rights Reserved. */ | ||
|
||
package frc.robot.subsystems; | ||
|
||
import edu.wpi.first.math.controller.PIDController; | ||
import edu.wpi.first.wpilibj2.command.SubsystemBase; | ||
import frc.robot.Constants; | ||
|
||
import com.revrobotics.CANSparkMax; | ||
import com.revrobotics.RelativeEncoder; | ||
import com.revrobotics.CANSparkLowLevel.MotorType; | ||
|
||
public class ElevatorSubsystem extends SubsystemBase { | ||
/** Creates a new ElevatorSubsystem. */ | ||
public ElevatorSubsystem() {} | ||
|
||
@Override | ||
public void periodic() { | ||
// This method will be called once per scheduler run | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* Team 334 */ | ||
/* Copyright (c) 2024 Team 334. All Rights Reserved. */ | ||
|
||
package frc.robot.subsystems; | ||
|
||
import edu.wpi.first.math.controller.PIDController; | ||
import edu.wpi.first.wpilibj2.command.SubsystemBase; | ||
import frc.robot.Constants; | ||
|
||
import com.revrobotics.CANSparkMax; | ||
import com.revrobotics.RelativeEncoder; | ||
import com.revrobotics.CANSparkLowLevel.MotorType; | ||
|
||
public class IntakeSubsystem extends SubsystemBase { | ||
/** Creates a new IntakeSubsystem. */ | ||
public IntakeSubsystem() {} | ||
|
||
@Override | ||
public void periodic() { | ||
// This method will be called once per scheduler run | ||
} | ||
} |
Oops, something went wrong.