Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Subsystem not being recognized by commandbase (http://www.chiefdelphi.com/forums/showthread.php?t=143785)

tkdberger 02-13-2016 03:01 PM

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.)

kylelanman 02-13-2016 03:28 PM

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.

tkdberger 02-13-2016 03:31 PM

Re: Subsystem not being recognized by commandbase
 
Quote:

Originally Posted by kylelanman (Post 1539718)
You have a

Code:

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

:ahh:

Can I have your Github name to credit you in the commit?

kylelanman 02-13-2016 03:41 PM

Re: Subsystem not being recognized by commandbase
 
Quote:

Originally Posted by tkdberger (Post 1539719)
Can I have your Github name to credit you in the commit?

Kython89


All times are GMT -5. The time now is 09:19 AM.

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