mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
13 lines
295 B
C++
13 lines
295 B
C++
|
|
#include "Pickup.h"
|
||
|
|
#include "CloseClaw.h"
|
||
|
|
#include "SetWristSetpoint.h"
|
||
|
|
#include "SetElevatorSetpoint.h"
|
||
|
|
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
Pickup::Pickup() : CommandGroup("Pickup") {
|
||
|
|
AddSequential(new CloseClaw());
|
||
|
|
AddParallel(new SetWristSetpoint(-45));
|
||
|
|
AddSequential(new SetElevatorSetpoint(0.25));
|
||
|
|
}
|