Comments (9)
Refactored
from valhallalib.
Can you document the issues in more detail just so we know what exactly it is we need to fix?
from valhallalib.
I didn't document this previously because the issue a)changes a lot and b)I was at home
But you bring up a fair point...
ISSUES WITH SWERVE:
- Swerve trying to turn constantly when on joystick input
- Gear ratio is not correct(as of what is deployed), resulting in the encoders getting off kilter
- field oriented doesnt work, idk why
from valhallalib.
Which file do you think the bugs are in?
from valhallalib.
New Update on this: PID may need returning. See post in relevant discord channel.
from valhallalib.
Update on PID and gear ratio is successful! Next stop: rotation in place.
from valhallalib.
The problem could be that the positions of the swerve modules in the code are wrong. This would explain the fact that all swerve modules being set to a 45 degree angle but not in the right direction.
from valhallalib.
that's correct. the problem was in the SwerveDriveKinematics object at the top of the SwerveDriveBase file, which had the modules in the incorrect order
from valhallalib.
Done.
from valhallalib.
Related Issues (14)
- Finish Auto Orchestrator HOT 1
- Finish PID Tuner HOT 2
- Finish Trajectory Orchestrator HOT 4
- Organize Branches HOT 1
- Verify that the camera works
- Get Dashboard working HOT 2
- Document code
- add amp and source auto commands
- Implement Advantagekit - Intake
- Implement Advantagekit - Shooter
- Implement AdvantageKit - Climbers
- Implement AdvantageKit - Swerve HOT 4
- Make goto adjust for obstacles
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 valhallalib.