Skip to content
Snippets Groups Projects
Commit d0f16dfb authored by Sebastian Böttger's avatar Sebastian Böttger
Browse files

improve description

parent 6b892b92
Branches
Tags release-2.1.1
1 merge request!1Development
...@@ -46,10 +46,13 @@ class Driving_Analyser: ...@@ -46,10 +46,13 @@ class Driving_Analyser:
# whether the current rotation speed is a left or a right turn # 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. # 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 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 # 0 # Value for a straight part of the track
# 1 # Value for a right turn # 1 # Value for a right turn
# 2 # Value for a left 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): def detect_section_type(self, w):
section_type = None section_type = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment