Go to Post Just to be clear, NOTHING anyone says here is a confirmation. The ONLY source for official answers to questions like this is the FIRST Q&A system. - dlavery [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2009, 17:49
saaby's Avatar
saaby saaby is offline
Registered User
AKA: Taylor Cannon
FTC #0127 (Fighting Pickles)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Texas
Posts: 21
saaby can only hope to improve
[FTC]: Compile error

So i have my autonmous ironed out in robotC....or at least i think i do. My only issue is that when i compile my code the compiler tells me that i have a motor redefinition error at the end of my code. Anyone know what that means? How to fix it?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2009, 18:28
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Compile error

It means that in some part of the code, you are naming something again, means also that you have two motors named the same thing. Paste your code if this does not help.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2009, 16:37
saaby's Avatar
saaby saaby is offline
Registered User
AKA: Taylor Cannon
FTC #0127 (Fighting Pickles)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Texas
Posts: 21
saaby can only hope to improve
Re: [FTC]: Compile error

I have attached a version of my autonomous code that shows the error upon compiling. I have absolutely no idea as to why I am having this issue
Attached Files
File Type: c auto.c (9.3 KB, 28 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2009, 17:14
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Compile error

...I copy and pasted that code over and I got no error...

Try reinstalling RobotC, and making sure you have the updated Joystick driver.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPLAB Compile Error with MPLIB GRS Programming 2 04-11-2008 10:31
const array - 'auto' compile error ? oddjob Programming 10 17-02-2007 01:36
compile error Chuck Merja Programming 3 17-02-2005 15:02
InterruptVectorLow error when we compile Redneck Programming 5 02-02-2005 22:57
Compile error blindguyinanorg Programming 4 12-02-2004 19:49


All times are GMT -5. The time now is 15:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi