Go to Post You hang for show; kick for dough. - Travis Hoffman [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-10-2008, 23:51
R.C.'s Avatar
R.C. R.C. is online now
2017... Oooh Kill em, Swerve!
AKA: Owner, WestCoast Products
FRC #1323 (MadTown Robotics)
Team Role: Engineer
 
Join Date: Feb 2008
Rookie Year: 2006
Location: Madera, CA
Posts: 2,184
R.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond repute
Re: Robot too sensitive. How do I fix this?

Create a step function. Also, create a wide base of 127. You could either do this

if (drive_left >127 || drive_left<150)
drive left = 127;

or

create a funtion in which it takes the pwm value, splits it into 14 or 17 sections. Then it will return a number and that number could stand for a wide base of numbers:

ex: (pwm01/17) = 14. 14 would stand for the value 236. If the answer came out to be 14.2, C and C++ cuts numbers so that equals 14. This is pretty much a step function used in math.
__________________
R.C.
Owner, WestCoast Products || Twitter
MadTown Robotics Team 1323
Closed Thread


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
This is how our robot vacations..... Vince General Forum 12 11-07-2008 12:12
Ball leak/How to fix mindman13 General Forum 18 17-02-2008 17:57
pic: This is how you know I love our robot. bigboi146 Extra Discussion 9 28-02-2007 13:47
So how would you fix this year's game? AnonymousMan General Forum 6 09-01-2005 09:36
Very BIG bug...Brandon, please fix this one ASAP! IMDWalrus CD Forum Support 1 11-02-2004 22:42


All times are GMT -5. The time now is 05:49.

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