Home / Ramblings / New NXT-G trig blocks examples

New NXT-G trig blocks examples

Over on the HiTechnic blog, Gus has written up a new article about his new NXT-G sin/cos and atan2 blocks. It’s chockfull of explanations and some examples.

For the speed freaks among us, you’ll be happy to know that the integer variant takes about 0.5ms to do a calculation and the floating point version takes approximately 0.75ms.  That’s pretty fast, in my books.

About Xander

Xander Soldaat is a Software Engineer and former Infrastructure Architect. He loves building and programming robots. He recently had the opportunity to turn his robotics hobby into his profession and has started working for Robomatter, the makers of ROBOTC and Robot Virtual Words.