Hey Guys,
Me here again for the IT camp that starts on Monday.I noticed with the GoPiGo3 api, if i have two calls
as
import easygopigo3 as easy
r = easy.EasyGoPiGo3()
def m1():
r.drive_cm(10)
r.turn_degrees(50)
if we call m1() then the robot only turns
We found if we put a sleep statement, then the robot drives forward a bit, (for the duration of the sleep) and then turns.
Seems there is no queue of commands within the api.
Is there a way we can tell how long the robot will take do something? That way we can issue a command and have the robot sleep so it can execute, and then process the next one.
Thanks