{"id":1256,"date":"2010-03-01T02:34:48","date_gmt":"2010-03-01T10:34:48","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=1256"},"modified":"2010-03-01T02:34:48","modified_gmt":"2010-03-01T10:34:48","slug":"taming-the-beast","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2010\/03\/01\/taming-the-beast\/","title":{"rendered":"Taming The Beast"},"content":{"rendered":"<p>I&#8217;ve spent the better part of the last two hours trying to look for a way to make the robot slightly less homocidal.\u00c2\u00a0 I came up with someone else who needs to do the same thing I do, that is, rotate the motor 45 degrees exactly and not have it go all wobbly\u00c2\u00a0or insane. He&#8217;s got loads of graphs, but no solutions.\u00c2\u00a0 Apparently there&#8217;s another firmware which does really great, if you want to put a non-standard firmware on the NXT and risk bricking the brick.<\/p>\n<p>Then there&#8217;s another guy who&#8217;s produced a 37 KB executable that&#8217;s suppose to do quick and precise rotation.\u00c2\u00a0 Never mind that it&#8217;s 37 KB worth of code for an embedded system with limited RAM.\u00c2\u00a0 Never mind that it&#8217;s tainted by the GPL (And the &#8220;You Suck Microsoft&#8221; GPLv3, at that).\u00c2\u00a0 If it does what I need, I&#8217;ll use it.<\/p>\n<p>Except&#8230;\u00c2\u00a0 It doesn&#8217;t do what I need.\u00c2\u00a0 In fact, it appears to have absolutely no redeeming qualities about it.\u00c2\u00a0 The motor still waggles, pretty much the same amount as the normal command.\u00c2\u00a0 On top of that, it makes the brick beep.\u00c2\u00a0 WTF?\u00c2\u00a0 Why do I want the brick to beep when I&#8217;m moving a motor?\u00c2\u00a0 Then it&#8217;s got\u00c2\u00a0some questionable coding practices, including encoding command messages as ASCII characters which have to be parsed and interpreted, because obviously, you want to add all the overhead you can when you&#8217;re dealing with embedded systems and time-critical operations.\u00c2\u00a0 And it&#8217;s an executable, not a library, so if there&#8217;s anything else you want to do on the NXT side, you&#8217;re screwed.<\/p>\n<p>So, I still don&#8217;t have happy movement.\u00c2\u00a0 I think I&#8217;m just going to tone down the motor power a bit and hope it behaves better.<\/p>\n<p>I only have one day left to get it right.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve spent the better part of the last two hours trying to look for a way to make the robot slightly less homocidal.\u00c2\u00a0 I came up with someone else who needs to do the same thing I do, that is, rotate the motor 45 degrees exactly and not have it go all wobbly\u00c2\u00a0or insane. He&#8217;s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[15,14,20,28],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1256"}],"collection":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/comments?post=1256"}],"version-history":[{"count":2,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1256\/revisions"}],"predecessor-version":[{"id":1258,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/1256\/revisions\/1258"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=1256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=1256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=1256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}