I don't understand this code about the servos :
void robot_turn_left(void)
{
servo_left(25);
servo_right(25);
}
void robot_turn_right(void)
{
servo_left(44);
servo_right(44);
}
void robot_go_straight(void)
{
servo_left(25);
servo_right(44);
}
void hold_position(void)//37
{
servo_left(39);//39
servo_right(35);//35
}
The code is from the robot_source_50_sharpIR_v1 folder. In the folder there is the file SoR_Utils.h and it has the above code in it. I don't get the part where it says:
void robot_turn_left(void)
{
servo_left(25);
servo_right(25);
}
This function is supposed to make the robot turn left and the values in the parenthesis are the speed of each servo, right? But I thought when you want the robot to turn left you would make servo_left lower than servo_right so that the left servo turns slower than the right. This would cause the robot to turn left. I'm wondering why the values in parenthesis are both at 25?!?!
I could be thinking about this all wrong...