{"id":252,"date":"2009-09-06T20:20:28","date_gmt":"2009-09-07T03:20:28","guid":{"rendered":"https:\/\/mathpirate.net\/log\/?p=252"},"modified":"2009-09-08T00:24:02","modified_gmt":"2009-09-08T07:24:02","slug":"angular-momentum","status":"publish","type":"post","link":"https:\/\/mathpirate.net\/log\/2009\/09\/06\/angular-momentum\/","title":{"rendered":"Angular Momentum"},"content":{"rendered":"<p>Changing to basic angles seems to have helped considerably.\u00c2\u00a0 The movements are now more controlled.\u00c2\u00a0 The problem is, now they&#8217;re completely overshooting the mark.\u00c2\u00a0 I think the problem is that I&#8217;m sending rotate requests with every frame, and they&#8217;re getting queued up on the robot.\u00c2\u00a0 So, I say LEFT LEFT LEFT LEFT LEFT LEFT LEFT STOP, but it&#8217;s hit the mark after just two LEFTs. yet it still runs through the remaining five LEFTs before it sees my STOP.<\/p>\n<p>Looks like I need to go async here and have the robot tell me when it&#8217;s done moving before I send it another command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Changing to basic angles seems to have helped considerably.\u00c2\u00a0 The movements are now more controlled.\u00c2\u00a0 The problem is, now they&#8217;re completely overshooting the mark.\u00c2\u00a0 I think the problem is that I&#8217;m sending rotate requests with every frame, and they&#8217;re getting queued up on the robot.\u00c2\u00a0 So, I say LEFT LEFT LEFT LEFT LEFT LEFT LEFT [&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,28],"_links":{"self":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/252"}],"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=252"}],"version-history":[{"count":3,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":254,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/posts\/252\/revisions\/254"}],"wp:attachment":[{"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathpirate.net\/log\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}