|
Page 1 of 1
|
[ 3 posts ] |
|
waitForStart() Doesn't work AT ALL
Author |
Message |
Bjornke
Rookie
Joined: Sun Nov 20, 2011 8:10 pm Posts: 2
|
 waitForStart() Doesn't work AT ALL
Running ROBOTC 3.0.4
In FTC Templates, and in my own work, if I add the "waitForStart();" procedure I get this error message:
**Error**:Undefined procedure 'waitForStart'
Yes, I have included the JoystickDriver.c and it is the default JoystickDriver.c that I have not tampered with. This is my teams first year using ROBOTC
I'm an experienced gaming C++ programmer so if your suggestion is for me to check anything on my end, I have already done it. I'm not sure what could be causing it.
I have called it right before while(true) in the main task. It is the only error I get. Any ideas?
|
Sun Nov 20, 2011 8:14 pm |
|
 |
Bjornke
Rookie
Joined: Sun Nov 20, 2011 8:10 pm Posts: 2
|
 Re: waitForStart() Doesn't work AT ALL
Found the problem, had the compiler target set to Virtual Worlds. Didn't know that could make such a big difference.
|
Sun Nov 20, 2011 8:27 pm |
|
 |
vnguyen
Site Admin
Joined: Wed Jan 24, 2007 10:44 am Posts: 442 Location: Pittsburgh, PA
|
 Re: waitForStart() Doesn't work AT ALL
The Compiler Target tells ROBOTC where you're sending the code. If you set it to physical robot it will communicate through the physical communications port on your computer in order to get the code to your robot. Virtual Worlds will ignore that port.
_________________Vu Nguyen Software Training Development Team | WebmasterNeed more support? Email ROBOTC Support at support@robotc.net to put in a support ticket Robotc.net| Robomatter Store | Robotics Academy | CS2N
|
Mon Nov 21, 2011 10:21 am |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|