{"id":268,"date":"2009-09-06T23:06:09","date_gmt":"2009-09-07T06:06:09","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=268"},"modified":"2009-09-06T23:06:09","modified_gmt":"2009-09-07T06:06:09","slug":"getting-better-all-the-time","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2009\/09\/06\/getting-better-all-the-time\/","title":{"rendered":"Getting Better All The Time"},"content":{"rendered":"<p><a href=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/GettingBetterAllTheTime.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-269\" title=\"Getting Better All The Time\" src=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/GettingBetterAllTheTime.jpg\" alt=\"Getting Better All The Time\" width=\"333\" height=\"279\" srcset=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/GettingBetterAllTheTime.jpg 333w, https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/GettingBetterAllTheTime-300x251.jpg 300w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p>21-13, the best score yet.\u00c2\u00a0 I tweaked the motion yet again.\u00c2\u00a0 I went back to continuous motion, for starters, since the angular was constantly starting and stopping over and over and over and over, slowing it down.\u00c2\u00a0 I think part of the main problem before was the message buffering.\u00c2\u00a0 The same thing that was happening with the LEFT LEFT LEFT stuff I talked about earlier was happening in continuous motion mode, too.\u00c2\u00a0 The solution here doesn&#8217;t have to be async, though, which is nice.\u00c2\u00a0 Instead, all I have to do is not send the same message more than once in a row.\u00c2\u00a0 You can tell me LEFT LEFT LEFT LEFT LEFT all you want, and I only tell the robot a single LEFT and I leave it at that.\u00c2\u00a0 It&#8217;s now hardly ever overshooting the mark, and when it does, it can usually recover with\u00c2\u00a0a quick nudge back in the right direction.<\/p>\n<p><a href=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/InTheLead.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-270\" title=\"In The Lead\" src=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/InTheLead.jpg\" alt=\"In The Lead\" width=\"334\" height=\"280\" srcset=\"https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/InTheLead.jpg 334w, https:\/\/mathpirate.net\/log\/wp-content\/uploads\/2009\/09\/InTheLead-300x251.jpg 300w\" sizes=\"(max-width: 334px) 100vw, 334px\" \/><\/a><\/p>\n<p>Also, with this game, the robot was briefly in the lead!<\/p>\n<p>So, now, why isn&#8217;t it winning?\u00c2\u00a0 It&#8217;s supposed to be a perfect robot, why is it still losing to a 30 year old processor?\u00c2\u00a0 Two big apparent reasons:<\/p>\n<ol>\n<li><em>It&#8217;s not moving fast enough.<\/em>\u00c2\u00a0 I need to alter it so that it will race from one side to the other when the projected point is far away.<\/li>\n<li><em>It&#8217;s not going to the right place.<\/em>\u00c2\u00a0 The trajectory projection isn&#8217;t perfect.\u00c2\u00a0 It&#8217;ll sometimes miss the mark.\u00c2\u00a0 I&#8217;ll need to go back and work on that a bit to improve the prediction.<\/li>\n<\/ol>\n<p>Still, I&#8217;m very pleased with what&#8217;s come together in the last hour or so.\u00c2\u00a0 The day wasn&#8217;t going so well until then.\u00c2\u00a0 Right now, I&#8217;m at the point where I&#8217;d hoped to be by about 2 PM&#8230;\u00c2\u00a0 The problems today have all been little stupid ones that can only be fixed by experimentation.\u00c2\u00a0 There hasn&#8217;t been much problem solving, it&#8217;s all been iterative failure toward a higher goal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>21-13, the best score yet.\u00c2\u00a0 I tweaked the motion yet again.\u00c2\u00a0 I went back to continuous motion, for starters, since the angular was constantly starting and stopping over and over and over and over, slowing it down.\u00c2\u00a0 I think part of the main problem before was the message buffering.\u00c2\u00a0 The same thing that was happening [&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,20,22,25,28,238],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/268"}],"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=268"}],"version-history":[{"count":2,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/268\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}