Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fc052ec
Initial Stage 2 ctre code, unfinished
roboteer5291 Aug 4, 2026
45cbe13
Tweaks + Javadoc
roboteer5291 Aug 4, 2026
2072d69
Update to alpha 7
roboteer5291 Sep 4, 2026
fb2d5a7
Many updates
roboteer5291 Sep 10, 2026
6fd6ff0
Real CTRE alpha 7 vendordep
roboteer5291 Sep 24, 2026
61d2712
Merge branch 'stage2' into stage2-ctre-solution
roboteer5291 Sep 24, 2026
2beac2e
Merge branch 'stage2' into stage2-ctre-solution
roboteer5291 Sep 24, 2026
bab11a4
Spotless + small fixes
roboteer5291 Oct 13, 2026
2089dfc
Spotless for real this time
roboteer5291 Oct 14, 2026
6c6a899
Merge branch 'stage2' into stage2-ctre-solution
roboteer5291 Oct 14, 2026
b19310c
Relocate periodic methods to Robot
roboteer5291 Oct 15, 2026
45c4545
Merge remote-tracking branch 'roboteer5291/stage2-ctre-solution' into…
roboteer5291 Oct 15, 2026
8ece340
Change drive ratios to being calculated, not just magic numbers
roboteer5291 Oct 15, 2026
eab183f
Spotless
roboteer5291 Oct 15, 2026
ffe5876
Convert mechanism telemetry to tables, add units
roboteer5291 Oct 15, 2026
3a9f182
Remove duplicate coralsim/robotvisualization periodic calls
roboteer5291 Oct 15, 2026
a12b99a
Intake borked
roboteer5291 Oct 16, 2026
739ac58
Merge branch 'stage2' into stage2-ctre-solution
roboteer5291 Oct 27, 2026
ba650a2
push
roboteer5291 Oct 29, 2026
bb2f916
Intake pivot works!
roboteer5291 Oct 29, 2026
f44585d
Remove intake sim notifier and retune PID
roboteer5291 Oct 29, 2026
874c025
Add claw, indexer, and intake voltage to CoralSim, add intake to teleop
roboteer5291 Oct 29, 2026
a7ee053
Spotless
roboteer5291 Oct 29, 2026
7b5923f
Create 4 coral auto
roboteer5291 Oct 30, 2026
7f174a4
Make auto use a for loop
roboteer5291 Oct 30, 2026
33c9050
Retune arm, fix arm sign
roboteer5291 Oct 30, 2026
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ bun.lock
.DS_Store

.vscode
*/.idea/


# Build files
.gradle
Expand Down
187 changes: 187 additions & 0 deletions examples/stage2/templates/ctre/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
# 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

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_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

### 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
networktables.json
simgui.json
*-window.json

# Simulation data log directory
logs/

# Folder that has CTRE Phoenix Sim device config storage
ctre_sim/

# clangd
/.cache
compile_commands.json

# Eclipse generated file for annotation processors
.factorypath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2027_alpha7",
"teamNumber": 9999

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick, but you can set this to null instead.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set what?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the team number

}
24 changes: 24 additions & 0 deletions examples/stage2/templates/ctre/WPILib-License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Copyright (c) 2009-2026 FIRST and other WPILib contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of FIRST, WPILib, nor the names of other WPILib
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY FIRST AND OTHER WPILIB CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL FIRST OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"name": "Midtide",
"rotations": [
{"axis": "x",
"degrees": 90},
{"axis": "z",
"degrees": 90}
],
"position": [
0,
0,
0
],
"components": [
{
"name": "elevator",
"zeroedRotations": [
{"axis": "x",
"degrees": 90},
{"axis": "z",
"degrees": 90}
],
"zeroedPosition": [
0,
0,
0
]
},
{
"name": "carriage",
"zeroedRotations": [
{"axis": "x",
"degrees": 90},
{"axis": "z",
"degrees": 90}
],
"zeroedPosition": [
0,
0,
-0.5627090346
]
},
{
"name": "arm",
"zeroedRotations": [
{"axis": "x",
"degrees": 90},
{"axis": "z",
"degrees": 90}
],
"zeroedPosition": [
0,
0,
-1.06854
]
},
{
"name": "intake",
"zeroedRotations": [
{"axis": "x",
"degrees": 90},
{"axis": "z",
"degrees": 90}
],
"zeroedPosition": [
-0.324690,
0,
-0.298374
]
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading