RoboidControl-python/Things/TouchSensor.py
2025-03-11 17:21:47 +01:00

14 lines
375 B
Python

from Thing import Thing
class TouchSensor(Thing):
def __init__(self, owner, parent):
super().__init__(owner, parent)
## Value which is true when the sensor is touching something, false otherwise
self.touched_somthing = False
def GenerateBinary(bytes, ix_ref):
pass
def ProcessBinary(bytes):
pass