
modified: __pycache__/meControll.cpython-313.pyc modified: demSequence.py modified: meControll.py new file: meControllMCU/config.h new file: meControllMCU/meControllMCU.ino Changes not staged for commit: deleted: controller.py deleted: servoTest/config.h deleted: servoTest/servoTest.ino deleted: testSequence1
23 lines
419 B
Python
23 lines
419 B
Python
import meControll
|
|
|
|
arm = meControll.meArm()
|
|
|
|
pickupLeft = [b'S1', b'T130', b'R110', b'L50', b'R150',b'G170', b'R110' ]
|
|
drop_right = [b'S1', b'T50', b'R150', b'G90', b'R100', b'D1']
|
|
|
|
def initDemo():
|
|
arm.addMove(pickupLeft)
|
|
arm.addMove(drop_right)
|
|
|
|
def runDemo():
|
|
arm.execMove(0)
|
|
arm.execMove(1)
|
|
|
|
if __name__ == "__main__":
|
|
initDemo()
|
|
while(1):
|
|
arm.execMove(0)
|
|
arm.execMove(1)
|
|
|
|
|