View Single Post
  #3   Spotlight this post!  
Unread 11-02-2014, 12:36
Zach S. Zach S. is offline
Registered User
FRC #3307 (Luray Robodawgs)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Luray
Posts: 30
Zach S. will become famous soon enough
Re: Double solenoid code

My line of code for Set() looks like this
Code:
festo.Set(kForward);
festo is the call for our DoubleSolenoid. When i try to build the code I get the following errors:
Code:
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp: In member function `virtual void RobotDemo::OperatorControl()':
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp:58: error: `kForward' undeclared (first use this function)
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp:58: error: (Each undeclared identifier is reported only once for each function it appears in.)
Any idea why the Set() I am using is not working?
__________________
Head of Computer Systems and Programming of Team 3307


Reply With Quote