Skip to content

Disable network table writing of akit logs when on a real field#674

Open
aschokking wants to merge 1 commit into
mainfrom
network-table-optimization
Open

Disable network table writing of akit logs when on a real field#674
aschokking wants to merge 1 commit into
mainfrom
network-table-optimization

Conversation

@aschokking
Copy link
Copy Markdown
Contributor

Why are we doing this?

We have a hojillian values being written, which tends to tax the rio and the network.

I saw this line in 254s code which disables writing akit logs when fms is attached. It seems like a good idea in general.

The downside is that during a match we might want to be checking a value and won't be able to. For some crucial things like the current auto command we could be using some explicit overrides here maybe.

Whats changing?

Questions/notes for reviewers

How this was tested

  • unit tests added
  • tested on robot

@aschokking aschokking requested a review from a team as a code owner May 15, 2026 02:34
Copy link
Copy Markdown
Contributor

@Rongrrz Rongrrz left a comment

Choose a reason for hiding this comment

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

Not too exact on NetworkTable nuances but here are my thoughts:

  • Since this is outgoing data, in theory this shouldn't mess with anything Elastic/Shuffleboard/us changing properties on the NT side.
  • I do agree that we could definitely lose out on current auto commands (a very immediate--easy--and inefficient solution imo is with system.out).
  • We should also survey the drive team to see how often they utilize the live data (but I suppose not very often).
  • Lastly: how would this affect if on the robot side we decide to change double properties with code using .set()? (It shouldn't affect anything, right?)

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.

2 participants