Go to Post ... Better to treat everything like it's about to explode and be wrong than the other way round. - Bongle [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
  #4   Spotlight this post!  
Unread 02-04-2006, 20:25
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: Scaling

Quote:
Originally Posted by Cuog
I would do the same thing as above but i would use (signed char) instead of int in the casting since it will be less memory intensive and faster(yes im all about optimizing code)
Wouldn't you need to change the 127's to 128's to make that work right?
 


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
Scaling algorithms rhobincu Computer Graphics 1 10-10-2005 13:25
VEX 2005 = Mini FRC 2004 Joe Johnson FIRST Tech Challenge 12 08-04-2005 17:22
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Scaling Values in the Control Program archiver 2000 15 23-06-2002 22:24
Scaling on motors Jeff Waegelin Motors 2 13-01-2002 23:07


All times are GMT -5. The time now is 00: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