Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
e840475
FEAT: added tall robot corner bites to fit with them
jopy-wng Apr 28, 2026
4ec8b7e
FEAT: ditto
jopy-wng Apr 28, 2026
8285f4e
feat: stop ferrying when behind opponent's hub (rectangle restriction…
Danx3mer Apr 29, 2026
51d696e
feat: superstruct state to STOW when moving out of your own alliance …
SP-COMPuter Apr 29, 2026
5370c91
Merge branch 'champs' of https://github.com/StuyPulse/Tribecbot into …
SP-COMPuter Apr 29, 2026
d34d211
Revert "feat: stop ferrying when behind opponent's hub (rectangle res…
SP-COMPuter Apr 29, 2026
9ee3d8a
feat: max ferry rpm 4900, ferry angle 44.75, isTurretLaggingFOTM inst…
SP-COMPuter Apr 29, 2026
f913514
feat: left bite auton change
SP-COMPuter Apr 30, 2026
897019b
FIX: auton path revert
jopy-wng Apr 30, 2026
e8b82e5
Merge branch 'champs' of https://github.com/StuyPulse/Tribecbot into …
SP-COMPuter Apr 30, 2026
911f5c7
FEAT: added back is wrapping logging
SP-COMPuter Apr 30, 2026
10a37ce
Reapply "feat: stop ferrying when behind opponent's hub (rectangle re…
SP-COMPuter Apr 30, 2026
0575684
feat: log time since boot for each camera
Apetrock24 Apr 30, 2026
5bbe4c3
FIX: auton timeout wacky
SP-COMPuter Apr 30, 2026
ba4fd4d
feat: is hopper empty debounce 1->2 + auton changes
SP-COMPuter Apr 30, 2026
46a5f84
feat: shallow autos
SP-COMPuter Apr 30, 2026
cfb295f
fix: remove double time chaning method
SP-COMPuter Apr 30, 2026
d6f45d9
fix: optimize haswaittimechanged function
SP-COMPuter Apr 30, 2026
89c85d0
feat: auton timeout
SP-COMPuter Apr 30, 2026
3211a7a
FEAT: added 0.5 to first pass autons
SP-COMPuter May 1, 2026
c01b314
FEAT: Log dist to virtual pose, add extrapolated lerp point at 10
SP-COMPuter May 1, 2026
a6295f7
feat: (util) add log script to the root directory
SP-COMPuter May 1, 2026
77b15e4
feat: add extrapolation point
SP-COMPuter May 1, 2026
b24057f
feat: add more interpolation points for SOTM outside of the field
SP-COMPuter May 1, 2026
a6a987e
logging(sotm): add the virtual pose to be logged
alex-wanger May 2, 2026
6af2fc8
branch name
alex-wanger May 2, 2026
8fd64a6
feat: champs code (log cameras no matter what, more auton stuff, add
SP-COMPuter May 11, 2026
1e86a98
feat: began writing the logic. tested through tuner and noticed that …
SP-COMPuter May 12, 2026
b045445
feat: change to use control request and make candle actually control …
SP-COMPuter May 13, 2026
429ab2d
feat: working leds using just default command
SP-COMPuter May 18, 2026
a84448b
fix: states for leds
SP-COMPuter May 19, 2026
5bc1ea5
feat: CODE IS CLEAN and TESTED. Need to make pull request. Need one m…
SP-COMPuter May 20, 2026
683bfa2
FEAT: new motor basic functionality
Apetrock24 May 20, 2026
13774f1
CELAN: cleanup new motor
Apetrock24 May 20, 2026
65f172d
feat: states work and tested. Added dead limelightds and distance fro…
SP-COMPuter May 20, 2026
6ade32b
update port
SP-COMPuter May 21, 2026
c6f45a3
fix FMS util constantly printing error, and limited it to 5 attempts
SP-COMPuter May 21, 2026
d743038
Merge branch '2MotorSpindexer' into leds-changes
SP-COMPuter May 21, 2026
23e11a5
feat: heartbeat works. LL died in practice match and was caught. TODO…
SP-COMPuter May 21, 2026
7238747
feat: dead LL LED signals work. Removed a boolean flag.
SP-COMPuter May 22, 2026
404f516
feat: dead LL LED signals work. Removed a boolean flag.
SP-COMPuter May 22, 2026
f664ded
Merge branch 'leds-changes' of https://github.com/StuyPulse/Tribecbot…
SP-COMPuter May 22, 2026
da36de9
FEAT: Led reset state
SP-COMPuter May 22, 2026
753492e
feat: Left One Cycle auton (no code yet)
stuyry May 26, 2026
4365eb9
feat: Left One Cycle auton (no code yet)
stuyry May 26, 2026
50d69d9
Merge branch 'leds-changes' of https://github.com/StuyPulse/Tribecbot…
stuyry May 26, 2026
75f70bb
feat: BC right corner bite auton
stuyry May 26, 2026
bcda778
feat: burger autons
stuyry May 26, 2026
c4914e9
daniel forgot these
stuyry May 26, 2026
64f0782
feat: corner to side dots + test auton
SP-COMPuter May 26, 2026
2efd98e
feat: partial changes
SP-COMPuter May 26, 2026
40f9823
FEAT: Center auto
Apetrock24 May 26, 2026
191c28c
feat: testing changes
SP-COMPuter May 26, 2026
65097cc
feat: pathfinding implemented + testing changes. Pathfinding bugged n…
SP-COMPuter May 26, 2026
4a0f49d
feat: fix for patfinding
SP-COMPuter May 26, 2026
ac46397
feat: center autos, other paths, updated all BC path logics. Needs te…
stuyry May 27, 2026
7e6168b
Testing Changes
SP-COMPuter May 28, 2026
7db51c7
FEAT: x on idle in teleop
SP-COMPuter May 28, 2026
3d46c25
feat last minute auton changes. Comments made at the top of every sin…
stuyry May 28, 2026
c7ebb32
forgot to pull before making changes, this resolves conflicts
stuyry May 28, 2026
8323a1e
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
SP-COMPuter May 28, 2026
0ac8f5f
WORK: right side autos (center and right dot)
SP-COMPuter May 28, 2026
02c69d5
feat: testing changes. everything works :D - left is not done, will d…
SP-COMPuter May 28, 2026
ba76e77
feat: left autons. Double checked all decimals/points.
stuyry May 29, 2026
32a5436
feat: cleaned up LED code. Cleaned up LimelightVision and added metho…
stuyry May 29, 2026
f62437a
Revert "feat: cleaned up LED code. Cleaned up LimelightVision and add…
SP-COMPuter May 29, 2026
40e8527
feat: add different swipe auton, remove automatic stop of shooting
SP-COMPuter May 30, 2026
dc4fe7b
feat: push everything said to be done in comp-se-log.
stuyry May 30, 2026
88395d5
refactor: (autons) standardize naming convention
SP-COMPuter May 30, 2026
1ec81a4
feat: auton changes. Added 2 new autons (4 total). FIXED shoot to cor…
stuyry May 30, 2026
edecf59
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
stuyry May 30, 2026
892287e
refactor: rename certain autons
SP-COMPuter May 30, 2026
166d338
feat: updated the NY paths to rotate less aggressively on return. Had…
stuyry May 30, 2026
b41dd3b
feat: auton changes. Score path shifted more towards NZ to make a big…
stuyry May 30, 2026
da26d3a
feat: log LL latency
SP-COMPuter May 30, 2026
aa629ea
Feat: latency dead check for limelights
Apetrock24 May 30, 2026
c0f9d77
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
Apetrock24 May 30, 2026
870b321
feat: duplicate anti collision for corner bites. SHALLOW ACTUALLY MOD…
SP-COMPuter May 30, 2026
0903d26
FIX: increased intake pushdown voltage in auto
SP-COMPuter May 30, 2026
bcd775e
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
SP-COMPuter May 30, 2026
7ef994b
feat: refresh and apply new supply current limit configs at start of …
stuyry May 30, 2026
ebbeef8
FEAT: ll pose logging
SP-COMPuter May 30, 2026
0ecc97d
FEAT: upped intake torque currents for auto and tele
SP-COMPuter May 30, 2026
0c88058
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
SP-COMPuter May 30, 2026
465cde1
feat: slow down on turns where we get beached due to intake design
stuyry May 30, 2026
938bb1b
Merge branch 'battlecry' of https://github.com/StuyPulse/Tribecbot in…
stuyry May 30, 2026
007b0d0
feat: log camera pose estimates
SP-COMPuter May 31, 2026
134473b
feat: log auton played
SP-COMPuter May 31, 2026
8c6a766
feat: readd cameras.log, remove manual corner shot rehead
SP-COMPuter May 31, 2026
9237e00
REFACTOR: Change intake deploy color do purple
SP-COMPuter May 31, 2026
2d655d6
FEAT: Match 13. Made it such so we outtake for 0.2 seconds before mov…
SP-COMPuter May 31, 2026
f6765d7
FEAT: LL cpu logging
SP-COMPuter May 31, 2026
a679dba
FEAT: shortend 1'st path
SP-COMPuter May 31, 2026
ea20c76
feat: cleaned up LED code. Cleaned up LimelightVision and added metho…
stuyry May 29, 2026
6eb7c3e
feat: changes to apply state. Leds during auton to indicate path. Not…
stuyry May 29, 2026
4afcb50
feat: fix for LEDs - didn't check the loop counter or reset it (yikes)
stuyry May 29, 2026
ac4e63d
feat: added latency check back
stuyry Jun 3, 2026
c40f177
feat: testing changes. Changing LEDs during autons works. State + sup…
SP-COMPuter Jun 3, 2026
d7bde99
clean: clean up logging
Danx3mer Jun 5, 2026
53720ce
Revert "feat: testing changes. Changing LEDs during autons works. Sta…
Danx3mer Jun 20, 2026
8a049bf
feat: auton changes for duel. Began cleaning up paths (only grouped r…
stuyry Jun 20, 2026
aaded09
feat: remove intake stow button (jayden presses it by accident)
Danx3mer Jun 20, 2026
b0f09b4
feat: Qual 4 auton changes - we clipped trench on the first way back
stuyry Jun 20, 2026
afe0df5
Merge branch 'duel' of https://github.com/StuyPulse/Tribecbot into duel
Danx3mer Jun 20, 2026
93077ba
fix the prev commit - applied the "Wide" to the correct path
Danx3mer Jun 20, 2026
a2b246b
feat: reset heading to zero when shooting up against hub
Danx3mer Jun 20, 2026
cc5fd94
log is dead latency
Danx3mer Jun 20, 2026
6b3f3a1
feat: 316 compatible champs ny auton
stuyry Jun 20, 2026
b5596f9
feat: loosen first turn - champs + nyc/316 path
Danx3mer Jun 20, 2026
d96425b
FEAT: Limelight isdead debounce
Danx3mer Jun 20, 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
1,556 changes: 1,556 additions & 0 deletions AdvantageScope 5-20-2026.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ allprojects {

// Set this to the latest version of StuyLib.
// You can check here: https://github.com/StuyPulse/StuyLib/releases.
final String STUYLIB_VERSION = '2026.1.1-SNAPSHOT'
final String STUYLIB_VERSION = '61cedd1b41'

def ROBOT_MAIN_CLASS = "com.stuypulse.robot.Main"

Expand Down
47 changes: 47 additions & 0 deletions logs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/usr/bin/python3
import os
from fabric import Connection

MAX_NUMBER_OF_LOGS_TO_PULL = 5
TARGET_IP_ADDRESS = "10.6.94.2"
USB_DIRECTORY = "D:\\MILSTEIN_LOGS"
LOCAL_DIRECTORY_TO_SAVE_LOGS = "C:\\Users\\test\\logs\\CHAMPS_LOGS_26"
os.makedirs(LOCAL_DIRECTORY_TO_SAVE_LOGS, exist_ok=True) # if the dir does not exist, create a new one

SAVE_DIRECTORY = USB_DIRECTORY if os.path.exists(USB_DIRECTORY) else LOCAL_DIRECTORY_TO_SAVE_LOGS

raw_local_logs = os.listdir(path=SAVE_DIRECTORY)

print("DIRECTORY BEING WRITTEN TO: " + SAVE_DIRECTORY)
print(f"THESE FILES WERE ALREADY FOUND FROM {SAVE_DIRECTORY}: " + str(raw_local_logs))

wpilogs_local = set(filter(lambda x: x.endswith(".wpilog"), raw_local_logs))

ssh_connection = Connection(
host=TARGET_IP_ADDRESS,
user="lvuser",
connect_kwargs={"password": ""},
connect_timeout=4
)

raw_remote_logs = ssh_connection.run("ls -t /home/lvuser/logs/", hide=True)
remote_files = raw_remote_logs.stdout.strip().split()

all_remote_wpilog_logs = [f for f in remote_files if f.endswith(".wpilog")]
wpilogs_remote_newest = all_remote_wpilog_logs[:MAX_NUMBER_OF_LOGS_TO_PULL]

logs_to_be_downloaded = []
for log_name in wpilogs_remote_newest:
if log_name not in wpilogs_local:
print(f"Missing log found, appending {log_name} to {SAVE_DIRECTORY}" )
logs_to_be_downloaded.append(log_name)
ssh_connection.get(f"/home/lvuser/logs/{log_name}", local=f"{SAVE_DIRECTORY}/{log_name}") # need to include the name of the file
if (os.path.exists(SAVE_DIRECTORY)):
print(f"SUCCESS: {SAVE_DIRECTORY} found and being written to")
else:
print(f"ERROR: {SAVE_DIRECTORY} not found!")


#todo: add a post request to an api endpoint that allows us to automatically upload logs to a server

print(f"Downloaded {len(logs_to_be_downloaded)} log(s): {logs_to_be_downloaded} directory: {SAVE_DIRECTORY} ")
3 changes: 2 additions & 1 deletion simgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
"Robot": {
"Auton": {
"open": true
}
},
"open": true
},
"Spindexer": {
"open": true
Expand Down
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/BC Left Corner Bite CD.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "BC Left Corner Bite"
}
},
{
"type": "path",
"data": {
"pathName": "BC Left NZ To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": null
}
}
]
}
},
"resetOdom": true,
"folder": "BC Main",
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/BC Left Corner Bite.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "BC Left Corner Bite"
}
},
{
"type": "path",
"data": {
"pathName": "BC Left NZ To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": null
}
}
]
}
},
"resetOdom": true,
"folder": "BC Main",
"choreoAuto": false
}
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/BC Left One Cycle.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Left Trench To NZ"
}
},
{
"type": "path",
"data": {
"pathName": "Left NZ To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Omit Second Shot"
}
},
{
"type": "path",
"data": {
"pathName": "Left Dot to Middle"
}
}
]
}
},
"resetOdom": true,
"folder": "BC Extras",
"choreoAuto": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "BC Left To Shallow"
}
},
{
"type": "path",
"data": {
"pathName": "BC Left Shallow To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Left Corner To Dot Straight"
}
}
]
}
},
"resetOdom": true,
"folder": "BC Main",
"choreoAuto": false
}
55 changes: 55 additions & 0 deletions src/main/deploy/pathplanner/autos/BC Left Two Cycle.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Left Trench To NZ"
}
},
{
"type": "path",
"data": {
"pathName": "Left NZ To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Left Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": null
}
},
{
"type": "path",
"data": {
"pathName": "Left Dot to Middle"
}
}
]
}
},
"resetOdom": true,
"folder": "BC Extras",
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/BC Right Corner Bite CD.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "BC Right Corner Bite"
}
},
{
"type": "path",
"data": {
"pathName": "BC Right NZ To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Right Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": "Right Score To Score"
}
},
{
"type": "path",
"data": {
"pathName": "Right Score To Corner"
}
},
{
"type": "path",
"data": {
"pathName": null
}
}
]
}
},
"resetOdom": true,
"folder": "BC Main",
"choreoAuto": false
}
Loading
Loading