My team has recently built a simple lift for the over-under competition. We recently came to attention that whenever the match ends, our robot is disabled, and the lift motors go to coast, causing the lift to retract. It will probably fix the problem if we add rubber bands, but I am wondering if there is a way to fix it in the code.
No, there is no way of changing this in the code. You’ll have to solve this mechanically, either with rubber bands, a ratchet, or pneumatics.
There is no way to make to be able to keep the lift after the game ends because the code is disconnected after that time. You may be able to add a gear stopper that stops the gear from rotating the other way resulting in a lift. But if the rubber bands work for you it should be okay.
No all motors are set to coast at the end of the match. You can’t alter them to hold at the end of the match. You could use some sort of locking mechanism or ratchet to hold your robot.
There isn’t a way in coding, it just happens. If you add a ratchet it will stop the motors from retracting
there is no way for you to fix it in the code when the robot goes off. It has to be a mechanical fix, like a locking system.
Thank you. We added ruber bands to it, and everything is working well now
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.