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.
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.
- dgiese/dustcloud: Issue #11 Test Application
- dgiese/dustcloud: Interesting files
- Player documentation: Writing configuration files
- Player documentation: Data logging