|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
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)
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|