Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
65f18d2
Fix direction typo(change right to left)
Soupborsh Oct 25, 2025
016e9d6
feat: add telemetry to PIDF Tuners for error
vlad1k337 Nov 25, 2025
0feddc6
Merge branch 'Pedro-Pathing:master' into development
Professor348 Dec 2, 2025
081ae9b
Got NextFTC's command pathing working, did not use on dec6th auto.
Professor348 Dec 3, 2025
dbaffc0
fix: update distance moved displays
bboonstra Dec 5, 2025
4bb8334
Got the turret tracking semi-working and tuned turret rotation PID
Professor348 Dec 9, 2025
5fb68b5
Finalized turret tracking calculations and worked on hood and teleop …
Professor348 Dec 10, 2025
8922e98
Fixed a bug in Devices.DcMotorExClass that caused the PIDs to be rege…
Professor348 Dec 10, 2025
99fa967
Added Utils_.java for storing any software utilities, & added an Inte…
Professor348 Dec 12, 2025
eabfa8d
Retuned flywheel PID with weights, and added manual hood controls
Professor348 Dec 12, 2025
51c508e
Added the barebones structure for advanced telemetry handling.
NotABitcoinScam Dec 15, 2025
a3c9f02
Worked on cleaning up some hardware functions, tested REV Color Senso…
Professor348 Dec 15, 2025
5871b16
Tuned PedroPathing and worked on the auto system
Professor348 Dec 17, 2025
e1d80a2
Fixed bug with accessing auto paths and tested pathing, intake, and t…
Professor348 Dec 20, 2025
2488e36
Added DualProximitySensorClass to Devices.java and implemented sensor…
Professor348 Dec 20, 2025
33dc498
Installed Marrow's NextFTC Extension
Professor348 Dec 21, 2025
817e955
Add files via upload
NotABitcoinScam Dec 22, 2025
e9ddffd
Add LOAD Charts & Diagrams to README
NotABitcoinScam Dec 22, 2025
ae16d83
Update README to include image syntax for charts
NotABitcoinScam Dec 22, 2025
cf708cd
Added a few new static variables for Panels tuning
Professor348 Dec 22, 2025
f7f2012
Added a RetryCommand example to Auto_Main_.java for later reference
Professor348 Dec 23, 2025
8cbe5f3
Integrated Auto-transfer into shooting state machine, and made prelim…
Professor348 Dec 27, 2025
d9ae636
Merge pull request #22 from Soupborsh/patch-1
BaronClaps Dec 27, 2025
47c3e31
Enforce one-time reopen for mistake PRs and disable auto-reopen after…
adi-varshney Dec 27, 2025
1cbec0a
Adjusted aimbot update function to pull the alliance directly from Lo…
Professor348 Dec 28, 2025
07ea660
Wrote wrapper in Commands.java to autoshoot all 3 balls using the pro…
Professor348 Dec 29, 2025
44528d1
Added odometry telemetry to teleop because i was having issues with o…
NotABitcoinScam Dec 29, 2025
264d8fc
More tweaks for auto testing
Professor348 Dec 29, 2025
e920ee0
Improved some formatting for auto Commands by passing Robot object in…
Professor348 Dec 30, 2025
f3aa71b
Improved some formatting for auto Commands by passing Robot object in…
Professor348 Dec 30, 2025
7ea0b89
Significantly overhauled the way new auto programs are created
Professor348 Dec 30, 2025
0dd6344
Adjusted the implementation of Auto template class to make it easier …
Professor348 Dec 30, 2025
040ac93
Added a temp speed value to Auto_Main for David's viewing pleasure
NotABitcoinScam Dec 30, 2025
fdc2d0d
Fixed bug with the toString() method in the auto programs
Professor348 Dec 30, 2025
6baa577
Fixed incorrect start position for some of the auto paths
Professor348 Dec 30, 2025
8f17186
Implemented (But did not finish/enable) the InterpLUT within Turret.j…
Professor348 Dec 31, 2025
7c8f56f
Downloaded GoBilda Prism Driver and Config program for LED strips
Professor348 Dec 31, 2025
8ce7df4
Update Pedro version from 2.0.4 to 2.0.5
BaronClaps Jan 1, 2026
7cdb3d4
Merge branch 'Pedro-Pathing:master' into development
Professor348 Jan 1, 2026
0b21b4d
Added an experimental updateAimbotWithVelocity function to run the ai…
Professor348 Jan 1, 2026
c793f2c
Temporarily disabled the turret rotation in Teleop_Main_.java
NotABitcoinScam Jan 2, 2026
f656350
Optimized a few things in Teleop_Main_
Professor348 Jan 4, 2026
445823e
Added a setHoodPos parameter for tuning
Professor348 Jan 4, 2026
eaf58d8
Created a more complex auto for testing
Professor348 Jan 4, 2026
e60a794
FIRST TEST COMMIT FROM MY NEW COMPUTER =D
NotABitcoinScam Jan 5, 2026
4d2357b
Added some comments
NotABitcoinScam Jan 5, 2026
da1ca94
Toyed with telemetry system but commeneted it out
NotABitcoinScam Jan 6, 2026
77e99a1
Removed redundant function getMaxFlywheelSpeed in favor of pulling di…
Professor348 Jan 6, 2026
dc71a93
Set the zero power behavior of the flywheels to FLOAT
NotABitcoinScam Jan 6, 2026
0980c37
Merge remote-tracking branch 'origin/development' into development
NotABitcoinScam Jan 6, 2026
d59015a
Commented out the turret zeroing function in Teleop_Outreach_.java fo…
Professor348 Jan 7, 2026
fdc0540
Re-tuned turret PID for new sprocket, and did some work on auto testing
Professor348 Jan 9, 2026
567d10d
Retuned turret PID and did a bit of flywheel work
Professor348 Jan 12, 2026
d8c9a0d
Added some TODOs
NotABitcoinScam Jan 12, 2026
9e8549b
Autoaim, hood, & turret work
Professor348 Jan 13, 2026
127174e
Created InterpLUTPoint class
NotABitcoinScam Jan 13, 2026
8d0edb0
Created InterpLUTPoint class
NotABitcoinScam Jan 13, 2026
fbf84c0
Implemented auto speed change for shooting zones and started building…
Professor348 Jan 14, 2026
ee9c96c
Updated in-code controls diagrams and moved non-code diagrams to thei…
Professor348 Jan 14, 2026
ccb5348
Made Diagrams folder into Obsidian Workspace
Professor348 Jan 14, 2026
b644bc2
Fixed major bug in auto path mirror function, and did some auto work.
Professor348 Jan 16, 2026
5376387
Merge remote-tracking branch 'origin/development' into development
Professor348 Jan 16, 2026
3f57e05
Changed teleop code to use the ending position of auto as it's start …
Professor348 Jan 16, 2026
0f13549
Merge remote-tracking branch 'origin/development' into development
Professor348 Jan 16, 2026
00dae44
Auto work
Professor348 Jan 17, 2026
bca8d0c
Quick bugfix with one of the InterpLUT points for hood autoaim
Professor348 Jan 17, 2026
007b91d
Auto & teleop work during scrimmage
Professor348 Jan 17, 2026
97538e5
Merge branch 'master' into development
Professor348 Jan 17, 2026
ba2ec14
Revert "Merge branch 'master' into development"
Professor348 Jan 17, 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
45 changes: 45 additions & 0 deletions .github/workflows/disable-auto-reopen-after-second-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Disable auto-reopen after second close

on:
pull_request:
types: [closed]

permissions:
issues: write
pull-requests: write

jobs:
disable:
runs-on: ubuntu-latest
steps:
- name: Disable automatic reopen
uses: actions/github-script@v7
with:
script: |
const pr = context.payload.pull_request;
// Ignore merged PRs
if (pr.merged) return;
const labels = pr.labels.map(l => l.name);
// Only act if it was previously reopened once
if (!labels.includes('reopen-used')) return;
// Mark auto-reopen as permanently disabled
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
labels: ['reopen-locked']
});
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
body:
"This PR was reopened once and then closed again.\n\n" +
"Automatic reopening via `/not-a-mistake` is now disabled.\n" +
"Maintainers may still reopen this PR manually if needed."
});
67 changes: 67 additions & 0 deletions .github/workflows/mistake-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Auto-close mistake PRs

on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
issues: write
pull-requests: write

jobs:
detect:
runs-on: ubuntu-latest
steps:
- name: Detect mistake PR
uses: actions/github-script@v7
with:
script: |
const pr = context.payload.pull_request;
const labels = pr.labels.map(l => l.name);
// Skip if auto-reopen is disabled or already used
if (labels.includes('reopen-used') || labels.includes('reopen-locked')) {
return;
}
// Get changed files
const files = await github.paginate(
github.rest.pulls.listFiles,
{
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr.number,
}
);
// Detect newly added OR copied files
const hasNewFiles = files.some(
f => f.status === 'added' || f.status === 'copied'
);
if (!hasNewFiles) return;
// Label as mistake PR
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
labels: ['mistake-pr']
});
// Explain and close
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
body:
"This PR was automatically closed because it adds new files.\n\n" +
"If this is intentional, comment `/not-a-mistake` **once** to reopen it."
});
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr.number,
state: 'closed'
});
84 changes: 84 additions & 0 deletions .github/workflows/reopen-once.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Reopen mistake PR once

on:
issue_comment:
types: [created]

permissions:
issues: write
pull-requests: write

jobs:
reopen:
runs-on: ubuntu-latest
steps:
- name: Handle /not-a-mistake
uses: actions/github-script@v7
with:
script: |
const comment = context.payload.comment;
const issue = context.payload.issue;
if (!issue.pull_request) return;
if (comment.body.trim() !== '/not-a-mistake') return;
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: issue.number
});
const labels = pr.data.labels.map(l => l.name);
// Only PR author may use this
if (comment.user.login !== pr.data.user.login) {
return;
}
// Must be closed and labeled mistake-pr
if (pr.data.state !== 'closed') return;
if (!labels.includes('mistake-pr')) return;
// Auto-reopen already disabled
if (labels.includes('reopen-used') || labels.includes('reopen-locked')) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
body:
"Automatic reopening is disabled for this PR.\n\n" +
"A maintainer may still reopen it manually if needed."
});
return;
}
// Mark reopen as used FIRST (prevents race)
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
labels: ['reopen-used']
});
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
name: 'mistake-pr'
});
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: issue.number,
state: 'open'
});
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
body:
"PR reopened.\n\n" +
"If this PR is closed again, automatic reopening will be disabled."
});
1 change: 1 addition & 0 deletions Diagrams/.obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions Diagrams/.obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
33 changes: 33 additions & 0 deletions Diagrams/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"footnotes": false,
"properties": true,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": true,
"bases": true,
"webviewer": false
}
Loading