{"id":576,"date":"2021-12-31T17:33:45","date_gmt":"2021-12-31T17:33:45","guid":{"rendered":"http:\/\/www.thelemmingfarm.uk\/?p=576"},"modified":"2021-12-31T17:33:47","modified_gmt":"2021-12-31T17:33:47","slug":"driving-using-the-remote-control-part-2","status":"publish","type":"post","link":"http:\/\/www.thelemmingfarm.uk\/?p=576","title":{"rendered":"Driving using the remote control part 2"},"content":{"rendered":"\n<p>The code was updated to allow driving via the analogue sticks on the remote control. The left one drives forwards, backwards, left and right while maintaining orientation in the same way. The right hand stick only uses the x-axis and controls spinning left and right. Both use how far the stick is moved to control speed. Via this mechanism much finer control is available vs the first test that was all done at full speed.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>Toby&#8217;s first drive <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Toby&#039;s first drive\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/nOv0rkBoqAc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Matt driving around an invisible object\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/oKTEf3G-2Do?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>Seeing if we could drive around something<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>It shows hoe precise the movements can be with this robot.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Aliya driving\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/oMfhNTjI1Ag?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The code was updated to allow driving via the analogue sticks on the remote control. The left one drives forwards, backwards, left and right while<\/p>\n","protected":false},"author":1,"featured_media":580,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-576","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-robot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Driving using the remote control part 2 - The Lemming Farm<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.thelemmingfarm.uk\/?p=576\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Driving using the remote control part 2 - The Lemming Farm\" \/>\n<meta property=\"og:description\" content=\"The code was updated to allow driving via the analogue sticks on the remote control. The left one drives forwards, backwards, left and right while\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.thelemmingfarm.uk\/?p=576\" \/>\n<meta property=\"og:site_name\" content=\"The Lemming Farm\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-31T17:33:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-31T17:33:47+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png\" \/>\n\t<meta property=\"og:image:width\" content=\"431\" \/>\n\t<meta property=\"og:image:height\" content=\"368\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"matt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"matt\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576\"},\"author\":{\"name\":\"matt\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/#\\\/schema\\\/person\\\/ad3da4bf1895ba680ee4c6a0cdcfe5c3\"},\"headline\":\"Driving using the remote control part 2\",\"datePublished\":\"2021-12-31T17:33:45+00:00\",\"dateModified\":\"2021-12-31T17:33:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576\"},\"wordCount\":119,\"image\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/image-22-e1640972395290.png\",\"articleSection\":[\"Robot\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576\",\"url\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576\",\"name\":\"Driving using the remote control part 2 - The Lemming Farm\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/image-22-e1640972395290.png\",\"datePublished\":\"2021-12-31T17:33:45+00:00\",\"dateModified\":\"2021-12-31T17:33:47+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/#\\\/schema\\\/person\\\/ad3da4bf1895ba680ee4c6a0cdcfe5c3\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#primaryimage\",\"url\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/image-22-e1640972395290.png\",\"contentUrl\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/image-22-e1640972395290.png\",\"width\":431,\"height\":368},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?p=576#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Driving using the remote control part 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/#website\",\"url\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/\",\"name\":\"The Lemming Farm\",\"description\":\"An Entry to the Pi Wars Competition 2024\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/#\\\/schema\\\/person\\\/ad3da4bf1895ba680ee4c6a0cdcfe5c3\",\"name\":\"matt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg\",\"caption\":\"matt\"},\"url\":\"http:\\\/\\\/www.thelemmingfarm.uk\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Driving using the remote control part 2 - The Lemming Farm","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.thelemmingfarm.uk\/?p=576","og_locale":"en_GB","og_type":"article","og_title":"Driving using the remote control part 2 - The Lemming Farm","og_description":"The code was updated to allow driving via the analogue sticks on the remote control. The left one drives forwards, backwards, left and right while","og_url":"http:\/\/www.thelemmingfarm.uk\/?p=576","og_site_name":"The Lemming Farm","article_published_time":"2021-12-31T17:33:45+00:00","article_modified_time":"2021-12-31T17:33:47+00:00","og_image":[{"width":431,"height":368,"url":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","type":"image\/png"}],"author":"matt","twitter_card":"summary_large_image","twitter_misc":{"Written by":"matt","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#article","isPartOf":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576"},"author":{"name":"matt","@id":"http:\/\/www.thelemmingfarm.uk\/#\/schema\/person\/ad3da4bf1895ba680ee4c6a0cdcfe5c3"},"headline":"Driving using the remote control part 2","datePublished":"2021-12-31T17:33:45+00:00","dateModified":"2021-12-31T17:33:47+00:00","mainEntityOfPage":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576"},"wordCount":119,"image":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#primaryimage"},"thumbnailUrl":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","articleSection":["Robot"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"http:\/\/www.thelemmingfarm.uk\/?p=576","url":"http:\/\/www.thelemmingfarm.uk\/?p=576","name":"Driving using the remote control part 2 - The Lemming Farm","isPartOf":{"@id":"http:\/\/www.thelemmingfarm.uk\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#primaryimage"},"image":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#primaryimage"},"thumbnailUrl":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","datePublished":"2021-12-31T17:33:45+00:00","dateModified":"2021-12-31T17:33:47+00:00","author":{"@id":"http:\/\/www.thelemmingfarm.uk\/#\/schema\/person\/ad3da4bf1895ba680ee4c6a0cdcfe5c3"},"breadcrumb":{"@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.thelemmingfarm.uk\/?p=576"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#primaryimage","url":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","contentUrl":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","width":431,"height":368},{"@type":"BreadcrumbList","@id":"http:\/\/www.thelemmingfarm.uk\/?p=576#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.thelemmingfarm.uk\/"},{"@type":"ListItem","position":2,"name":"Driving using the remote control part 2"}]},{"@type":"WebSite","@id":"http:\/\/www.thelemmingfarm.uk\/#website","url":"http:\/\/www.thelemmingfarm.uk\/","name":"The Lemming Farm","description":"An Entry to the Pi Wars Competition 2024","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.thelemmingfarm.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"http:\/\/www.thelemmingfarm.uk\/#\/schema\/person\/ad3da4bf1895ba680ee4c6a0cdcfe5c3","name":"matt","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6384a0c4df2a2e69eff9a84163bce14869cb2bde2aa2d0757ccafb22cd711e2c?s=96&d=mm&r=pg","caption":"matt"},"url":"http:\/\/www.thelemmingfarm.uk\/?author=1"}]}},"jetpack_featured_media_url":"http:\/\/www.thelemmingfarm.uk\/wp-content\/uploads\/2021\/12\/image-22-e1640972395290.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/posts\/576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=576"}],"version-history":[{"count":2,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":581,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions\/581"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=\/wp\/v2\/media\/580"}],"wp:attachment":[{"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thelemmingfarm.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}