Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.29 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.29 KB

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