Skip to content

Commit

Permalink
working dt:
Browse files Browse the repository at this point in the history
  • Loading branch information
Shom770 authored and MatthewChoulas committed Jan 20, 2024
1 parent 5ae2224 commit 6f31d37
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 133 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/com/team4099/robot2023/RobotContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.team4099.robot2023

import com.team4099.robot2023.auto.AutonomousSelector
import com.team4099.robot2023.commands.drivetrain.ResetGyroYawCommand
import com.team4099.robot2023.commands.drivetrain.TargetPoseCommand
import com.team4099.robot2023.commands.drivetrain.TeleopDriveCommand
import com.team4099.robot2023.config.ControlBoard
import com.team4099.robot2023.config.constants.Constants
Expand Down Expand Up @@ -118,7 +117,6 @@ object RobotContainer {

fun mapTeleopControls() {
ControlBoard.resetGyro.whileTrue(ResetGyroYawCommand(drivetrain, toAngle = 180.degrees))
ControlBoard.groundIntakeTest.whileTrue(TargetPoseCommand(drivetrain, Pose2d(27.feet, 13.5.feet, 0.0.degrees)))
// ControlBoard.autoLevel.whileActiveContinuous(
// GoToAngle(drivetrain).andThen(AutoLevel(drivetrain))
// )
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/kotlin/com/team4099/robot2023/config/ControlBoard.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,4 @@ object ControlBoard {

// for testing
val setArmCommand = Trigger { technician.yButton }

val groundIntakeTest = Trigger { driver.aButton }
}

0 comments on commit 6f31d37

Please sign in to comment.