Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
db79f69
Getting some basics in place
tbowers7 Sep 23, 2024
0e792ad
Starting to fill in the skeleton
tbowers7 Sep 23, 2024
b704210
Adding from AdvantageKit's Advanced Swerve sketch
tbowers7 Sep 23, 2024
3c15202
Add the YAGSL example project
tbowers7 Sep 25, 2024
3281d84
Include Choreo as auto option
tbowers7 Sep 26, 2024
3294049
Add logo to README
tbowers7 Sep 28, 2024
0e01941
GitHub dependency checks
tbowers7 Sep 30, 2024
7be4c8f
Remove drive subsystem and commands from AK sketch
tbowers7 Oct 2, 2024
ff5774d
Adding in YAGSL config files
tbowers7 Oct 2, 2024
7c11394
Moving toward Power Monitoring and Management
tbowers7 Oct 9, 2024
60777b3
Add accelerometer VirtualSubsystem to report accels
tbowers7 Oct 9, 2024
69952d3
Cleaning up constants a bit
tbowers7 Oct 9, 2024
15f7f73
Organization and adding README's
tbowers7 Oct 10, 2024
bf3d564
Moving stuff around
tbowers7 Oct 11, 2024
a7efee6
Parsing out the vision into a separate subsystem
tbowers7 Oct 11, 2024
0ba542c
Explicitly make the flywheel an example subsystem
tbowers7 Oct 11, 2024
80109bb
Cleaning up some loose ends
tbowers7 Oct 11, 2024
36fb168
Create dependabot.yml
tbowers7 Oct 15, 2024
ccbddaf
Integrating YAGSL / PathPlanner deploy files
tbowers7 Oct 15, 2024
503ae73
Add LF setting to vscode
tbowers7 Oct 15, 2024
9a1348f
Added default GitHub action
ljruskin Oct 17, 2024
8bfacdf
added status badge to readme
Oct 17, 2024
4a387ba
added spotless for code cleanliness
Oct 17, 2024
e747437
Merge pull request #4 from AZ-First/feat-added-spotless
ljruskin Oct 17, 2024
4068eb7
sorts imports + imports sorted
Oct 17, 2024
9fe7d26
Merge branch 'main' into sorted-imports
ljruskin Oct 17, 2024
e5ba571
Merge pull request #5 from AZ-First/sorted-imports
ljruskin Oct 17, 2024
0f30ad4
Minor tweaks
tbowers7 Oct 15, 2024
0ede272
added json section to linter
Oct 17, 2024
5c859ee
Merge pull request #6 from AZ-First/added-json-to-linter
tbowers7 Oct 17, 2024
d483e42
First pass through the swerve drive subsystem
tbowers7 Oct 21, 2024
8cd4e4c
Updating against YAGSL 2024.6.1.0
tbowers7 Oct 21, 2024
38047b2
Add modified versions of YAGSL modules for CTRE Pro
tbowers7 Oct 22, 2024
587a0c8
Use Phoenix6 swervedrive for all-CTRE, YAGSL for all else?
tbowers7 Oct 23, 2024
36c0dcb
Stopoff on the way toward CTRE-centric swerve
tbowers7 Oct 23, 2024
bf463c2
Drive subsystem == Phoenix6/CTRE
tbowers7 Oct 23, 2024
0414014
Builds and runs with CRTE swerve library
tbowers7 Oct 24, 2024
400383a
Plumbed in accelerometers to logging
tbowers7 Oct 30, 2024
2ce0bdc
Progress on the CTRE telemetry front
tbowers7 Oct 30, 2024
0b5e080
Organizing the commands and whatnot
tbowers7 Oct 30, 2024
c3e5f52
Add CTRE Phoenix6 Tuner X Swerve Generator
tbowers7 Nov 1, 2024
6d401a9
Working on finding loop overruns
tbowers7 Nov 2, 2024
8b343e2
Update YAGSL vendordep
tbowers7 Nov 6, 2024
2756a5c
Include PDH Port number in RobotDeviceId
tbowers7 Nov 6, 2024
224d482
Add Advantake-Kit compliant Vision inputs
tbowers7 Nov 6, 2024
589eda4
Update README's
tbowers7 Nov 6, 2024
8e64838
Make power monitoring easier
tbowers7 Nov 6, 2024
4bde82b
Some organization, prep for alpha release
tbowers7 Nov 20, 2024
5330ae4
Revert swerve to AK 2024 Swerve Example
tbowers7 Nov 20, 2024
411004a
Making progress... DOES NOT BUILD YET
tbowers7 Nov 22, 2024
0387d4b
YAGSL values now available under Tuner names
tbowers7 Nov 22, 2024
23a59ad
Drivebase constants from Phoenix / YAGSL combined
tbowers7 Nov 22, 2024
a3cbd3e
Remove constants from drive IO files
tbowers7 Nov 22, 2024
d34f392
Drive constructor is complete
tbowers7 Nov 23, 2024
1dd0d00
Last-minute thoughts for the nights
tbowers7 Nov 23, 2024
ae974fb
Add AK-compliant commands; TESTING REQ'D
tbowers7 Nov 25, 2024
642ab32
Bump io.freefair.lombok from 8.10.2 to 8.11
dependabot[bot] Dec 1, 2024
65d0d68
Merge pull request #7 from AZ-First/dependabot/gradle/io.freefair.lom…
tbowers7 Dec 1, 2024
06e27c8
Code builds and deploys; bugs to be fixed
tbowers7 Dec 1, 2024
de90c22
Updated TunerConstants file
tbowers7 Dec 1, 2024
400068c
Functioning drive base!
tbowers7 Dec 3, 2024
4ae53e9
Remove pubish_release action
tbowers7 Dec 13, 2024
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
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for gradle
- package-ecosystem: "gradle"
directory: "/" # Location of package manifests
registries: "*"
labels:
- "gradle dependencies"
schedule:
interval: "monthly"
22 changes: 22 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dependency Submission

