Comments (5)
I think you repo might be private
from 2024beta.
I think you repo might be private
Sorry. Fixed now.
from 2024beta.
Are any commands running? It doesn't seem so from the epoch prints, which is quite suspicious.
SwerveModule.periodic
is taking significantly a lot of time. I'm not sure it's enough to cause loop overruns, but it's clearly not helping. Can you profile it with the Tracer
class? I suspect it's the CAN calls.
from 2024beta.
Why are you setting PID gains every loop in SwerveModule.periodic? They don't appear to ever change.
from 2024beta.
Why are you setting PID gains every loop in SwerveModule.periodic? They don't appear to ever change.
I was using it for tuning. I now that I've optimized the constants for those feedback loops, I commented it out in this commit, and it's no longer consistently overrunning the loop (@Starlight220 was right). However, the code still overruns the CommandScheduler
loop at startup, possibly from setting the gains of the CAN SparkMaxes, or setting up shuffleboard. That's tolerable for me, but I'd be interested if there's a way around that (such as setting them faster, or maybe doing it before the CommandScheduler
starts up).
Regardless, we still haven't figured out why it was printing the overrun message too many times. I don't remember previous versions having that behavior.
from 2024beta.
Related Issues (20)
- LabVIEW download CTRE libs fails HOT 1
- NI 2024 Beta Release 1 Feedback HOT 2
- CTRE Device Simulation Support
- LabView project fails to open target
- Confusing dialog after installing vendordep HOT 2
- Simulation fails (Linux) HOT 3
- Java units library needs more documentation HOT 2
- DS Log file viewer bottom cut off HOT 4
- Periodic high CPU usage on roboRIO HOT 8
- Firewall typo when all firewalls disabled in DS HOT 2
- DS doesn't connect to IP address unless team number has been previously entered
- Deployment Failures HOT 5
- CommandPS5Controller right joystick always returns -1 HOT 2
- Shuffleboard crashes when adding Camera widget on Windows 11 HOT 4
- Game Tools installer doesn't update existing beta installation
- DS: internal issue with print and error tags HOT 7
- DS: Upload WPILogs seems like it should be download HOT 2
- Imaging tool fails to image roborio 1 with numbers in hostname
- DriverStation - Inconsistent font usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2024beta.