Go to Post "But from a real life standpoint, that looks like something the evil villains in a superhero movie would use to get around in" Reading the phrases "real life" and "evil villains in a superhero movie" in the same sentence makes me giggle. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 09-03-2013, 14:30
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: West Coast Drive Code

Quote:
Originally Posted by arun4444 View Post
Great, quick question -

would setting

a = 0.25;
b = 0.40;

be similar to setting:

a=0
b=1

and passing the joystick inputs through a cubic?
No. Why would you think it would?


Reply With Quote
  #17   Spotlight this post!  
Unread 09-03-2013, 20:02
arun4444 arun4444 is offline
Registered User
FRC #3760
 
Join Date: Jan 2013
Location: Bronx
Posts: 26
arun4444 has a little shameless behaviour in the past
Re: West Coast Drive Code

I am using java code and apparently the JAVA ME does not have built in support for cuberoots etc. We originally had a cubic providing a non linear throttle response in our old code - i guess my question was does tweaking a and b provide a similar response as standard wpilib arcade drive with a cubic on top?
Reply With Quote
  #18   Spotlight this post!  
Unread 27-03-2013, 18:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: West Coast Drive Code

Quote:
Originally Posted by arun4444 View Post
i guess my question was does tweaking a and b provide a similar response as standard wpilib arcade drive with a cubic on top?
No. Tuning "a" and "b" just changes the endpoints at (X=+/-1,Y=0) and (X=+/-1, Y=+/-1). The interpolation is linear between those endpoints. That's why I named it "Tunable Linear Interpolated Arcade".


Reply With Quote
Reply


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


All times are GMT -5. The time now is 13:21.

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