Jan 24, 2011

NXT-G Trig functions

HiTechnic have just released new NXT-G blocks that enable you to do simple Trigonometric functions such as sin, cos and atan2.




What would you need these for? Well when you're dealing with angles, you often need to calculate the length of the side of a triangle. Suppose your robot drives 1m forward, turns 23 degrees and then travels another 0.75m forward. How far are you from the start? That's where these blocks come in handy! I won't go into the math in this post but you get the idea. (wikipedia)

http://www.hitechnic.com/blog/uncategorized/new-hitechnic-blocks-for-sin-cos-and-atan2/

via - I'd rather be building robots

--
Damien Kee
www.damienkee.com

1 comment:

pbrubeck95 said...

I had done blocks for sine, cosine, and tangent the 20 of january and I was planning to use them in the Google science fair.

Related Posts Plugin for WordPress, Blogger...