Skip to content

Conversation

@j5155
Copy link
Contributor

@j5155 j5155 commented May 4, 2025

This adds support for receiving telemetry, status, and config from FTC Dashboard running on an FTC robot. Communication is via JSON websockets.

  • Basic Telemetry
  • Timestamps and backlogging for significantly better time resolution
  • Getting robot status
  • Pose (via guessing); need to allow for heading (deg)
  • Config getting and setting
  • Multiple poses (detect multiple sets of telemetry variables ending with x, y, and heading? Auto interpret a heading as degrees if it's larger then 2pi?)
  • Proper reconnection
  • Field drawing as poses? (this might be impossible)

j5155 and others added 30 commits April 26, 2025 13:34
# Conflicts:
#	README.md
Add separate app menu rather than putting extra options under help, hide edit menu on Windows & Linux
# Conflicts:
#	src/shared/Preferences.ts
@j5155 j5155 marked this pull request as ready for review July 4, 2025 19:23
@j5155
Copy link
Contributor Author

j5155 commented Jul 4, 2025

Okay, I think this is fully working now. Testing without an FTC robot might be a little difficult; I've been using https://github.com/jdhs-ftc/DashReplayView/ (my previous roadrunner log parser, that used ftc dashboard as a backend), and the upstream backend tests could be used too.

@j5155
Copy link
Contributor Author

j5155 commented Jul 24, 2025

I've added running detection as well.
Intentionally missing features:
Enum config support
DS features (OpMode selection/start/stop)

These could easily technically be added, but would require changes to AdvantageScope and might be out of scope based on other closed PRs.

@jwbonner
Copy link
Member

jwbonner commented Aug 7, 2025

Intentionally missing features:
Enum config support
DS features (OpMode selection/start/stop)

I think both of these are reasonable omissions given what AdvantageScope supports for existing formats. Looks like this PR is based on a slightly older version of the Road Runner format PR, but if you get it up-to-date it's probably close to being ready to merge (maybe with a few minor tweaks).

@jwbonner jwbonner enabled auto-merge (squash) August 26, 2025 03:52
@jwbonner jwbonner merged commit 55a6219 into Mechanical-Advantage:main Aug 26, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants