View Single Post
  #1   Spotlight this post!  
Unread 03-02-2006, 10:33
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Problem With Math.h

Hi all, was wondering if anyone could help me out with a problem I'm having:
I am trying to use Math.h for a few trig functions to be processed in the controller, and my program compiles perfectly fine, but immediately upon completing the upload to the RC, an ERROR text pops up with just hex symbols, and I get a code error led. This only happens when I try to use trig functions from Math.h such as tan(), asin(), etc. I thought at first it was a memory overflow of some sort but I seem to have plenty of memory left (I think). Note that this happens immediately after I upload the code, before its run (aka doesnt occur due to a runtime error from an invalid input value). Any help would be appreciated...