{"id":1348,"date":"2011-04-19T08:40:04","date_gmt":"2011-04-19T12:40:04","guid":{"rendered":"http:\/\/www.etotheipiplusone.net\/?p=1348"},"modified":"2011-04-19T08:41:41","modified_gmt":"2011-04-19T12:41:41","slug":"a-few-words-on-the-segfault","status":"publish","type":"post","link":"https:\/\/www.etotheipiplusone.net\/?p=1348","title":{"rendered":"A Few Words on &#8220;The Segfault&#8221;"},"content":{"rendered":"<p style=\"text-align: left;\">Okay <a href=\"http:\/\/blog.makezine.com\/\" target=\"_blank\">Make<\/a>, I have an axe to pick and a bone to grind with you guys.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/pics\/makeseg.jpg\" alt=\"\" width=\"463\" height=\"905\" \/><\/p>\n<p>My experiences with Make Magazine and the affiliated blog have been extremely positive in the past. Everything from <a href=\"https:\/\/www.etotheipiplusone.net\/?page_id=197\" target=\"_blank\">LOLrioKart<\/a> to <a href=\"https:\/\/www.etotheipiplusone.net\/?page_id=1114\" target=\"_blank\">a certain 3D printer<\/a> to even <a href=\"https:\/\/www.etotheipiplusone.net\/?p=828\" target=\"_blank\"><em>Fankart<\/em><\/a> has been on the blog so far, and <a href=\"http:\/\/miters.mit.edu\" target=\"_blank\">MITERS<\/a> generally has contacts with people pretty closely associated with Make anyway, so just about everything we do ends up on there. But I have some pretty big reservations about the description of <a href=\"https:\/\/www.etotheipiplusone.net\/?page_id=566\" target=\"_blank\">Segfault<\/a> up there, in this month&#8217;s Make (volume 26). Basically the story is a few months ago I was contacted by a journalist  for a quick interview about Segfault&#8217;s construction, which I obliged to. Now, I don&#8217;t blame John up there at all &#8211; I know that the guy knows his shit, and he&#8217;s in fact the person who puts alot of our stuff on the blog. So I think in this case, he was only reporting on information relayed to him. And boy was that faulty &#8211; so since the given address seems to link directly back to this site, I might as well open the valve a little, so to speak.<\/p>\n<p>In a nutshell, those are all the fine little details that nobody cares about being treated as headline news. It has <em>9 inch scooter wheels!!! <\/em>And <em>GEARMOTORS!!!<\/em> No, I&#8217;m not just bitter because the gyro and accelerometer functional description is wrong and I&#8217;m not sure how it was distilled from the description I gave it. No, what I&#8217;m really peeved about is the fact that<\/p>\n<h1>Segfault is analog.<\/h1>\n<p>That was like, the <em>entire point<\/em>, man.\u00a0 Fact #1 about Segfault is always that it&#8217;s analog. Not a single line of code runs to keep the vehicle stabilized. Your segway runs on 14 lines of code, mine runs on op amps. Real op amps.\u00a0 <strong>FOUR HUNDRED OP AMPS. <\/strong><\/p>\n<p>Okay, so <a href=\"https:\/\/www.etotheipiplusone.net\/pics\/seg\/segbo_5.png\" target=\"_blank\">more like 11<\/a>. I think they&#8217;re starting to wear out and their gains need replacing soon, but <em>OP AMPS!!! <\/em><\/p>\n<h1>The signal processing occurs in continuous time.<\/h1>\n<p>Instead of <em>waterjetted aluminum chassis<\/em> (which is nice and all), that line should read <strong>ANALOG!!!!<\/strong> I&#8217;m not particularly <em>proud<\/em> of the fact that it uses rudimentary and rather obsolete technology to accomplish the task, but the fact that it was one hell of a control theory learning experience, especially since the <a href=\"https:\/\/www.etotheipiplusone.net\/?p=1059\" target=\"_blank\">final build really occured over like 48 hours<\/a>. Porting a transfer function to <strong>op amps!!!!!<\/strong> is about the closest you can get to just double-fisting the raw theory.<\/p>\n<h1>It doesn&#8217;t have an Arduino.<\/h1>\n<p>Or an ATMEGA chip, or a MSP, or a Cortex. Or anything for that matter. I guess the <a href=\"https:\/\/www.etotheipiplusone.net\/pics\/seg\/seg_96.jpg\" target=\"_blank\">twin Class D switching amplifiers<\/a> running the motors are <em>kind of digital<\/em>.<\/p>\n<h1>It also doesn&#8217;t work like that.<\/h1>\n<p>I&#8217;m not sure where the &#8220;gyroscope prevents the accelerometer from overcorrecting&#8221; bit came from, but it&#8217;s way more like the gyro and accelerometer complementing eachother and working in synchrony. In fact that&#8217;s so true that it&#8217;s even called a <em>complementary filter<\/em>. It&#8217;s a very common and simple sensor fusion algorithm, and if you actually want to know what one is, <a href=\"https:\/\/www.etotheipiplusone.net\/?p=1081\" target=\"_blank\">Segfault&#8217;s second most recent build post<\/a> goes over why I use the two sensors this way in the <em>Adaptive Face Forward Compensator<\/em>.<\/p>\n<p>Okay, that&#8217;s enough for now. Ya&#8217;ll should go build <a href=\"http:\/\/www.instructables.com\/id\/Segstick\/\" target=\"_blank\">Segsticks<\/a>. Maybe I should start writing for Make or something, eh?!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Okay Make, I have an axe to pick and a bone to grind with you guys. My experiences with Make Magazine and the affiliated blog have been extremely positive in the past. Everything from LOLrioKart to a certain 3D printer to even Fankart has been on the blog so far, and MITERS generally has contacts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,60],"tags":[],"class_list":["post-1348","post","type-post","status-publish","format-standard","hentry","category-project-build-reports","category-segfault"],"_links":{"self":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/1348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1348"}],"version-history":[{"count":2,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/1348\/revisions"}],"predecessor-version":[{"id":1350,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=\/wp\/v2\/posts\/1348\/revisions\/1350"}],"wp:attachment":[{"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.etotheipiplusone.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}