View Single Post
  #2   Spotlight this post!  
Unread 02-17-2016, 09:56 PM
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Double Solenoid Function Error

You need to add initializations for the pusher and shifter. Those are calls to the constructor of the class. 'DoubleSolenoid:oubleSolenoid()

Code:
Robot() :
        driver(0), // Use joystick on port 0.
        // Use double solenoid with Forward Channel of 1 and Reverse of 2.
        shootingArm(1, 2),
		shifter(3,4),
		pusher(5,6)
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote