Skip to content

Commit

Permalink
final one this time trust
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-K961 committed Mar 13, 2024
1 parent 86119cb commit 12bb34a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Spotless

on: [push]
on: [pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
spotless:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/main.yml/badge.svg)](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/main.yml)
[![.github/workflows/TruthMin.yml](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/TruthMin.yml/badge.svg)](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/TruthMin.yml)
[![Build](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/main.yml/badge.svg)](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/main.yml)
[![Spotless](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/TruthMin.yml/badge.svg)](https://github.com/FRC-Team-1710/2024-Robot/actions/workflows/TruthMin.yml)
# Team 1710 2024 Robot Code </br>
Thanks to dirtbikerxz for the [template](https://github.com/dirtbikerxz/BaseTalonFXSwerve). <br> <br>
Using PhotonVision with a Raspberry Pi 4, SDS Mk4i swerve modules, and PathPlanner autos with trajectory generation through Choreo.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ spotless {
exclude '**/build/**', '**/build-*/**'
}
toggleOffOn()
googleJavaFormat()
indentWithSpaces(4)
palantirJavaFormat().style("AOSP")
removeUnusedImports()
trimTrailingWhitespace()
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/lib/math/FiringSolutions.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package frc.lib.math;

// format:off
public final class FiringSolutions {
private static final double shooterHeight = 0.355;
private static final double noteFallAccel = 9.8;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/lib/math/FiringSolutionsV2.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package frc.lib.math;

// format:off
public class FiringSolutionsV2 {

private static final double shooterHeight = 0.355;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/lib/math/FiringSolutionsV3.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package frc.lib.math;

// format:off
import java.util.Optional;

import edu.wpi.first.math.geometry.Translation2d;
Expand Down

0 comments on commit 12bb34a

Please sign in to comment.