{"id":284,"date":"2009-09-07T13:24:50","date_gmt":"2009-09-07T20:24:50","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=284"},"modified":"2009-09-07T13:24:50","modified_gmt":"2009-09-07T20:24:50","slug":"new-tricks","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2009\/09\/07\/new-tricks\/","title":{"rendered":"New Tricks"},"content":{"rendered":"<p>I&#8217;m not sure that playing nice and writing a proper Mindstorms program is going to work out.\u00c2\u00a0 It&#8217;s too difficult to tweak the motor settings on the fly, and drag and drop programming isn&#8217;t exactly conducive to setting up a complex command system where you send a packet that contains all of the motor settings.<\/p>\n<p>So, I&#8217;m going to try something new&#8230;<\/p>\n<p>You see, Mindstorms are popular because they&#8217;re not locked down.\u00c2\u00a0 Lego has released many technical documents on how the NxT Brick works.\u00c2\u00a0 Those documents include highly useful things like this:<\/p>\n<p>\u00c2\u00a0<a href=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/SetOutputState.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-285\" title=\"Set Output State\" src=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/SetOutputState-300x87.jpg\" alt=\"Set Output State\" width=\"300\" height=\"87\" srcset=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/SetOutputState-300x87.jpg 300w, https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/SetOutputState.jpg 826w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I can simply send a message directly over Bluetooth that tells the motor what to do.\u00c2\u00a0 That way, all of the control is on the PC application side, where it&#8217;s easy to tweak settings.<\/p>\n<p>Hopefully this will make things run happier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m not sure that playing nice and writing a proper Mindstorms program is going to work out.\u00c2\u00a0 It&#8217;s too difficult to tweak the motor settings on the fly, and drag and drop programming isn&#8217;t exactly conducive to setting up a complex command system where you send a packet that contains all of the motor settings. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[24],"tags":[21,15,20,28],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/284"}],"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=284"}],"version-history":[{"count":1,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/284\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}