I wanted to control Bittle from a web browser, so I studied a lot of things. Now that I have a rough framework, I'd like everyone to see it.
Major commands can be executed by clicking on the buttons.
It is equipped with a webcam and has the ability to stream video to devices.
Voice control function has been added.
The voice recognition software is Julius, which is very powerful in recognizing Japanese. However, there are times when it does not listen to what I say...
I also added the ability for Bittle to move around freely.
I used the following as a reference, but since I couldn't establish a way to stop the program in the process and go back to the original control screen, so I took a method of specifying a random walking time.
Here's what my Bittle looks like.
Since it is equipped with RPi, the standard cover cannot be attached. I made my own cover by cutting and pasting plastic board and mesh. I don't have a 3D printer.
The webcam is connected via USB, and the extra cable looks like a tail.
It also has a speaker and an infrared distance sensor. I am currently studying a program that uses the distance sensor to avoid obstacles.
And I rewrote some of his instincts because he always fell down when he performed the greeting action, probably due to higher center of gravity.
For your reference, I am also attaching the program source.
The main one is wabapp.py. It uses WebOb, which I gave up on because WebIOPI just couldn't handle running a python external program.
I am not a programmer, so the code will contain many inefficiencies. I'm not a programmer, so the code will contain many inefficiencies, and I'm sure there are a few bugs as well. Known bugs are that the previous command is executed once when reloading the web page, and that voice control cannot be interrupted.
Hey, this is a great extension and demostrated a lot of thoughts and makership. I shared it on Twitter, and I also recommand you post it on Hackster.io for more exposure. You can select "OpenCat-Bittle" as the materials used.