View Single Post
  #9   Spotlight this post!  
Unread 31-10-2001, 16:45
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,633
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
how many iterations with 16 bit calculations?

The real test would be to truncate all your calculations to 16 bits and then to count the number of interations needed to get to within 1 bit of byte result (1 out of 256).

We only have 8 bits of resolution in the inputs. We have LESS than 8 bits of resolution in the outputs (I don't recall the actual numbers but I THINK it is something like 64 PWM steps in each direction -- not more). Finally, the sin and cos functions we need in our newton's method are only 8 bit functions.

There may be some case when more resolution can be utilized but I are skeptical.

If you got the answer to 8 significant bits, I suppose that would be plenty.

Joe J.