on:
push:
branches: [ 'main' ]

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
54 changes: 54 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This is a basic workflow to build robot code.

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a job called "build" which is the main build
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# This grabs the WPILib docker container
container: wpilib/roborio-cross-ubuntu:2024-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
- uses: actions/checkout@v4

# 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

# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Runs a single command using the runners shell
- name: Compile and run tests on robot code
run: ./gradlew build

# This workflow contains a job called "build" which is the main build
spotless:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# 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
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- run: ./gradlew spotlessCheck
159 changes: 158 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
# This gitignore has been specially created by the WPILib team.
# If you remove items from this file, intellisense might break.

### C++ ###
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

### Java ###
# Compiled class file
*.class

Expand All @@ -21,4 +59,123 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Gradle ###
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

# # VS Code Specific Java Settings
# DO NOT REMOVE .classpath and .project
.classpath
.project
.settings/
bin/

# IntelliJ
*.iml
*.ipr
*.iws
.idea/
out/

# Fleet
.fleet

# Simulation GUI and other tools window save file
simgui*.json
ctre_sim
networktables.json

# Version file
src/main/java/frc/robot/BuildConstants.java

# Do not push changes to the wpilib_preferences,json file
wpilib_preferences.json
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "wpilib",
"name": "WPILib Desktop Debug",
"request": "launch",
"desktop": true
},
{
"type": "wpilib",
"name": "WPILib roboRIO Debug",
"request": "launch",
"desktop": false
}
]
}
36 changes: 36 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.server.launchMode": "Standard",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"bin/": true,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true,
"**/*~": true
},
"java.test.config": [
{
"name": "WPIlibUnitTests",
"workingDirectory": "${workspaceFolder}/build/jni/release",
"vmargs": [
"-Djava.library.path=${workspaceFolder}/build/jni/release"
],
"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
}
},
null
],
"java.test.defaultConfig": "WPIlibUnitTests",
"editor.indentSize": 2,
"editor.inlayHints.enabled": "on",
"editor.tabSize": 2,
"files.eol": "\n"
}
6 changes: 6 additions & 0 deletions .wpilib/wpilib_preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2024",
"teamNumber": 0
}
Binary file added AZ-First-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading