Hello, I am writing a program in Python to make the robot do pushup. I would like to change the speed of the servo motors in order to make the movement faster. Please see the code below. Could you please help me to find the wright command or provide any guidance. Thank you in advance
from PetoiRobot import *
openPort('COM6')
for index in range(10):
sendLongCmd('L', [0, 0, 0, 0, 0, 0, 0, 0, 75, 75, 75, 75, -55, -55, 90, 90], 0.5)
sendLongCmd('L', [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 75, 75, 90, 90, 90, 90], 0.5)
Regards,
Ale
Hi,
You can change the last number in the code (0.5) to reduce the delay after finishing one movement.