allwpilib
BaseTalonFXSwerve
allwpilib | BaseTalonFXSwerve | |
---|---|---|
11 | 6 | |
1,025 | 144 | |
0.7% | 0.0% | |
9.8 | 5.0 | |
3 days ago | 2 months ago | |
C++ | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
allwpilib
-
Mecanum Drive
You need to be more specific, what issues? I would recommend starting with an example. https://github.com/wpilibsuite/allwpilib/tree/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/mecanumdrive. And looking at the documentation for it here. https://docs.wpilib.org/en/stable/docs/software/hardware-apis/motors/wpi-drive-classes.html#mecanum-drive If this doesn’t work make sure your wheels are in the correct orientation (x pattern when viewed from top) and you set your inverts right.)
-
Swerve Drive
I believe this page has timed based swerve code https://github.com/wpilibsuite/allwpilib/tree/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/swervebot
-
beginner programmer resources and help on what to learn to be ready for build season?
Study Java syntax, and look up the common code libraries at https://wpilib.org/
-
wpiHaljni could not be loaded from path or an embedded resource. (More info in comments)
Just to cover all the bases, have you run the 2022 installer? That should have all of the files required to build robot projects. Even if you have I would recommend running it again and making sure that it installs the JDK to the default location.
-
Questions about the java classes xxxCommandGroup
Also remember that wpilib is open source, so you can check out the implantation of all of these classes yourself to better understand what they’re doing. Java SequentialCommandGroup is right here. You can also access this by control+left clicking on almost any class or method in vscode and it’ll open up a new editor tab with that code.
-
does anyone have any good tutorials explaining what and how to program subsystems for frc in java
To get myself started I used Manning Robotics tutorial. Keep in mind though it is out of date as there was a rewrite for the command based framework in 2020. Check out the WPILIB for a walk through of the system. Also linked from WPILIB are the example projects gears bot and traditional hatchbot that my team has been referencing to get us started.
-
How to download wpilib on mac?
It's been updated, and installing it worked for me. Get the dmg from here, then download and install.
-
Does anybody know how to get the 2019 version of wpilib?
This is the link to the GitHub release https://github.com/wpilibsuite/allwpilib/releases/tag/v2019.4.1
- I am creating a fast, header-only, C++ library for control algorithms
-
Robot localization with on-motor encoders
if you’re sure you want to go the in-wheel encoder route, check out wpilib’s implementation of it here. it uses EJML for most of the math, but you can remove it if you’re comfortable with matrixes
BaseTalonFXSwerve
-
I need help with code!
Team 364's BaseFalconSwerve
-
Swerve Drive
just looked up what timed robot is, and its java. so just steal code from 364 or something https://github.com/Team364/BaseFalconSwerve
-
We got our swerve drive working today
The SDS libraries have been marked as unmaintained and deprecated for this year. I would recommend moving to BaseFalconSwerve https://github.com/Team364/BaseFalconSwerve
-
I need help. I watched frc 0 to autonomous programming a swerve drive to learn how to program our new swerve drive and I don’t know how to fix my problem. Github in comments.
Hi. If I were you I would check out Team 364's PID settings for MK4i's angle motors. Start there and tune. It does look like the motors are rapidly oscillating, and that would point me to PID being the first thing to change.
-
im ignorant on swerve drives
364's BaseFalconSwerve I've found to be much better than the SDS template code
-
Do falcon 500s have pid controllers?
I do! We're using the SDS MK4 and they're working great with a simple PID loop that only has a 0.1 P coefficient without I and D and that's working great for us! Here's the base code we used by team 364
What are some alternatives?
PythonRobotics - Python sample codes for robotics algorithms.
swerve-lib - Fork of SDS swerve code that provides bug fixes and maintenance.
CppRobotics - Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!
MAXSwerve-Java-Template
Pathfinder - Pathfinding, odometry, trajectory generation, and a whole lot of swag.
lib199 - Code that we reuse in different projects/years.
Pathfinder2 - Paths, trajectories, splines, the number 2, and a whole lot of swag.
FRC2023
autodiff - automatic differentiation made easier for C++
Conductor - A cross-platform FRC Driver Station written with Rust and React
embassy - Modern embedded framework, using Rust and async.
OdometryCore - Odometry Core Tracking Algorithm Written in Java