Infrared Sensor¶
-
class
compLIB.IRSensor.
IRSensor
¶ Access the different IR Sensors at top / bottom of the robot
-
static
bottom_left
() → bool¶ Get bottom left infrared sensor status
- Returns
True, if sensor detects IR signals
- Return type
bool
-
static
bottom_middle
() → bool¶ Get bottom middle infrared sensor status
- Returns
True, if sensor detects IR signals
- Return type
bool
-
static
bottom_right
() → bool¶ Get bottom right infrared sensor status
- Returns
True, if sensor detects IR signals
- Return type
bool
-
static
top_left_percent
() → int¶ Get top left infrared sensor percentage
- Returns
Percentage between 0 and 100
- Return type
int
-
static
top_right_percent
() → int¶ Get top right infrared sensor percentage
- Returns
Percentage between 0 and 100
- Return type
int
-
static