|
TrajoptLib
Library for generating time-optimal trajectories for FRC robots.
|
This library is used to generate time-optimal trajectories for FRC robots.
Trajectory optimization works by mathematically formulating the problem of travelling along a given path with the minimum possible time. The physical constraints of motor power capacity are applied along with waypoint constraints, which force the robot to begin and end a segment of the trajectory with a certain state. A mathematical solver must vary the position of the robot at each discrete timestamp to minimize total time.
sudo apt install g++-14xcode-select --installsudo apt install cmakebrew install cmakeLibrary dependencies which aren't installed locally will be automatically downloaded and built by CMake.
On Windows, open a Developer PowerShell. On Linux or macOS, open a Bash shell.
The following build types can be specified via -DCMAKE_BUILD_TYPE during CMake configure:
On Windows, open a Developer PowerShell. On Linux or macOS, open a Bash shell.