Lego Mindstorms EV3-based Roomba-like creature that runs around with a wet towel. Won't hit walls and won't fall off.
woomba*.lxf can be opened in Lego Digital Designer. (It runs fine under Wine.)
Note: While it can generate a building guide, it is a little silly and sometimes it requires extra dimensions to get the bricks to their place. Just following that generated guide will not work.
There are several versions of the build. None is considered final.
I use ev3dev with Python, not the original LEGO Mindstorms software. You need ev3dev to use my software. Or you can make your own!
Note: Getting ev3dev is not hard, and no dangerous procedures are involved -- you install it on a microSD card, the brick cannot be bricked ;-)
When you have ev3dev, just scp
woomba/main.py to the Woomba and run it (via ssh or from Brickman).
Or check out
woomba/woomba.py for a newer, better, also unfinished version, which can also run using RPyC. It has nice abstractions!
The version in
- is a terrible hack
- turns when it detects an obstacle
- turns when it detects lack of floor BUT...
- is NOT safe to run in places where it can fall, because the floor detection is unreliable
- this is because the sensor's position is suboptimal -- the model needs to be changed
The version in
woomba/main.py, it is much less
of a terrible hack, but it does not consider avoiding falling at this point.
Questions, suggestions, anything? Pull requests are welcome!