View Single Post
  #5   Spotlight this post!  
Unread 07-11-2006, 13:25
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Only one side moves!?!?

Quote:
Originally Posted by kiettyyyy
They are just normal int's. I tried sticking 0.59 as a floating point value by putting an F at the end, but that still didn’t work. I'll give it a try tomorrow afternoon. Thanks Matt!

Even so, integers could still make for flaky numbers. My recommendation is multiply it by 59, then divide by 100, fundamentally it's still the same, but that operation is much faster, and more supported by the processor, with minimal (and predictable) data loss in the form of rounding error.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)