Go to Post This could be interesting...rednecks of FIRST unite for duct tape - amos229 [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
  #1   Spotlight this post!  
Unread 10-02-2011, 15:31
DSST\neal.ian DSST\neal.ian is offline
AAHHH!! WHERE'D ALL THE TIME GO?!?!
AKA: Ian Neal
FRC #2240 (Brute Force)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Thornton, CO
Posts: 30
DSST\neal.ian has a spectacular aura aboutDSST\neal.ian has a spectacular aura aboutDSST\neal.ian has a spectacular aura about
Send a message via AIM to DSST\neal.ian Send a message via MSN to DSST\neal.ian Send a message via Yahoo to DSST\neal.ian
Question Manipulating throttle output (function)

This isn't a question on how to program or anything, but more of a mathematical question (I put it here because I figured this was more oten visited). My question is this: what is a function/equation I can use to change what the lower bound on the throttle is? I know that it gives outputs from -1 to 1 and to use it I need to negate the value that comes out, since "up" is -1. I figured out a function to manipulate the throttle inputs to get values from 0 to 1, which was (Z+1)/2, of course multiplied times -1 to give the right values. Any thoughts, or questions? Did this make sense at all? Thanks.
__________________

-2010 Finalists! CO Regional 2010

2240 BRUTE FORCE!!!!!!!

Our site: http://robotics.scienceandtech.org
 


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 03:46.

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