I am using the Drivetrain examples in VEXcode IQ.
There is a block called “set drive stopping to [break, coast, hold]”.
What does the ‘hold’ option do? The documentation says “Hold will cause the Drivetrain to come to an immediate stop and returns it to its stopped position if moved”.
What does “returns it to its stopped position if moved” actually mean?
Thanks
1 Like
I don’t do VEX IQ, but…
Coast: It’ll stop moving the motor, but it won’t stop the motor from moving on its own. You’ll be able to move the motor manually, and it won’t offer any resistance.
Hold: Keeps the motor at a certain position, and if you try to move it with your hands manually, it won’t let you.
Basically, if you set the braketype to hold, the motor will stay at the position that it was stopped in (AKA, a certain angle) until it’s told to move again or the program is turned off. If you try to move it externally, like with your hands, you won’t be able to (and if you are able to, you’re probably breaking the motor). Coast will stop the motor, but won’t offer resistance if you try to move it externally.
I hope that made sense, and good luck coding! 
5 Likes
Just tested it. Works just as you said. Thanks!
3 Likes
In V5, and so I assume in IQ as well,
Coast stops applying power but allows the motor to be backdriven
Brake uses a property of the electromagnetic coils to resist movement
Hold employs a PID loop to return the motor to its stopping position, and is far more power hungry than the other 2 things.
7 Likes