Skip to content

acidzebra/cozmo_unleashed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

cozmo_unleashed

Attempting to create a perpetuum cozmobile

This is a script to turn cozmo into an autonomous desk toy. He will play until his battery runs low, then attempt to find and dock with his charger. If he succeeds he will wait until fully charged, then come out to play again.

He will not offer any block-related games (yet), just do basic stuff like building pyramids, popping wheelies, singing songs, and stacking blocks which are all part of the default freeplay behaviors. If he sees a face he recognises he might ask for a fistbump or request a game of peekaboo.

As he plays his "needs levels" (internal counters for repair/mood/energy) will go down as his battery levels go down, this in turn will affect his mood and potential actions.

It also contains a basic scheduler that allows you to set allowed play times during weekdays and weekends. Whenever he's in allowed playtime there's a chance he will get off his charger and play. The scheduler is disabled by default (see the main cozmo_unleashed file for some variables you can config.

To run this script you will need to install some python modules using pip or pip3, notably Pillow and numpy.

You will obviously also need the awesome little robot Cozmo made by Anki: https://www.anki.com/en-us/cozmo and the latest version of the Cozmo SDK and IOS/Android app.

About

scripts to make cozmo behave like an autonomous desk toy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages