View Single Post
  #4   Spotlight this post!  
Unread 12-02-2007, 13:32
jdejoannis jdejoannis is offline
Registered User
FRC #1845
 
Join Date: Feb 2006
Location: Atlanta,GA
Posts: 48
jdejoannis will become famous soon enoughjdejoannis will become famous soon enough
Re: Servo Values to Degrees... How?

From "The C Library Reference Guide, 1997, Eric Huss" (available online):
2.7.2.9 tan
Declaration:

double tan(double x);

Returns the tangent of a radian angle x.

Range:

There is no range limit on the argument or return value.
In short - yes, the angle is in radians (and it should be a double).