chk1 / screaming-robot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screaming Robot Xiaomi/Rockrobo Edition

Let's your robot make a sound when bumping into things, Proof-of-Concept. Inspired by Michael Reeves' video on Youtube: The Roomba That Screams When it Bumps Into Stuff.

Howto

First root your vacuum.

Connect via SSH or SCP and make the following changes:

In /opt/rockrobo/cleaner/conf/ruby_chassis.cfg comment out the last two drivers, writelog and ruby_support. Add a new driver below:

driver
(
  name "writelog"
  log_directory "/run/shm/derp"
  filename "test.log"
  requires ["bumper:0"]
  provides ["log:0"]
  alwayson 1
  autorecord 1 
)

Reboot your vacuum.

After that, transfer bump.wav and logwatch.sh to /root and run

chmod u+x logwatch.sh
./logwatch.sh

Then drive your robot into walls.

Resources

About


Languages

Language:Shell 100.0%