Go to Post The best parts of FIRST just cannot be described. They have to be experienced. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 13-02-2016, 15:01
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Question Subsystem not being recognized by commandbase

Firstly, here is our code.

With that out of the way, we seem to be having trouble getting our "Rollers" subsystem to be recognized by CommandBase. It is consistently producing the error of
Code:
'Rollers' does not name a type.
Any help would be appreciated.

(side note: most values in RobotMap are just placeholders for the time being.)
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2016, 15:28
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 186
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Subsystem not being recognized by commandbase

You have a

Code:
const int Rollers = 666;
In robotMap.h That global const is conflicting with the subsystem named Rollers.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?


Last edited by kylelanman : 13-02-2016 at 15:29. Reason: Spelling
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2016, 15:31
tkdberger's Avatar
tkdberger tkdberger is offline
SPAAACE
AKA: Hugh Mungous
FRC #3494 (Quadrangles)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Bloomington, IN
Posts: 23
tkdberger is an unknown quantity at this point
Lightbulb Re: Subsystem not being recognized by commandbase

Quote:
Originally Posted by kylelanman View Post
You have a

Code:
const int Rollers = 666;
In robotMap.h That global const is conflicting with the subsystem named Rollers.


Can I have your Github name to credit you in the commit?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2016, 15:41
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 186
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Subsystem not being recognized by commandbase

Quote:
Originally Posted by tkdberger View Post
Can I have your Github name to credit you in the commit?
Kython89
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

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


All times are GMT -5. The time now is 22: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