I want to disable “hold” mode on motors, but what i used didnt work.
check here for brake type
https://api.vexcode.cloud/v5/html/namespacevex.html#a2090f7d57d63c5cf693f269bc73568f1
1 Like
What I would recommend would be saying something like this:
Left.stop(hold);
Right.stop(hold);
vex::task::sleep(10);
Left.stop(coast);
Right.stop(coast);
When you do not specify a brakemode, it uses the last one it was given. You need to include coast
in the parentheses if you do not want holding to occur.
1 Like
You need to tell it to braketype coast.
Right.stop(coast);
1 Like
If that does not work you might need to us an if else statement, that is if it is driver controle and not antonimos.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.