View Single Post
  #7   Spotlight this post!  
Unread 02-02-2012, 11:21
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: Strange Jaguar/CIM Motor Behavior

Quote:
Originally Posted by DavidGitz View Post
6. From what we've been able to tell, if all the above steps pass the robot should strafe correctly.
Not necessarily. If the front and back PWM controls are swapped on one side, the robot will probably just bounce in place trying to squeeze or stretch itself sideways. If they're swapped on both sides, the robot will probably strafe in the wrong direction, and trying to turn while strafing will be very entertaining.

The first thing to do is make sure the wheels are installed in the proper orientation. The second thing is to make sure the PWM definitions in software match the wiring in hardware. Then you can determine whether or not any of the motor directions need to be inverted.