Fixed warnings in libscout behaviors.
Some of these were actually serious errors. Others were little things.
//Also, subtract the delta from y because positive y is down.
scout_pos->x += total_dist*cos(-theta);
scout_pos->y -= total_dist*sin(-theta);
scout_pos->theta = fmod(theta, 2*M_PI);
scout_pos->theta = fmod(theta, (float)(2*M_PI));
//Save state for next time in.
motor_fl_ticks = scout_enc.fl_ticks;
Also available in: Unified diff