{"id":291,"date":"2009-09-07T15:18:32","date_gmt":"2009-09-07T22:18:32","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=291"},"modified":"2009-09-07T15:18:32","modified_gmt":"2009-09-07T22:18:32","slug":"thinking-outside-the-box","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2009\/09\/07\/thinking-outside-the-box\/","title":{"rendered":"Thinking Outside The Box"},"content":{"rendered":"<p>I set up the improved motor control and while it seemed to be working a little better, there were times that I noticed that the motor seemed to get stuck.\u00c2\u00a0 The command had been given to turn left, the motor was making a sound like it was trying to do something, but there was no movement.\u00c2\u00a0 It seemed like it couldn&#8217;t overcome the initial friction to get going.\u00c2\u00a0 So, I tried something a bit different.<\/p>\n<p>I removed the spinner assembly from the cage structure and held it in one hand, then stuck it on the paddle, which I held in the other hand.\u00c2\u00a0 When I tried it out, it seemed to be running better.\u00c2\u00a0 So, I attached the motor to the cage backwards, and had the spinner sit on top of the paddle.\u00c2\u00a0 The paddle was now outside the box, sitting loose on the desk.\u00c2\u00a0 It let it go and the robot began to play the best game yet.\u00c2\u00a0 It was even up 4-0 at one point.<\/p>\n<p>Unfortunately, at one point, it overcorrected and shot the paddle off the bottom of the screen.\u00c2\u00a0 Once it loses the paddle, it&#8217;s game over.\u00c2\u00a0 I&#8217;ve got to fix that.<\/p>\n<p>So the major problem areas as they stand:<\/p>\n<ul>\n<li>Motor doesn&#8217;t want to engage properly when paddle is in cage.<\/li>\n<li>Prediction is sometimes flaky.<\/li>\n<li>Paddle gets lost == game over.<\/li>\n<\/ul>\n<p>I&#8217;m giving myself an hour to fix those problems, then I have to move on.\u00c2\u00a0 I can&#8217;t get stuck tweaking things forever.\u00c2\u00a0 It&#8217;s playing at the level of a crappy human player as it is, so that should be good enough to continue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I set up the improved motor control and while it seemed to be working a little better, there were times that I noticed that the motor seemed to get stuck.\u00c2\u00a0 The command had been given to turn left, the motor was making a sound like it was trying to do something, but there was no [&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":[15,14,28],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/291"}],"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=291"}],"version-history":[{"count":1,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/291\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}