Skip to content

Nocturnal42/CozmoLetsRobot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CozmoLetsRobot

Host Anki Cozmo on LetsRobot.tv

Setup instructions:

Setup the Cozmo SDK on your computer using their instructions:

Clone Nocturnal's fork of the runmyrobot scripts:

Copy the files from this repo to the appropriate directories:

  • Copy hardware/cozmo.py to runmyrobot/hardware

  • Copy tts/cozmo_tts.py to runmyrobot/tts

Edit runmyrobot/letsrobot.sample.conf:

  • Enter your owner, robot_id, camera_id from LetsRobot.tv
  • change [robot] type=none to type=cozmo
  • change [tts] type=none to type=cozmo_tts
  • Save file as letsrobot.conf

Starting Cozmo:

  • Using the Cozmo app enter SDK mode and connect your mobile device to the host machine.
  • Execute the LetsRobot controller using python3 controller.py

Note for audio streaming on MacOS:

The startAudioCaptureLinux function in send_video.py calls ffmpeg with alsa input. If you want to stream audio from your mac use -f avfoundation -i ":0" in place of -f alsa -ar 44100 -ac %d -i hw:%d

I also recommend changing the audio streaming bitrate from 32k to 128k with -b:a 128k in the same ffmpeg call.

About

Host Anki Cozmo on LetsRobot.tv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%