View Single Post
  #23   Spotlight this post!  
Unread 16-12-2010, 00:36
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to code Macanum ddrive

Quote:
Originally Posted by whcirobotics View Post
I wanted it to be like 1 joystick controls the up and down motion of robot, and the other joystick the starfing part, thats why i attached the y axis to one joystick(up down) and the starfing and x to other joystick.
You've got Y2 controlling fwd/rev, X1 controlling strafe, and throttle controlling rotation. This sounds like an extremely awkward driver interface to me. Driver needs 3 hands.

Why not use a more standard driver interface like one of the following:

1) Tank Drive plus strafe. See posts 9 and 17 in this thread. Takes advantage of driver's familiarity with tank drive.

2) Halo plus rotate. Y1 controls fwd/rev, X1 controls strafe, X2 controls rotation. Takes advantage of driver's skill at playing Halo-style videogames.

3) Arcade plus strafe. See post 17 in this thread.


You can use the throttle to adjust joystick sensitivity (gain) so different drivers can adjust it to their liking.



Last edited by Ether : 16-12-2010 at 00:43.
Reply With Quote