-
Notifications
You must be signed in to change notification settings - Fork 109
Command line options
Sam Carlberg edited this page Dec 2, 2016
·
1 revision
| Option | Short | Long | Argument |
|---|---|---|---|
| File | -f | --file | Path to the save file to load at startup |
| HTTP server port | -p | --port | The TCP port to run the HTTP server on (1024 - 65535) |
| GRIP version | -v | --version | Prints the current version of GRIP and exits |
| Print help | -h | --help | Prints a help message and exits |
| Enable headless mode (UI/application only) | --headless | Starts GRIP in headless mode. |
Note: if running on a roboRIO or other memory-limited system, you should use the -Xmx and -XX:MaxNewSize JVM options to limit the amount of memory GRIP uses. Suggested values are -Xmx50m and -XX:MaxNewSize=16m, but you can tune these if needed
$ /path/to/grip.jar --file /home/user/my_grip_file.gripThis is useful if running GRIP on an FRC robot (roboRIO or coprocessor) and you want to be able to connect to the HTTP server from the driver station
$ java -jar /path/to/grip.jar --port 5805Note for FRC: the FMS allows connections on ports 5800-5810 for user programs. You can use any of these ports if they're not already used by other programs.