TzaraDuchamp / CozmoNaut

Installing Anki's SDK for their Cozmo robot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CozmoNaut

Setting up Cozmo via the terminal on OS X

The commands here are a first attempt to streamline Cozmo setup on OS X for me and other people that have run into trouble installing Cozmo on OS X. Read the bash scripts first, before you decide to run them. You can also copy the lines you want to run.

From a clean install of OS X you can follow steps 1 to 4. I highly recommend running 2b first on systems that already have HomeBrew. Ideally you try stuff like this in a virtual machine with a copy of your setup.

Installing Cozmo on OSX can be challenging, especially when multiple versions of Python IDE’s are installed. On different Mac’s I removed the Anaconda environment first to get Cozmo to play nice with my setup. If you have it installed you can try that if all else fails. A bit of a rigorous move, so you have to decide if you want to do that. You can try to add it to your system again once you have Cozmo running (if you need it). People more versed in dealing with symlink trouble can find alternative solutions, I am open to suggestions.

These are all the bash scripts:

  • 1Homebrew.sh installs HomeBrew on OS X via the terminal.

  • 2aBrews.sh installs the basic brews you need for running Cozmo on OS X.

  • 2bTroubleshootBrews.sh checks health status of Homebrew, often needed if there wasn't a clean install of OS X.

  • 3Pip3.sh installs the basic pips you need for running Cozmo on OS X.

  • 4aSDKBasic.sh clones the Cozmo SDK repository and helps you run the 'Hello World' example.

  • 4bSDKAdvanced.sh installs some extra pips and brews and helps you run the 'Remote Control' example.

The showcases require a bit more installs via pip and brew.

  • 5aShowcaseAnimationExplorer.sh explore Cozmo's emotions. An excellent program by GrinningHermit, showcased on the forum.
  • 5bShowcaseExplorerTool.sh you can explore Cozmo's emotions and remote control him with one program. Newest program by GrinningHermit, showcased on the forum.
  • 5cShowcaseVoiceCommands.sh Control Cozmo with your voice. My favorite program, made by rizal72, showcased on the forum.

BEWARE 5d is only recommend to users that feel comfortable with experimenting and that want to reinstall Python, since this is in the script. You can comment that line out, but if you didn't install Python this way it might not work properly. CozmoTools are not yet officially supported to run on OS X.

  • 5dShowcaseCozmoTools.sh this is a project by Professor David S. Touretzky at Carnegie Mellon University, showcased on the forum.

Relevant SDK forum pages:

Relevant GitHub:

Other sites:

About

Installing Anki's SDK for their Cozmo robot


Languages

Language:Shell 100.0%