c4f4927e4f83fe5c5a98931a4b7201231fe46f16,donkeycar/parts/robohat.py,RoboHATController,update,#RoboHATController#,44
Before Change
while True:
try:
line = str(self.serial.readline().decode()).strip("\n").strip("\r")
except:
print("Serial Error!")
break
After Change
print("Warming serial port...")
time.sleep(3)
while True:
try:
self.read_serial()
except:
print("MM1: Error reading serial input!")
break
def run(self, img_arr=None):
return self.run_threaded()
def run_threaded(self, img_arr=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: autorope/donkeycar
Commit Name: c4f4927e4f83fe5c5a98931a4b7201231fe46f16
Time: 2020-03-06
Author: jonathan@tsez.net
File Name: donkeycar/parts/robohat.py
Class Name: RoboHATController
Method Name: update
Project Name: vatlab/SoS
Commit Name: bc823da8c38eae03a311d0ba0627b23b84939b56
Time: 2017-07-30
Author: ben.bog@gmail.com
File Name: src/sos/actions.py
Class Name: SoS_ExecuteScript
Method Name: run
Project Name: home-assistant/home-assistant
Commit Name: f09b888a8a18352dfee1373f108b0f6eec1b61ac
Time: 2016-12-01
Author: bweeks@google.com
File Name: homeassistant/components/media_player/denon.py
Class Name: DenonDevice
Method Name: telnet_request