1 #ifndef EAGLE_EBOARD_HELPLIB_HELPMOT 2 #define EAGLE_EBOARD_HELPLIB_HELPMOT 38 if(spe < 0 || spe > 180)
return;
42 if(ang < 0 || ang > 180)
return;
void write(int value)
sets angle or pulse width of the Servo
void set_steer_angle(optVAL_t ang)
sets the angle of the steering (data pin: EBOARD_HELPCAR_STEER) motor
void set_motor_speed(optVAL_t spe)
sets the speed of the main (data pin: EBOARD_HELPCAR_MAIN) motor