|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Cartesian to angle
A look up table?
|
|
#2
|
|||||
|
|||||
|
Re: Cartesian to angle
Why? That's terribly cumbersome compared to the methods already posted.
|
|
#3
|
|||
|
|||
|
Re: Cartesian to angle
Well, it takes less clock cycles to just retrieve data from an array compared to calculating the angle on the fly. Even though a look up table does take up considerable amount of space in the RAM (Not really since we are dealing with 64 MB of RAM...) Also given the level of accuracy we only really need, about ± pi/180 radian. I think it should be fine.
|
|
#4
|
|||||
|
|||||
|
Re: Cartesian to angle
Quote:
|
|
#5
|
||||
|
||||
|
Re: Cartesian to angle
Quote:
|
|
#6
|
|||
|
|||
|
Re: Cartesian to angle
You must spread some Reputation around before giving it to Ether again.
|
|
#7
|
||||
|
||||
|
Re: Cartesian to angle
Quote:
Yes, it does indeed. You learn something new every day I guess. |
|
#8
|
|||
|
|||
|
Re: Cartesian to angle
... and the new cRIO-FRC2 has 128 MB of RAM.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|