ROBOTC.net forums http://www.robotc.net/forums/ |
|
Vex Competition Template http://www.robotc.net/forums/viewtopic.php?f=53&t=3706 |
Page 1 of 1 |
Author: | fizxguy [ Thu Nov 10, 2011 10:46 pm ] |
Post subject: | 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 |
Author: | mightor [ Fri Nov 11, 2011 2:16 am ] | |||||||||
Post subject: | 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 |
Author: | fizxguy [ Fri Nov 11, 2011 5:51 am ] |
Post subject: | 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. |
Author: | jbflot [ Fri Nov 11, 2011 4:14 pm ] |
Post subject: | 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. |
Author: | fizxguy [ Fri Nov 11, 2011 10:07 pm ] |
Post subject: | 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! |
Author: | mightor [ Sat Nov 12, 2011 2:26 am ] |
Post subject: | Re: Vex Competition Template |
There are some things even a software update won't fix ![]() - Xander |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |