Thread: Autonomous Mode
View Single Post
  #10   Spotlight this post!  
Unread 28-01-2007, 12:50
Slick Slick is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Martinsville, VA
Posts: 21
Slick is an unknown quantity at this point
Re: Autonomous Mode

Also, if I go to the user_routines.c file and change the line:

pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127);
to
pwm13 = Limit_Mix(2000 + p1_y + p1_x - 127);

pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127);
to
pwm15 = Limit_Mix(2000 + p1_y - p1_x + 127);

This change causes the auto mode to work, but the joysticks do not. Remember the drives are wired to pwm13 and pwm15.... Looks like this should have nothing to do with it????