From d0f16dfbfb3693d24c5e04bcaf1d9f3043688427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6ttger?= <sebastian.boettger@stud.hs-bochum.de> Date: Wed, 28 Jun 2023 22:13:29 +0200 Subject: [PATCH] improve description --- driving.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/driving.py b/driving.py index cd43f4d..944a6e7 100644 --- a/driving.py +++ b/driving.py @@ -46,10 +46,13 @@ class Driving_Analyser: # whether the current rotation speed is a left or a right turn # and sums up these types in the amount of the block size to make the decision for the section type. # If the function is called and the sum of values are lower than the block size it's return None - # If the detection of the section is completed, the function will return a integer value. + # If the detection of the section is completed, the function will return the section_type as an integer value. # 0 # Value for a straight part of the track # 1 # Value for a right turn # 2 # Value for a left turn + # The entire return statemant is a tuple with the section type, the counte for left and right turns and a counter for straight + # return: + # section_type, counter_left, counter_right, counter_straight """ def detect_section_type(self, w): section_type = None -- GitLab