{"id":766,"date":"2016-07-18T12:00:00","date_gmt":"2016-07-18T11:00:00","guid":{"rendered":"https:\/\/howiem.org\/wordpress\/?p=766"},"modified":"2022-07-14T05:53:26","modified_gmt":"2022-07-14T05:53:26","slug":"motion-control-the-source-code","status":"publish","type":"post","link":"https:\/\/howiem.org\/wordpress\/2016\/07\/18\/motion-control-the-source-code\/","title":{"rendered":"Motion Control: the source code"},"content":{"rendered":"<p>The source code is online.<\/p>\n<p><strong>Warning<\/strong>: it&#8217;s awful. It has worked, and may still work, but it&#8217;s offered more for entertainment than anything else. There are several thousand hard-coded gotchas, and a pervading bad code smell in just about every file. But hey &#8211; it&#8217;s the biggest project I&#8217;ve tried putting together, and my first in Swift. And it&#8217;s not like there&#8217;s a standalone app you can run and play with; you need the hardware (which has similarly unpleasant firmware) in order to stand a chance of getting it working.<\/p>\n<p>But I&#8217;ll do what I can to clean it up, document it etc. in the coming weeks.<\/p>\n<p>Link:\u00a0<a href=\"https:\/\/github.com\/howiemnet\/MotionControl\">https:\/\/github.com\/howiemnet\/MotionControl<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The source code is online. Warning: it&#8217;s awful. It has worked, and may still work, but it&#8217;s offered more for entertainment than anything else. There are several thousand hard-coded gotchas,&#8230;<\/p>\n","protected":false},"author":2,"featured_media":1610,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1],"tags":[],"class_list":{"0":"post-766","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-and-hackery","8":"category-uncategorized"},"_links":{"self":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/comments?post=766"}],"version-history":[{"count":1,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/766\/revisions"}],"predecessor-version":[{"id":1611,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/posts\/766\/revisions\/1611"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/media\/1610"}],"wp:attachment":[{"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/media?parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/categories?post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howiem.org\/wordpress\/wp-json\/wp\/v2\/tags?post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}