View Single Post
  #6   Spotlight this post!  
Unread 04-02-2006, 21:33
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robot Runs in full Reverse

Actually, for two-joystick control, LimitMix isn't appropriate either. Its only purpose is to mix the x and y axes of a joystick for single-joystick control. It subtracts 2000 from its input as part of doing its job.

Abwehr is right -- just copy the joystick values to the pwms.
Code:
  pwm03 = p1_y;
  pwm04 = p2_y;
It's that simple.