a4366227f565e3b0abc13995cf04899f2c3454c9,Software/Scratch/GoPiGo3Scratch.py,,,#,912
Before Change
s.broadcast("turn right")
s.broadcast("stop")
s.broadcast("open eyes")
s.broadcast("close eyes")
s.broadcast("blinkers on")
s.broadcast("blinkers off")
sensors["Encoder Left"] = gpg.get_motor_encoder(gpg.MOTOR_LEFT)
sensors["Encoder Right"] = gpg.get_motor_encoder(gpg.MOTOR_RIGHT)
After Change
try:
m = s.receive()
if m is None:
setup_default_broadcasts()
while m is None or m[0] == "sensor-update" :
m = s.receive()
msg = m[1]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: DexterInd/GoPiGo3
Commit Name: a4366227f565e3b0abc13995cf04899f2c3454c9
Time: 2017-06-19
Author: cleoqc1124@gmail.com
File Name: Software/Scratch/GoPiGo3Scratch.py
Class Name:
Method Name:
Project Name: enthought/chaco
Commit Name: 311f47958f76d7f1c5a62886c4fbb4505295fe94
Time: 2018-05-08
Author: cwebster@enthought.com
File Name: chaco/segment_plot.py
Class Name: SegmentPlot
Method Name: _render
Project Name: chainer/chainerrl
Commit Name: ea014652553ca128c47d6c64d2369b75c3acb87e
Time: 2016-03-29
Author: muupan@gmail.com
File Name: a3c.py
Class Name: A3C
Method Name: act