Skip to content

Optimize the button placements to make everything a lot easier. #3

Description

@github-actions

gb1(GamepadKeys.Button.START).whenPressed(

new SequentialCommandGroup(

liftSys.goTo(LiftSys.HANG),

new WaitCommand(100),

new ParallelCommandGroup(

liftSys.vibrate(1500, 0.2),

transmissionSys.shiftUp()

)

)

);

//TODO: Optimize the button placements to make everything a lot easier.
//Issue URL: https://github.com/RiftFTC/IntoTheDeep/issues/3
// gb1(GamepadKeys.Button.START).whenPressed(
// new SequentialCommandGroup(
// liftSys.goTo(LiftSys.HANG),
// new WaitCommand(100),
// new ParallelCommandGroup(
// liftSys.vibrate(1500, 0.2),
// transmissionSys.shiftUp()
// )
// )
// );

        //TODO: Optimize the button placements to make everything a lot easier.
        //Issue URL: https://github.com/RiftFTC/IntoTheDeep/issues/3
//        gb1(GamepadKeys.Button.START).whenPressed(
//                new SequentialCommandGroup(
//                        liftSys.goTo(LiftSys.HANG),
//                        new WaitCommand(100),
//                        new ParallelCommandGroup(
//                                liftSys.vibrate(1500, 0.2),
//                                transmissionSys.shiftUp()
//                        )
//                )
//        );

        driveSys.setDefaultCommand(driveSys.drive(
                gamepadEx1::getLeftY,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions