pathplanner
pathplanner copied to clipboard
A simple yet powerful motion profile generator for FRC robots
our programmers tore their hair out over this
In my experience the current naming convention of "Copy of {AutoName}" is very inconvenient, primarily when sorting the Path/Auto names alphabetically as duplicating an auto will send it to a...
From code inspection, the C++ implementation does not honour the rotation target override. https://github.com/mjansen4857/pathplanner/blob/05a123d86f47976c564564674fdb997e25b03773/pathplannerlib/src/main/native/cpp/pathplanner/lib/controllers/PPHolonomicDriveController.cpp#L59-L68 Compare with he Java implementation: https://github.com/mjansen4857/pathplanner/blob/05a123d86f47976c564564674fdb997e25b03773/pathplannerlib/src/main/java/com/pathplanner/lib/controllers/PPHolonomicDriveController.java#L147-L156 I suggest that this should should instead say: ```c++ units::radians_per_second_t...
I've had this idea on the wish list before and I release its hard to do because the commands are declared in code before they are added to the command...
**Describe the bug** Editing the name of an Auto or Path within the Pathplanner GUI does not remove the old filename from the RoboRIO on the next deploy. This results...
This fixes the static initialization order in NamedCommands by creating a function that initializes the variable on first use. This is the recommended fix by Isocpp https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use-members
Added a new input for buildAutoChooser for C++ which allows filtering out autos based on their internal data like name or start position. Default Option is guaranteed to be unfiltered...
**Is your feature request related to a problem? Please describe.** Currently if a team tries to build a path where the file doesn't exist, their entire code crashes, which if...
For example, in NamedCommands, we pass an std::string, instead of a std::string_view. Passing a string_view would save some allocations.
**Describe the bug** When calling NamedCommands::registerCommand(), the static vector namedCommands might not be initialized based on the order of compilation. https://en.cppreference.com/w/cpp/language/siof **To Reproduce** Steps to reproduce the behavior: 1. Create...