Go to Post If you always do what you’ve always done, you’ll always get what you’ve always gotten. - rourke [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
  #3   Spotlight this post!  
Unread 05-02-2008, 23:25
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,815
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Problems with our driving

One thing our team is doing that seems to help a ton is using a cubic function: motor = (input - 127)^3/127^2 + 127

The real nice thing about this method is that when the joystick is at either extrema (0 or 255), your motor is at the extrema too... But moving the joystick a little moves the motors even less near the center. For example, plugging in 157 (only 30 'ticks' forward of the center of the joystick) gives you a motor output of something like 130. Basically, you make the robot less responsive to the joystick near the center, but gradually "ramp up" the responsiveness as you move the joystick out.
 


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
Problems with our OI/RC robobrain0101 Programming 3 09-02-2007 14:48
autotracking and driving with Easy C??? team877 Programming 4 19-01-2007 12:36
Basics for autotracking and driving with it team877 Programming 1 17-01-2007 20:27
Problems with our school Team1726Nerds Chit-Chat 6 13-01-2006 23:55
problems with our programmer AlphaOmega870 Programming 12 31-01-2003 08:23


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

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