{"id":367,"date":"2012-05-21T21:45:17","date_gmt":"2012-05-21T21:45:17","guid":{"rendered":"http:\/\/www.redrobe.com\/mike\/?p=367"},"modified":"2012-05-21T21:45:17","modified_gmt":"2012-05-21T21:45:17","slug":"ultrasonic-robot-avoids-walls","status":"publish","type":"post","link":"https:\/\/redrobe.com\/mike\/ultrasonic-robot-avoids-walls\/","title":{"rendered":"Ultrasonic robot avoids walls"},"content":{"rendered":"<p>Using an ultrasonic sonar ranger to avoid walls &#8211; and people&#8217;s feet &#8211; before hitting them: <\/p>\n<p>At first I was getting plenty of false readings, so here&#8217;s the first run, pausing and verifying before turning:<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/vE60kMHZT0o\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>With faster code, and not stopping:<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/eU0Z9VlPz8M\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Improved accuracy, so it detects smaller objects like feet:<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/z9ryqIMU6CI\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using an ultrasonic sonar ranger to avoid walls &#8211; and people&#8217;s feet &#8211; before hitting them: At first I was [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[16,51,52],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-arduino-2","tag-arduino","tag-robots","tag-sonar"],"_links":{"self":[{"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":0,"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"wp:attachment":[{"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redrobe.com\/mike\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}