From e47531cbcc75b618ed3e41b9011b1b7216c0a69a Mon Sep 17 00:00:00 2001 From: bbartels <bbartels@iastate.edu> Date: Thu, 6 Apr 2017 21:08:39 -0500 Subject: [PATCH] Update README.md --- groundStation/README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/groundStation/README.md b/groundStation/README.md index 2e6be4d83..e14675ab8 100644 --- a/groundStation/README.md +++ b/groundStation/README.md @@ -62,4 +62,25 @@ or alternatively with symlinks This will fetch the block_id, type_id and name of every node in the current graph -You can run any number of any combination of frontend tools at the same time. \ No newline at end of file +You can run any number of any combination of frontend tools at the same time. + +### Batch Update of PID constants +The CLI only supports setting one PID constant at a time using the following command. + +From the `groundStation` folder: +``` +./Cli setpid --pitch -p 1.000 +``` + +This can get tedious for 27 PID constants. + +To help, we made a batch script that allows you to easily set all 27 PID constants at once and save your progress as you go. + +First, edit the `parameters.txt` file in the `groundStation/scripts` folder to specify the values you want to set. The script will parse this file and pass them to the `Cli` program. + +Then simply run the script from the `groundStation` folder: +``` +scripts/setpid_batch.sh +``` + +Remember to commit your changes in the `parameters.txt` file if you believe you have found a better default state for the quad. \ No newline at end of file -- GitLab