|
Page 1 of 1
|
[ 6 posts ] |
|
Author |
Message |
fizxguy
Rookie
Joined: Fri Feb 06, 2009 11:43 am Posts: 11
|
 Vex Competition Template
So, I am at an event with my students. We actually compete tomorrow and I am wondering if I am the ONLY RobotC user here as most are using EASY-C. Anyway, I have filled in the competition template and I have only THREE yellow "x"s during the compile. Is that OK? They are as follows.
Line 14: #pragma platform(VEX) Line 11.178: static void UserControlCodePlaceholderForTesting() Line 11.190: static void AuonomousCodePlaceholderForTesting()
*Warning*:"#Pragma platform <list>" is deprecated. It has been replaced with "#pragma config(platform, <list.)" *Warning*:Unreferenced function 'UserControlCodePlaceholderForTesting' *Warning*:Unreferenced function 'AuonomousCodePlaceholderForTesting'
They are yellow, will these work when hooked up to their VEXNey system
|
Thu Nov 10, 2011 10:46 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Vex Competition Template
I would avoid using the Use the Robot->Platform Type menu instead. As for the last two warnings about the functions, they are safe to ignore, it just means you are not using them anywhere in your code, so they won't be compiled in. - Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Fri Nov 11, 2011 2:16 am |
|
 |
fizxguy
Rookie
Joined: Fri Feb 06, 2009 11:43 am Posts: 11
|
 Re: Vex Competition Template
Well, that is what I checked out and I hestitated to change my settings on RobotC. The platform is set to Cortex 2.0. In all of the documentation online, I don't even see "platform" mentioned. I wonder if I can simply comment it out.
|
Fri Nov 11, 2011 5:51 am |
|
 |
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 409
|
 Re: Vex Competition Template
Those yellow x's shouldn't mess anything up.
The last two say that there are place holder functions in the template that you're no longer using - perfectly fine. The first one appears because ROBOTC has a new way of signifying platform type - this also shouldn't mess anything up.
You can update to ROBOTC 3.04 to eliminate the first warning message.
|
Fri Nov 11, 2011 4:14 pm |
|
 |
fizxguy
Rookie
Joined: Fri Feb 06, 2009 11:43 am Posts: 11
|
 Re: Vex Competition Template
Thanks a bunch. I DID update to 3.04 and it worked like a charm today. Well, at least the connections did. Can't say much for our robots. But we had fun regardless!
|
Fri Nov 11, 2011 10:07 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Vex Competition Template
There are some things even a software update won't fix  I am sure you guys will figure it out, though! - Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Sat Nov 12, 2011 2:26 am |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 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
|
|