The Puppy Robot is one of the robots that can be built with the LEGO Mindstorms EV3 Education kit. I wrote a small leJOS program for it to entertain my children. :) The implemented behaviour is rather simple. Anyway, it may serve as a starting point for further experiments with this robot.
Here is a short video demonstration on youtube:
You should have a LEGO Mindstorms EV3 brick with leJOS installed and an Eclipse working space where the leJOS plugin is available (see the leJOS wiki page for details). Instructions:
- Build the robot (building instructions can be found in Fabian Deitelhoff's Blog (x)
- Checkout the code and import it into the Eclipse Workspace.
- Use the EV3control GUI tool that comes with the leJOS eclipse plugin to connect to the brick and move the head (Motor 3) all the way down.
- Right-Click on the wav-files in the sound folder and upload them via leJOS EV3 -> Upload...
- Run the program (Run as -> LeJOS ...)
(x) I am not responsible for the content of this external link
You can wake the puppy by pressing the touch sensor on the back. When the puppy is awake, you can present the different colors from the bone (green color is not implemented yet) and the puppy reacts differenlty. After 10s idle time, the puppy sits down and starts to sleep.
Note: The most difficult part is the stand up procedure. Since I've build the robot using the
rechargeable battery pack, its head is very heavy and so the puppy easily falls on his face. You
might need to tweak the standUp()
method when you are using batteries (see Legs
class).
General Public License 3, see LICENSE.txt
.