Go to Post Remember, WWGD? (What would Grandma Do?) - Vikesrock [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
  #8   Spotlight this post!  
Unread 14-01-2003, 20:52
Phil Roth Phil Roth is offline
Registered User
#0011 (BASF)
 
Join Date: Jan 2003
Location: Mt. Olive New Jersey
Posts: 31
Phil Roth is an unknown quantity at this point
Send a message via AIM to Phil Roth Send a message via Yahoo to Phil Roth
I've seen a few schemes to alter joystick profiles allowing the driver better control at the low end. Routines have simple offsets, dead bands and still maintain a linear relationship to the joystick. I'd like to try a response curve that increases throttle positions exponentially, similar to a charging capacitor. Such a curve would have a lot of motion for low/mid speed maneuverability and limited motion for high speed where normally you would be going straight. Calculating this curve is a few lines of code in 'C' but can't find an easy way with PBASIC other than making a lookup table which wastes a lot of space...Anybody do this before??

ALSO.. Is there a shift operation in PBASIC??..like x = X << 5 or do you have to divide and multiply?

Thanks
 


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
PBASIC Syntax Question Raven_Writer Programming 4 20-08-2003 08:07
Question Obtaining Pbasic 2.5 PyroPhin Programming 3 18-01-2003 01:26
PBasic Question Melissa H. Programming 28 17-11-2002 18:53
pbasic question archiver 2001 5 23-06-2002 23:50
Another PBASIC Question Ian W. Programming 4 31-01-2002 21:36


All times are GMT -5. The time now is 12:16.

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