コード例 #1
0
ファイル: forwardsTen.py プロジェクト: sgupta2912/sdp_12
from RobotCommunications import RobotCommunications

r = RobotCommunications(debug=True)
r.rotate(80, 1)
コード例 #2
0
ファイル: sidewaysRightTest.py プロジェクト: Luddzik/sdp_12
from RobotCommunications import RobotCommunications
import time


r = RobotCommunications(debug=True)
r.moveSidewaysRight(100)
time.sleep(1)
r.stop()

コード例 #3
0
ファイル: rotateLeft.py プロジェクト: Luddzik/sdp_12
from RobotCommunications import RobotCommunications
import time


r = RobotCommunications(debug=True)
r.rotateLeft(100)
time.sleep(2)
r.stop()
コード例 #4
0
ファイル: sidewaysLeftTest.py プロジェクト: sgupta2912/sdp_12
from RobotCommunications import RobotCommunications
import time


r = RobotCommunications(debug=True)
r.moveSideways(100)
time.sleep(1)
r.stop()
コード例 #5
0
ファイル: forwardsFifty.py プロジェクト: Luddzik/sdp_12
from RobotCommunications import RobotCommunications
import time


r = RobotCommunications(debug=True)
r.moveForwards(100)
time.sleep(4.5)
r.stop()
コード例 #6
0
ファイル: backwardsTwenty.py プロジェクト: Luddzik/sdp_12
from RobotCommunications import RobotCommunications
import time


r = RobotCommunications(debug=True)
r.moveBackwards(100)
time.sleep(2.3)
r.stop()
コード例 #7
0
ファイル: kill_all.py プロジェクト: Luddzik/sdp_12
from RobotCommunications import RobotCommunications

r = RobotCommunications(debug=True)
r.stop()
コード例 #8
0
ファイル: move.py プロジェクト: sgupta2912/sdp_12
from RobotCommunications import RobotCommunications
import time

r = RobotCommunications(debug=True)
r.rotate(100)
time.sleep(1)
r.stop()