Gabriela1
asked on
Robot programming c++
Hi,
I am using an X80 robot, from DrRobot , and I am trying to make him turn with 45 degrees and then drive forward. So I have to commands that I am using TurnDegree and DriveForward. But when using it one after another only the last one is fullfilled. Why is that? I tried find answers in their manual but I didn't find anything.
I am using an X80 robot, from DrRobot , and I am trying to make him turn with 45 degrees and then drive forward. So I have to commands that I am using TurnDegree and DriveForward. But when using it one after another only the last one is fullfilled. Why is that? I tried find answers in their manual but I didn't find anything.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi RLHawk,
I talked also with the guys from DrRobot and they tole dme to use a simple Delay function between, so now it works fine. thanks for your help.
I talked also with the guys from DrRobot and they tole dme to use a simple Delay function between, so now it works fine. thanks for your help.
Can you tell us if the turn command works by itself? If it does, then my guess would be that there is some function/command to tell the program to wait until the robot is finished with the previous command before continuing the program.