View unanswered posts | View active topics It is currently Sat Dec 27, 2014 8:03 am






Reply to topic  [ 4 posts ] 
Sample Programs 
Author Message
Rookie
User avatar

Joined: Sat Oct 10, 2009 2:37 pm
Posts: 5
Post Sample Programs
Many of the more complex sample programs do not work, including the FTC sample programs. Is this a know problem with a fix? I don't have RobotC in front of me, so I don't know the exact files that don't work...

Also, the programing environment going from last year's RobotC to this years seems completely diffrent, are there going to be new webinars to teach how to program in this new environment?

Thanks


Sat Oct 10, 2009 2:52 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3311
Location: Rotterdam, The Netherlands
Post Re: Sample Programs
When reporting a bug, please also give the devs the version of ROBOTC and the names of the programs you were trying to compile. It really helps with tracking down problems.

Regards,
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 Oct 10, 2009 3:54 pm
Profile WWW
Rookie
User avatar

Joined: Sat Oct 10, 2009 2:37 pm
Posts: 5
Post Re: Sample Programs
I am running version 1.93. The error occurs when trying to use the FTC_Comp_Template example program. However, the code the causes the error is in the includes file FTC_Comp_Include.c.
These are the errors:
**Error**:Duplicate variable declaration of 'joystick'
**Info***:Unreferenced variable 'joystick'
*Warning*:Unreferenced task 'Autonomous'
**Error**:Undefined variable 'FTCMotor'. 'short' assumed.

Also RobotC will occasionally stop running and close when trying to open programs.


Wed Oct 14, 2009 11:00 am
Profile
Professor

Joined: Fri Sep 19, 2008 1:22 am
Posts: 200
Post Re: Sample Programs
Just ignore that include file it is obsolete and should not have been included in the current version.
The only include file that is required for FTC competitions is JoystickDriver.c.

_________________
Jeff McBride
Benson Robotics Club


Thu Oct 15, 2009 2:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.