{"id":3944,"date":"2010-10-22T07:47:27","date_gmt":"2010-10-22T12:47:27","guid":{"rendered":"http:\/\/neanderpundit.com\/?p=3944"},"modified":"2010-10-22T07:47:27","modified_gmt":"2010-10-22T12:47:27","slug":"the-code-i-referred-to-yesterday","status":"publish","type":"post","link":"https:\/\/neanderpundit.com\/?p=3944","title":{"rendered":"The code I referred to yesterday"},"content":{"rendered":"<p>was a bit of robot programming, which should have been extremely simple. A robot picks up a part from a vibratory feeder, deburrs it, and puts it in a tray with little nests for the parts. <\/p>\n<p>No damned reason on earth there ought to be 1500 lines of code. <\/p>\n<p>The programmer decided rather than teach each individual point in the tray, (48 each tray) he&#8217;d write a complex algorithm that calculated the position of each nest. <\/p>\n<p>Problem is, the nests are injection molded plastic, and most are warped, improperly assembled, or just plain fucked up.<\/p>\n<p>So it makes more sense to teach each point individually, since the calculations were full of little circumlocutions that compensated (or tried to) for irregularities as well as the original calculations. <\/p>\n<p>All in all, it should have been maybe 250 lines of code. I&#8217;m going to correct that, as soon as the customer can afford the downtime for me to do it properly. And it will run.<\/p>\n<p>I spoke a bit about this to the maintenance folks, and they lit up at the idea of learning to program robotics; they were a bit apprehensive but I did a ten-minute primer at one of the cells as to how robots work, and it removed all trace of concern. Robots- especially Fanuc robots- do not have to be complex. I have taught robot programming for fifteen years and it&#8217;s not that big a deal, if you pay a little bit of attention. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>was a bit of robot programming, which should have been extremely simple. A robot picks up a part from a vibratory feeder, deburrs it, and puts it in a tray with little nests for the parts. No damned reason on earth there ought to be 1500 lines of code. The programmer decided rather than teach [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3944","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/neanderpundit.com\/index.php?rest_route=\/wp\/v2\/posts\/3944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neanderpundit.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neanderpundit.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neanderpundit.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neanderpundit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3944"}],"version-history":[{"count":0,"href":"https:\/\/neanderpundit.com\/index.php?rest_route=\/wp\/v2\/posts\/3944\/revisions"}],"wp:attachment":[{"href":"https:\/\/neanderpundit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neanderpundit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neanderpundit.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}