diff --git a/README.md b/README.md index c876a7b6ea837cdbc2502271195ce1f34655d17f..85eace75ea081979a856822542282b52fb7cf9c7 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,20 @@ The following adjustments might be necessary, before the algorithm is executable * structure of a section: [URL, name, start position(x,y), start orientation] * Images of the race tracks are not included in this git. If interested, please contact the authors. +The following measured values are stored and must be adjusted if necessary (in main.py): +* wheel circumference (radumfang) +* wheel spacing (d) + +Notes on constant values (in race_management.py): +* CHAR_RECIVING: number of chars in one UDP-message +**This value should only be changed if the sent string changes.** +* THRESHOLD_LEFT, THRESHOLD_RIGHT: value to detect a left or right turn +**These values can be changed to possibly improve the algorithm.** +* BLOCK_SIZE_DA: number of iterations to analyse the section type +**This value can be changed to possibly improve the algorithm.** +* S = 0, R = 1, L = 2: value for a straight part, a right turn, a left turn of the track +**These values should not be changed in order to maintain the functionality of the algorithm.** + ### Run 1. Connect the robot via Visual Studio Code. 2. Start the python file race_management.py @@ -67,20 +81,6 @@ The main branch contains the following files: * race_management.py: main program * Lokalisierung_LEGO (folder), main.py: programming of the robot LEGO EV3 -The following measured values are stored and must be adjusted if necessary (in main.py): -* wheel circumference (radumfang) -* wheel spacing (d) - -Notes on constant values (in race_management.py): -* CHAR_RECIVING: number of chars in one UDP-message -**This value should only be changed if the sent string changes.** -* THRESHOLD_LEFT, THRESHOLD_RIGHT: value to detect a left or right turn -**These values can be changed to possibly improve the algorithm.** -* BLOCK_SIZE_DA: number of iterations to analyse the section type -**This value can be changed to possibly improve the algorithm.** -* S = 0, R = 1, L = 2: value for a straight part, a right turn, a left turn of the track -**These values should not be changed in order to maintain the functionality of the algorithm.** - ## Code overview 