{"id":90,"date":"2018-11-12T05:52:28","date_gmt":"2018-11-12T05:52:28","guid":{"rendered":"http:\/\/www.astill.org\/wp\/?p=90"},"modified":"2023-10-08T01:07:19","modified_gmt":"2023-10-08T01:07:19","slug":"chromebook-pixel-2013-and-cozmo","status":"publish","type":"post","link":"http:\/\/www.astill.org\/wp\/?p=90","title":{"rendered":"Chromebook Pixel 2013 and Cozmo"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>The examples and SDK for working with Cozmo are Python based.<br \/>\nhttps:\/\/github.com\/anki\/cozmo-python-sdk\/tree\/master\/examples\/tutorials<a href=\"http:\/\/ankicozmorobot.com\/\">\u00a0<\/a><\/p>\n<p>We have a couple of Google Chromebooks, one is the 2013 Pixel and one a newer Pixelbook. With Chromeos 69 release support for Crostini (https:\/\/chromium.googlesource.com\/chromiumos\/docs\/+\/master\/containers_and_vms.md) was added. This allows a non development machine to run linux in a container. Unfortunately as of the writing of this blog, support for the USB devices is not yet available in the container.<\/p>\n<p>However, on the Pixel, we have Crouton running. Crouton is similar to Crostini in running Linux in a container. However with this, we do have access to USB devices.<\/p>\n<p><a href=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/IMG_0334-e1542001869584.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-97\" src=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/IMG_0334-e1542001869584-225x300.jpg\" alt=\"\" width=\"293\" height=\"391\" srcset=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/IMG_0334-e1542001869584-225x300.jpg 225w, http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/IMG_0334-e1542001869584-768x1024.jpg 768w, http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/IMG_0334-e1542001869584.jpg 1512w\" sizes=\"auto, (max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<p>We followed the Ubuntu instructions in the Cozmo SDK github (https:\/\/github.com\/anki\/cozmo-python-sdk\/blob\/master\/docs\/source\/install-linux.rst) to enable the SDK.<\/p>\n<p>We chose to install Visual Studio Code as our IDE, installed the Python Lint and chose the installed Python 3 environment.<br \/>\nhttps:\/\/code.visualstudio.com\/docs\/setup\/linux<\/p>\n<p><a href=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-92\" src=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode-300x188.png\" alt=\"\" width=\"479\" height=\"300\" srcset=\"http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode-300x188.png 300w, http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode-768x480.png 768w, http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode-1024x640.png 1024w, http:\/\/www.astill.org\/wp\/wp-content\/uploads\/2018\/11\/VSCode.png 1680w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/a><\/p>\n<p>We ran the 01_hello_world.py, and Cozmo spoke back \ud83d\ude42<\/p>\n<p>Reference:<\/p>\n<p>http:\/\/ankicozmorobot.com\/cozmo-sdk\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; The examples and SDK for working with Cozmo are Python based. https:\/\/github.com\/anki\/cozmo-python-sdk\/tree\/master\/examples\/tutorials\u00a0 We have a couple of Google Chromebooks,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":97,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[7,6,8],"class_list":["post-90","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cozmo","tag-chromebook","tag-cozmo","tag-pixel"],"_links":{"self":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":5,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":100,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions\/100"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=\/wp\/v2\/media\/97"}],"wp:attachment":[{"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.astill.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}