frc1711 / swervelib Goto Github PK
View Code? Open in Web Editor NEWA library that seeks to provide a convenient swerve drive implementation for FRC teams.
A library that seeks to provide a convenient swerve drive implementation for FRC teams.
fieldRelativeInputDrive doesn't apply deadbands to its parameters, but instead allows inputDrive from SwerveDrive to apply the deadbands from its input (from fieldRelativeInputDrive) and so the deadbands may not be applied properly
In AutonDrive
and AutonDriveSimple
, speed is passed to the command as a double
through the constructor method. I believe AutonDrive
has an option to reduce the speed as the robot approaches the endpoint, but it’s clunky and only works so well.
Try to implement a system which allows a functional interface (taking proportion of distance to the endpoint as a parameter) to be passed in instead of a double
to AutonDrive
and AutonDriveSimple
.
Make sure to talk to me before you implement this, though—I’m not quite finished with setting up all the other systems which you’ll need before adding this functionality and I’d like to talk before anyone spends time working on this.
Add another method, related to inputDrive()
in SwerveDrive
, made specifically for using swerve drive with inputs that are generated through commands. This should be accompanied by the removal of maxOutput
in SwerveDrive
. In the new inputDrive()
method for auton, none of the following should influence the kinematics:
swerveDrivingSpeeds
InputHandler
AutonDrive
doesn't add the SwerveDrive
subsystem as a requirement until the command is initialized
check getMovementVector() in AutonDriveSimple - moving in the wrong initial direction could mess up a 180 degree turn
There should be a way to use AutoSwerveDrive
for field-relative robot control without needing to implement autonomous functions
Implement the Sendable
interface so that swerve drive information can be more easily sent to the driver station
In AutonDrive,
a negative distance should make the SwerveDrive
drive in the opposite direction
Use a better course correction for AutonDriveSimple
than the current one which rotates the entire robot to stay on course (use strafing corrections instead)
This:
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.3.3/userguide/upgrading_version_6.html#jcenter_deprecation
at build_ew9wuayqslcivrun87nnfd7q3$_run_closure1.doCall(C:\all\programming\Robotics\Swerve Library\swervelib\build.gradle:16)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.