On first robot enable the pistons stay stowed like they should but when I re-enable the robot, the pistons extend automatically. I have no clue how to fix this and have tried everything I could think.
@golf_cart_john how did we solve this?
Actually, just move retractIntake() to execute and deployIntake() to end
Your IntakeManipulator command never finishes, does this mean that your command is staying scheduled, which is then in turn calling deployIntake?
Put your Subsystem on Shuffleboard and watch what is scheduled for it. You should be able to view what is interacting with the Subsystem.
In theory, you could set the default command for the intake subsystem to be retracting the pistons until a specific button is pressed. That would then also allow you to do things like retract the manipulator back into the frame perimeter to avoid damage from other robots etc.
I ended up fixing it by just reversing the port numbers. Checked the state of the system being run and it turned out that since I had it on a toggle, the piston was extended when it was off and not on.
That’s what we are doing actually.
could you have just swapped the tubbing on the solenoid and changed your button bindings? Very hacky but im wondering if that would work…
Fairly sure that would’ve worked but I just swapped the forward and reverse ports.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.