From 529f62b0e5e0fc62ec74d0e8321002123009f100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6ttger?= <sebastian.boettger@stud.hs-bochum.de> Date: Thu, 29 Jun 2023 18:21:15 +0200 Subject: [PATCH] Change order in Readme --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c876a7b..85eace7 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  -- GitLab