Go to Post As an adult who has spent years working with youth in Boy Scouts and FIRST, and on behalf of all other adults at the event: deodorant. - Rick TYler [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
  #2   Spotlight this post!  
Unread 23-01-2008, 17:29
angelc24's Avatar
angelc24 angelc24 is offline
A Pirate's Life For Me...
AKA: Christina
FRC #0467 (Duct Tape Bandits)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2005
Location: MA
Posts: 45
angelc24 has a spectacular aura aboutangelc24 has a spectacular aura aboutangelc24 has a spectacular aura about
Send a message via AIM to angelc24
Re: Joystick sensitivity

This is what we have used for the past few years as ramping code :

Code:
long ramping (unsigned char ramp)
{
    long answer = 0;
    answer =  ((long)ramp - 127);
    answer = ((answer) * (answer) * (answer));
    answer = ((answer) / (128 * 128));
    answer = (answer) + (127);
    return answer;
}


We've never used EasyC, so I don't know if there's anything there to help you...
__________________
"You need people of intelligence on this sort of mission....quest.....thing."
"Where did all the food go?"
"Ask the programmers."

"Whether a bot is made of new parts, old parts or spare parts, you can shine no matter what you're made of"
2005 Delphi Driving Tomorrow's Technology Award
2006 Xerox Creativity Award
2006 Delphi Driving Tomorrow's Technology Award
2007 Johnson and Johnson Sportsmanship Award
2008 Judges' Award
 


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
joystick sensitivity hanan Control System 4 19-01-2007 05:36
Accelerometer Sensitivity zachriggle Programming 0 27-01-2006 23:16
White Paper Discuss: Joystick Sensitivity Demystified - Version 2 marccenter Extra Discussion 0 28-02-2005 16:54
joystick sensitivity Team 668 Programming 11 16-02-2005 18:45
Help with Joystick Axes and Sensitivity bglass Programming 6 06-02-2005 14:01


All times are GMT -5. The time now is 18:29.

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