Update 'Follow_the_line/Programs /Follow_line_intensity_reflected_light.py'

This commit is contained in:
Tanja Sukal 2024-09-02 14:50:14 +00:00
parent 5451bfe835
commit 8dd0490191

View File

@ -21,9 +21,9 @@ m_right.polarity = 'inversed' # use 'normal' to initialize it to run clockwise
m_left.polarity = 'inversed'
# Defined inputs for the given experiment / enviroment
Line = 3 # min. reflection meassured of line
Floor = 35 # max. reflection meassured of floor
max_speed_percent = 40 # maximum wanted speed percentage (highest possible value 100%)
Line = 2 # min. reflection meassured of line
Floor = 30 # max. reflection meassured of floor
max_speed_percent = 45 # maximum wanted speed percentage (highest possible value 100%)
# calculate range
range = (Floor - Line)