allwpilib
Pathfinder
allwpilib | Pathfinder | |
---|---|---|
11 | 2 | |
1,025 | 2 | |
0.7% | - | |
9.8 | 0.0 | |
7 days ago | over 2 years ago | |
C++ | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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
Pathfinder
-
Robot localization with on-motor encoders
hey, i just figured i’d put this out here in case it helps: meccanum wheels, by nature, have a LOT of slip - that’s how they’re able to move in any direction. i’ve had quite a bit of experience with the math and kinematic behind this (two libraries i’ve written/am writing, Pathfinder and Pathfinder2, as well as a library the other programmer on my team wrote, OdometryCore) and it’s VERY HARD to accurately track the position of a meccanum robot only using the encoders in the wheels. it’s not impossible, but it’s very, very challenging. the more your robot moves, the less accurate it becomes, and it will very quickly report positions that are nowhere near where your robot actually is. you can go for it, but i would strongly encourage you check out three wheel odometry instead - it’s been very accurate and allowed us to do really cool things, like accurately record a robot’s movement and play it back perfectly. you’ll have much more success with three wheel odometry - my team designed a custom odometry system and i’m sure they’d be happy to give you more information if you’d like. best of luck :)
- Where to learn how to set up Odometry??
What are some alternatives?
PythonRobotics - Python sample codes for robotics algorithms.
QDriverStation - Cross-platform clone of the FRC Driver Station
CppRobotics - Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!
Pathfinder2 - Paths, trajectories, splines, the number 2, and a whole lot of swag.
TitanUtil - A collection of utility classes to make robot programming easier
autodiff - automatic differentiation made easier for C++
AutoBuilder - A gui tool for graphically designing and testing autos in FRC
Conductor - A cross-platform FRC Driver Station written with Rust and React
javabot-2022 - A Java rewrite and improvement of Team 2539's 2022 robot code.
BaseTalonFXSwerve
OdometryCore - Odometry Core Tracking Algorithm Written in Java