Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thyrlian/cozmosdk

Anki’s CozmoSDK
https://github.com/thyrlian/cozmosdk

ai anki cozmo cozmo-sdk environment kids robot sdk

Last synced: 18 days ago
JSON representation

Anki’s CozmoSDK

Awesome Lists containing this project

README

        

# CozmoSDK
Anki’s CozmoSDK

## About

What is [Cozmo](https://www.anki.com/cozmo)

[CozmoSDK website](https://developer.anki.com/)

[Anki's Repositories](https://github.com/anki/) on GitHub

## Getting Started

### Prerequisites

* Cozmo hardware
* ***iOS*** or ***Android*** device
* USB cable
* Computer running ***macOS*** or ***Linux***

### Setup

* Plug the mobile device containing the Cozmo app into your computer.
* Open the Cozmo app on the mobile device. Make sure Cozmo is on and connected to the app via WiFi.
* Tap on the gear icon at the top right corner to open the Settings menu.
* Swipe left to show the Cozmo SDK option and tap the Enable SDK button.

### Steps

* Install [Nix](https://nixos.org/nix/) - the purely functional package manager for Linux and macOS.
* Why Nix?
* Version managers (e.g. [Virtualenv](https://virtualenv.pypa.io/en/stable/)) oftentimes could screw the system up.
* [Docker for Mac can't pass through a USB device to a container](https://docs.docker.com/docker-for-mac/faqs/#can-i-pass-through-a-usb-device-to-a-container).
* Pull this repository.
* Go to a terminal, run below commands (inside the repository directory):
```shell
cd cozmosdk

# start an interactive shell based on a Nix expression
# for the first time, it would download all dependencies
# for any further trigger, it would use the cached downloads
nix-shell

# to run an example
cd ../cozmo-python-sdk/examples/tutorials/01_basics/
./01_hello_world.py

# to quit this isolated environment, just run `exit`
```