Project

General

Profile

Revision 1046

Added by Rich Hong almost 13 years ago

small chnage to motion.c, going forward and backwards should now be consistent

View differences:

branches/simulator/projects/simulator/simulator/core/motion.c
36 36
	if (abs(speed2) < CUTOFF) {
37 37
		speed2 = 0;
38 38
	}
39
	speed1 = (speed1 - CUTOFF);
40
	speed2 = (speed2 - CUTOFF);
39

  
41 40
	double radius;
42 41
	if (speed1 == speed2) {
43 42
	  /* go straight */

Also available in: Unified diff