From b898733c7aaabb0170b3dc7532d9a5c558c3c886 Mon Sep 17 00:00:00 2001 From: 2713driverstation Date: Tue, 22 Oct 2024 19:04:49 -0400 Subject: [PATCH] Automated deploy commit at 10/22/2024 19:04:49 --- .Glass/glass.json | 27 ++++++++++++++++++- .../java/frc/robot/util/MotionHandler.java | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.Glass/glass.json b/.Glass/glass.json index 1a3f3646..1f802dd0 100644 --- a/.Glass/glass.json +++ b/.Glass/glass.json @@ -1,9 +1,34 @@ { + "NetworkTables": { + "retained": { + "AdvantageKit": { + "DashboardInputs": { + "open": true + }, + "open": true + }, + "SmartDashboard": { + "open": true + } + }, + "types": { + "/FMSInfo": "FMSInfo", + "/SmartDashboard/Autonomous Routine": "String Chooser", + "/SmartDashboard/Mech2d": "Mechanism2d", + "/SmartDashboard/Robot Mode": "String Chooser" + } + }, "NetworkTables Info": { + "Clients": { + "open": true + }, + "Server": { + "open": true + }, "visible": true }, "NetworkTables Settings": { "mode": "Client (NT4)", - "serverTeam": "127.0.0.1" + "serverTeam": "10.27.13.1" } } diff --git a/src/main/java/frc/robot/util/MotionHandler.java b/src/main/java/frc/robot/util/MotionHandler.java index 1bddde78..6e4eb994 100644 --- a/src/main/java/frc/robot/util/MotionHandler.java +++ b/src/main/java/frc/robot/util/MotionHandler.java @@ -53,7 +53,7 @@ public static ChassisSpeeds driveTrajectoryHeadingController(ChassisSpeeds cs) { * @return The desired array of desaturated swerveModuleStates. */ public static ChassisSpeeds driveFullControl() { - double speedFactor = Robot.modeManager.getMode() == RobotMode.DEMO ? 0.01 : 1; + double speedFactor = Robot.modeManager.getMode() == RobotMode.DEMO ? 0.1 : 1; double xSpeed = MathUtil.applyDeadband(-Robot.driver.getLeftY(), DriveConstants.K_JOYSTICK_TURN_DEADZONE)