|
1 | 1 | # HelixNavigator
|
2 |
| -HelixNavigator is a trajectory optimization-based path planning app. You can currently use it to generate trajectories for FRC swerve robots to follow. |
3 | 2 |
|
4 |
| -HelixNavigator provides the graphical interface to build autonomous paths, the trajectory optimizer, HelixTrajectory, takes these paths and converts them to trajectories that your robot can follow. |
| 3 | +A trajectory optimization-based path planning app for FRC. |
5 | 4 |
|
6 |
| -## Linux and MacOS from source |
| 5 | + |
| 6 | +[](https://discord.gg/ad2EEZZwsS) |
7 | 7 |
|
8 |
| -There are currently no binary distributions, so the app must be built from source to run. |
| 8 | +## Compatibility |
9 | 9 |
|
10 |
| -Unfortunately, GitHub Actions does not support publishing Maven artifacts without authentication, so you will need a GitHub access token to build with these commands. You will have to build [TrajoptLib](https://github.com/SleipnirGroup/TrajoptLib) from source. |
| 10 | +HelixNavigator is compatible with FRC swerve drive robots only. The app generates json trajectories which can be followed by the a trajectory follower in the robot code. |
| 11 | + |
| 12 | +## TrajoptLib |
| 13 | + |
| 14 | +HelixNavigator is backed by the [TrajoptLib](https://github.com/SleipnirGroup/TrajoptLib), a C++ library for generating time-optimal trajectories. |
| 15 | + |
| 16 | +## Binary Installation |
| 17 | + |
| 18 | +You can download the latest binaries on [Releases](https://github.com/TripleHelixProgramming/HelixNavigator/releases). |
| 19 | + |
| 20 | +### Linux |
| 21 | + |
| 22 | +Use your system's package manager to install the `HelixNavigator-X.X.X-linux-x64.deb` artifact. |
| 23 | + |
| 24 | +### macOS |
| 25 | + |
| 26 | +Download the `HelixNavigator-X.X.X-macOS-x64.zip` artifact. Extract it and place in the `/Applications` directory. |
| 27 | + |
| 28 | +### Windows |
| 29 | + |
| 30 | +**DISCLAIMER:** The Windows distribution does not support generation of trajectories. This is an ongoing issue which will be fixed in the future. |
| 31 | + |
| 32 | +Download the `HelixNavigator-X.X.X-windows-x64.msi` artifact and install it. |
| 33 | + |
| 34 | +## Building from source |
11 | 35 |
|
12 | 36 | First, clone the repo in your working directory:
|
13 | 37 | ```
|
14 | 38 | git clone https://github.com/TripleHelixProgramming/HelixNavigator.git
|
15 | 39 | ```
|
16 | 40 |
|
17 |
| -Run the following to build the code and run it: |
| 41 | +If on Windows, replace `./gradlew` with `.\gradlew.bat`. |
| 42 | + |
| 43 | +To build: |
| 44 | +``` |
| 45 | +./gradlew build -PmvnUsername=YOUR_USERNAME -PmvnPassword=YOUR_GITHUB_TOKEN |
| 46 | +``` |
| 47 | + |
| 48 | +To run: |
18 | 49 | ```
|
19 | 50 | ./gradlew run
|
20 | 51 | ```
|
21 | 52 |
|
22 |
| -## Build packaged distribution: |
| 53 | +## Build packaged distribution |
23 | 54 |
|
24 |
| -Run the following to build a `.dmg` or equivalent Linux package: |
| 55 | +Run the following to build a `.deb`, `.dmg`, or `.msi` package: |
25 | 56 |
|
26 | 57 | ```
|
27 | 58 | ./gradlew jpackage
|
|
0 commit comments