GithubHelp home page GithubHelp logo

Comments (9)

epshteinmatthew avatar epshteinmatthew commented on September 28, 2024

Refactored

from valhallalib.

weijuwang avatar weijuwang commented on September 28, 2024

Can you document the issues in more detail just so we know what exactly it is we need to fix?

from valhallalib.

epshteinmatthew avatar epshteinmatthew commented on September 28, 2024

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.

weijuwang avatar weijuwang commented on September 28, 2024

Which file do you think the bugs are in?

from valhallalib.

fernir3268 avatar fernir3268 commented on September 28, 2024

New Update on this: PID may need returning. See post in relevant discord channel.

from valhallalib.

epshteinmatthew avatar epshteinmatthew commented on September 28, 2024

Update on PID and gear ratio is successful! Next stop: rotation in place.

from valhallalib.

SailingDreamer avatar SailingDreamer commented on September 28, 2024

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.

epshteinmatthew avatar epshteinmatthew commented on September 28, 2024

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.

fernir3268 avatar fernir3268 commented on September 28, 2024

Done.

from valhallalib.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.