Link to home
Start Free TrialLog in
Avatar of Gabriela1
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.
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RLHawk
RLHawk

I searched for a manual for this robot, but the only one I was able to find didn't have either of the commands you listed.

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.
Avatar of Gabriela1

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.