View Single Post
  #6   Spotlight this post!  
Unread 05-10-2010, 07:59
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: No atan() method in FRC version of java

Quote:
Originally Posted by Jared341 View Post
Alex:

Take a look in the com.sun.squawk.util.MathUtils package. There are implementations of many of the J2SE math functions, including atan() and atan2(), in there.
What is the import line I need to use? I tried 'import com.sun.squawk.util.MathUtils;' and that did not work. I have yet to learn what Taylor series are in detail, so that would be a project for down the road.
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote