top of page
Aug 16, 2021
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.
May 03, 2021
Do I need a ROS to develop Bittle programs? Or have you already implemented ROS? I have already prepared a raspberry pi with ROS installed by looking at the following URL. However, it seems to me that ROS is very difficult to master. I am not a software developer, and want to play with Bittle just a hobby. My current goal is to implement voice control of Bittle and image recognition using OpenCV. I'm working on getting those functions running on Raspberry Pi as single functions. However, in order to integrate them and use them to control Bittle, I will need to learn more.
bottom of page