Thanks Martin,
That works! But there is a little less math in post 49. It makes the rest of the cordic do what its supposed to for the rest of the quadrants. Thanks for pointing it out.
Here is TRIG.inc V1.5
Thanks Martin,
That works! But there is a little less math in post 49. It makes the rest of the cordic do what its supposed to for the rest of the quadrants. Thanks for pointing it out.
Here is TRIG.inc V1.5
http://www.scalerobotics.com
Walter,
Thank you for your original work and the update.
Martin, thanks for bringing up again.
I was trying to make this work last year. My results were similar to Martin's.
Assuming it was something in my code. I had to settle for pbp ATN.
Can't wait to try it out
Best regards
Walter,,
Yes the statement: IF ang > 9000 then ang = 45000 - ang, does the job. For some reason the first time I tried using it the results were crazy so I simply tried to make a patch. I must have typed in something incorrectly. Excellent job Walter ! Thanks for this piece of code.
73's de Martin
Bookmarks