Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ jobs:
container: wpilib/roborio-cross-ubuntu:2025-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: reset permissions
run: sudo chown -R $(whoami) .
- name: initialize common
run: git submodule init
- name: add common
run: git submodule add https://github.com/SubZero-Robotics/2025-CommandRobot
- name: update common
run: git submodule update
# Declares the repository safe and not under dubious ownership.
- name: Add repository to git safe directories
run: git config --global --add safe.directory $GITHUB_WORKSPACE
Expand All @@ -27,4 +35,7 @@ jobs:
run: chmod +x gradlew
# Runs a single command using the runners shell
- name: Compile and run tests on robot code

run: ./gradlew build


4 changes: 2 additions & 2 deletions src/main/cpp/subsystems/MAXSwerveModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <frc/geometry/Rotation2d.h>

#include "Subsystems/Configs.h"
#include "subsystems/Configs.h"

using namespace rev::spark;

Expand Down Expand Up @@ -64,4 +64,4 @@ void MAXSwerveModule::SetDesiredState(
m_desiredState = desiredState;
}

void MAXSwerveModule::ResetEncoders() { m_drivingEncoder.SetPosition(0); }
void MAXSwerveModule::ResetEncoders() { m_drivingEncoder.SetPosition(0); }