From 982f15c873ace432276b05b90e19a4c103e402dc Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Mon, 23 Dec 2024 12:43:09 -0500 Subject: [PATCH 1/2] test --- developerRobot/src/main/java/frc/robot/Robot.java | 6 +++++- developerRobot/src/main/native/cpp/Robot.cpp | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/developerRobot/src/main/java/frc/robot/Robot.java b/developerRobot/src/main/java/frc/robot/Robot.java index 6cf3f4738d7..2e7ec0b4e80 100644 --- a/developerRobot/src/main/java/frc/robot/Robot.java +++ b/developerRobot/src/main/java/frc/robot/Robot.java @@ -11,7 +11,11 @@ public class Robot extends TimedRobot { * This function is run when the robot is first started up and should be used for any * initialization code. */ - public Robot() {} + public Robot() { + + + + } /** This function is run once each time the robot enters autonomous mode. */ @Override diff --git a/developerRobot/src/main/native/cpp/Robot.cpp b/developerRobot/src/main/native/cpp/Robot.cpp index 6e013599e17..4a36587b2ba 100644 --- a/developerRobot/src/main/native/cpp/Robot.cpp +++ b/developerRobot/src/main/native/cpp/Robot.cpp @@ -4,13 +4,20 @@ #include + +#include + class Robot : public frc::TimedRobot { public: /** * This function is run when the robot is first started up and should be * used for any initialization code. */ - Robot() {} + Robot() { + + + + } /** * This function is run once each time the robot enters autonomous mode From abc513c0aaf68130cc16a737d29d2ea8cba386ff Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Mon, 23 Dec 2024 15:37:50 -0500 Subject: [PATCH 2/2] add pregen fault --- .../include/frc2/command/button/CommandXboxController.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wpilibNewCommands/src/generated/main/native/include/frc2/command/button/CommandXboxController.h b/wpilibNewCommands/src/generated/main/native/include/frc2/command/button/CommandXboxController.h index 9fb94f48254..a091773679f 100644 --- a/wpilibNewCommands/src/generated/main/native/include/frc2/command/button/CommandXboxController.h +++ b/wpilibNewCommands/src/generated/main/native/include/frc2/command/button/CommandXboxController.h @@ -19,6 +19,11 @@ namespace frc2 { * @see frc::XboxController */ class CommandXboxController : public CommandGenericHID { + + + + + public: /** * Construct an instance of a controller.