예제 #1
0
// Brake motor 1 and 2, brake is a number between 0 and 400
void QuadMotorShields::setBrakes(int m1Brake, int m2Brake, int m3Brake, int m4Brake)
{
  setM1Brake(m1Brake);
  setM2Brake(m2Brake);
  setM3Brake(m3Brake);
  setM4Brake(m4Brake);
}
// Brake motor 1 and 2, brake is a number between 0 and 400
void DualVNH5019MotorShield::setBrakes(int m1Brake, int m2Brake)
{
  setM1Brake(m1Brake);
  setM2Brake(m2Brake);
}
예제 #3
0
파일: motion.cpp 프로젝트: COS518/mobot
void Motion::setBrakes(uint8_t m0Brake, uint8_t m1Brake){
	setM0Brake(m0Brake);
	setM1Brake(m1Brake);
}
예제 #4
0
// Brake motor 1 and 2, brake is a number between 0 and 400
void MotorShield::setBrakes(int m1Brake, int m2Brake) {
    setM1Brake(m1Brake);
    setM2Brake(m2Brake);
}
예제 #5
0
void MotorShield::setBrakes(int m1Brake, int m2Brake){
    setM1Brake(m1Brake);
    setM2Brake(m2Brake);
} // Brake both M1 and M2.
// Brake motor 1 and 2, brake is a number between 0 and 255
void VNH5019_motor_driver::setBrakes(int m1Brake, int m2Brake)
{
  setM1Brake(m1Brake);
  setM2Brake(m2Brake);
}