diff --git a/driving.py b/driving.py index cd43f4d7fb5f78aa80783032d4e18df022d0021e..944a6e791032d488daac602a59b3162b4f733713 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