View Single Post
  #1   Spotlight this post!  
Unread 22-01-2015, 22:46
BananaKing1378's Avatar
BananaKing1378 BananaKing1378 is offline
BaNaNaK1Ng8o8
AKA: Banene
FRC #1378 (Hilo Banana Robotics)
Team Role: Human Player
 
Join Date: Jun 2014
Rookie Year: 2008
Location: Pluto
Posts: 7
BananaKing1378 is an unknown quantity at this point
Double Solenoid error in Eclipse

Hello! We are currently trying to set up a double acting solenoid in Eclipse.

First we create a DoubleSolenoid called Solenoid with the following line:
DoubleSolenoid Solenoid;

Next we construct it:
Solenoid(0,1);

Next, we try to set the Solenoid to forward. This is where the problem occurs. We are told that there is no member named "Forward". We have tried various ways of calling "set". Currently, we are using:

Solenoid.Set(DoubleSolenoid::kForward);
Reply With Quote