I am using a Baby Orangutan to control two motors. I am using the Pololu library for programming and I am using the function set_motors to set the velocities. I want to know set_motors(0,0) is “break low” or “coast”? and how should I switch between “break low” and “coast”?
As mentioned in the “Orangutan Motor Control” section of the Pololu AVR Library Command Reference, a speed of 0 results in brake low. To switch between coast and brake low, you might find the “Motor Driver Truth Tables” and “Simple Code to Drive the Motors” sections of this application note on using the motor drivers on the Orangutan robot controllers helpful.