View Single Post
  #5   Spotlight this post!  
Unread 30-10-2003, 02:27
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
I don't think that array should be taking up ALL of your RAM...you have 1800 bytes. I'm not entirely sure how much RAM the other processes take up, but I think that 1800 bytes is solely program RAM so you shouldn't be running into RAM issues...

Float is the only variable that allows for decimals, but I'm not sure why you'd need decimals if you're doing auton code. There's no way you can get it THAT precise because alot of factors like battery life and objects on the floor will affect the movement of the robot. You might be able to calculate it down to 13.3432423432432432434 feet to get to the ramp, but really the robot may not get there in that amount or it might go too far with that. Alot of assumptions have to be made when making this program and I'm not sure if a float would allow you anymore control than an int or unsigned int.
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com