-
-
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 remote-tracking branch 'origin/dev' into dev
# Conflicts: # src/main/kotlin/frc/robot/RobotContainer.kt # src/main/kotlin/frc/robot/commands/drivetrain/Nearest180.kt
- Loading branch information
Showing
16 changed files
with
168 additions
and
48 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 @@ | ||
name: build | ||
on: | ||
push: | ||
branches: | ||
- main # run the action on your projects default branch | ||
#- dev | ||
|
||
jobs: | ||
build: | ||
name: Dependencies | ||
runs-on: ubuntu-latest | ||
permissions: # The Dependency Submission API requires write permission | ||
contents: write | ||
steps: | ||
- name: 'Checkout Repository' | ||
uses: actions/checkout@v3 | ||
|
||
- name: Root Gradle Dependency Submission | ||
uses: mikepenz/gradle-dependency-submission@v0.8.6 | ||
with: | ||
use-gradlew: false | ||
gradle-build-module: |- | ||
: | ||
gradle-build-configuration: |- | ||
compileClasspath |
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
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 |
---|---|---|
|
@@ -78,3 +78,5 @@ class SetSubsystemPosition( | |
(elevator.height - goalElevatorPosition).absoluteValue < 0.05 | ||
} | ||
|
||
|
||
|
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
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
33 changes: 33 additions & 0 deletions
33
src/main/kotlin/frc/robot/commands/intake/ManualZeroIntake.kt
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,33 @@ | ||
//package frc.robot.commands.intake | ||
// | ||
//import edu.wpi.first.wpilibj.Timer | ||
//import edu.wpi.first.wpilibj2.command.CommandBase | ||
//import frc.robot.RobotContainer | ||
//import frc.robot.constants.intake | ||
//import frc.robot.subsystems.Intake | ||
// | ||
//class ManualZeroIntake(private val robotContainer: RobotContainer): CommandBase() { | ||
// | ||
//// val timer = Timer() | ||
// init { | ||
// addRequirements(robotContainer.intake) | ||
// } | ||
// | ||
//// override fun initialize() { | ||
//// timer.restart() | ||
//// robotContainer.intake.modeZeroed = false | ||
//// robotContainer.intake.setDeployAngle(robotContainer.intake.deployPosition) | ||
//// } | ||
// override fun execute() { | ||
// robotContainer.intake.modeVoltage = -3.0 | ||
// robotContainer.intake.setModeAngle(-1.7) | ||
// } | ||
// | ||
// override fun end(interrupted: Boolean) { | ||
// robotContainer.intake.zeroModeMotor() | ||
// robotContainer.intake.modeVoltage = 0.0 | ||
// } | ||
// | ||
// override fun isFinished() = intake.an | ||
// | ||
//} |
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
Oops, something went wrong.