Go to Post It's still not about the robots. FIRST is about doing the right thing. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-11-2004, 14:15
Mr. Van Mr. Van is offline
Registered User
#0599 (Robo-Dox)
 
Join Date: Feb 2002
Location: Granada Hills, CA
Posts: 350
Mr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond reputeMr. Van has a reputation beyond repute
Unhappy Single joystick control problem

Ok, I know someone must have worked this out...

We're having trouble trying to correct the "backwards is backwards" problem with single joystick control.

We are using the following algorithm:
(We do have the appropriate limits in place to keep all values acceptable.)

L=x+y-127
R=y-x+127

Everything forward works fine, as does straight back, but "back and to the left" actually results in "back and to the right".

How can we correct this?

-Mr. Van
Coach, 599
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
One Joystick Control KWalsh Programming 4 24-02-2004 17:53
problem with joystick buttons (top left one) Richomundo Programming 5 15-02-2004 17:16
single joystick programming Bill Bonsky OCCRA 2 04-10-2003 09:47
how do i control a piston with a joystick Ryan Foley Programming 2 27-05-2003 17:13
joystick problem archiver 2000 12 23-06-2002 23:08


All times are GMT -5. The time now is 10:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi