View Single Post
  #3   Spotlight this post!  
Unread 06-02-2005, 13:44
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: controlling just x or y axis of a double articulated arm

Would it be easier to use the y axis of the joystick, and the joystick wheel to control the location of the tip of the arm? Like make the height of the arm equal to the value from the wheel, then make the horizontal distance to the tip of the arm be equal to the y axis of the joystick. Once you knew that you would know the lengths of all three sides of a triangle, which would allow you to use trig to find the angles at the corners, and set your arm to those angles. Something like that. You could also use the X axis to do the same thing as the wheel, but that would be weird to operate.