This commit is contained in:
Olivier Dubois 2024-02-01 17:27:45 -05:00
commit 0a7bc055c5
2 changed files with 16 additions and 1 deletions

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
default:
image: gradle:jdk17
tags:
- robot
stages: # List of stages for jobs, and their order of execution
- build
build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- chmod +x gradlew
- ./gradlew build

View File

@ -9,6 +9,8 @@ import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands; import edu.wpi.first.wpilibj2.command.Commands;
import edu.wpi.first.wpilibj2.command.RunCommand; import edu.wpi.first.wpilibj2.command.RunCommand;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
// Manette
// Manettes // Manettes
import edu.wpi.first.wpilibj2.command.button.CommandJoystick; import edu.wpi.first.wpilibj2.command.button.CommandJoystick;
@ -61,6 +63,6 @@ public class RobotContainer {
} }
public Command getAutonomousCommand() { public Command getAutonomousCommand() {
return Commands.print("No autonomous command configured"); return new SequentialCommandGroup(null);
} }
} }