View Single Post
  #2   Spotlight this post!  
Unread 03-08-2010, 20:51
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Is the crio powerful enough?

If you are using too much trig processing, then you could always use a lookup table.

You would only need one table for both Sin and Cos because of the identity "sin((PI/2.0) - X) == cos(x)"

You could also cache the results of your equations.

What are you using the trig for?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!