This is my first year coaching, and I am not sure what is happening… My teams’ robot’s arms fall when they are up and the student lets go of the controller. I was advised to program the motor group to “stopping to hold.” This solved the arm dropping, but now when they use the program setting (we programmed the controllers) the arm is now not extending up fully. However, when they go to the driver operated, not the programmed controller it will extend. Please help! Thanks!
Something like this could work
Hello! I would appreciate it if you sent a picture of the robot and the code to be able to help.
Here are pictures of how the controllers are currently coded, outside of the buttons, etc. Both robots are doing the same thing. The smaller one, we added the rubber bands for tension because at first it wouldn’t move up at all when using the program. Now it only goes up half way.
Are the motors trying to spin but can’t generate the torque required? In that case, you had the right idea with the rubber bands. You also may need to increase the amount of lifting motors. If the motor is just not even trying to spin, it’s a code issue.
The motors were trying to spin because we could hear the sound, but it wouldn’t lift them. So if this is the case, do we need to add another motor or more rubber bands? Would having more resistance allow the motor to raise all the way? But why then does the arm easily move up when using the controller not on the program?
It is because of the default maximum torque of the motors not being set to 100 percent (this can be changed in the code).
I see Motor10 and Motor4. What are these? So, only 4 motors?
Might want to post both the autonomous code as well as the driver directed code.
Yes, there are only 4 motors. Two for the drive train, one to raise/lower the arm, and one to open/close the claw. We are just starting the autonomous coding so there really isn’t anything yet. The only thing we have coded on the controller is the buttons with their functions and what is in the picture above.
Possibly… I will have to look into how to check/change this. Thank you for the suggestion.