HuskieRobotics / HuskieRobotics/3061-lib
Improve cycle time by disabling SmartDashboard
- Dominant language
- Java
- Stars
- 32
- Forks
- 17
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
**Is your feature request related to a problem? Please describe.**
SmartDashboard, even with few values, can result in loop overruns during periodic.
**Describe the solution you'd like**
Disable SmartDashboard as much as possible (from 254):
```
// This clears the tablesToData map in SmartDashboard, so it stops trying to update
// anything.
SmartDashboard.setNetworkTableInstance(NetworkTableInstance.getDefault());
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the periodic entry point and current SmartDashboard usage, then inspect the NetworkTableInstance approach referenced from issue 254. Done means SmartDashboard is disabled as much as possible and the reported periodic loop overruns no longer occur.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100