View Single Post
  #13   Spotlight this post!  
Unread 03-03-2009, 14:08
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Joysticks with circular motion

I think I need to clarify a bit.

Our turret looks at the gyro and initial heading of the robot to determine absolute angle to the field.

If the joystick is pushed to the west - the turret turns and aims west. If the joystick is pushed north - the turret turns and aims north. Regardless of what direction the robot is facing.

That is why I need the circular range of motion joystick. Adjusting the gain of the turret for angles close to the x and y axis result in the turret being very slow in the corners because the joystick is much further from the center. Adjusting for the corners makes it touchy when the joystick is pushed in the direction of x and y axis.

Potentionally we could use an encoder and calibrate it - continous turn pots have too much of a dead zone to be desirable. However we have many functions that are tied to joystick buttons that are simply too late to change.

Perhaps we'll just machine a 2 part collar that will fit around the top of the joystick to limit it to circular motion.