A project to create NetIO UI for Rapiro
I'm trying to build an interaction UI includes movement as well as camera and voice related functions using NetIO, here is the project page.
Any suggestion, advice, information are welcomed.
Now a CGI based version is ready on another post (http://forum.rapiro.com/thread/163/). NetIO client is not needed for it. I'll concentrate on the CGI version for sometime. Well if you already have NetIO client, or wish to pay for it then still this version has better response time I think.
I'm using the android version. But as the json code is only about UI and some variables, it has little reason not to work on others.
A prototype cgi UI. There are still a lot of things to test/modify.
And I figured out my power problem... bad wifi reception where i was using it causing the antenna to get fed more power than the pi can provide. Time to get a second router for downstairs!
evilbluechicken, yes that one. I'm using on an Xperia Z and so the UI code is adjusted to the phone's resolution. A good feature of the app is that you dont need to handle things behind the UI, well, the down side is its not free.
I'm working on the CGI version but I think I will use simple button instead of slide bar for angle adjustment, because the feature is only from HTML5 and not even supported stably by major browsers.
lacarte - what is the 5V rail voltage to your pi board? Mine is only 4.85, even with a 12V10A power supply...
seems like the voltage is .2 low across the board...
evilbluechicken, I did not measure the voltage but I think it is not very high, and as the current is limited, the voltage drops to hang Pi quite easily. As I'm compiling libraries I just had Pi hanged after about 1 minute CPU max (no over-clock, Rapiro's servos off, no camera, wired-LAN).
underclocked to 550, undervolted -8. seems stable. we shall see...
As I have posted on another Japanese topic about the power supply, I'm using double sources. So the normal 12V5A to Rapiro, and a micro-usb input to the Pi using 5V3A. I found a flexible micro-usb cable and managed to connect it to Pi, then let it through the body, from the hole inside battery box to outside. This works fine for me at the moment.
that sounds like it may be necessary...
Maybe something simple but I can't get any of the movement commands to work.
The right and left grip commands work but not the head, waist, or arm movements.
for instance the command 'echo \"#PS00A%03dT010\" | sudo minicom -b 57600 -o -D /dev/ttyAMA0' % int(head_angle). has no effect. I have tried substituting 110 after int and replacing the % with 110 but still no motion.
command should be
echo "#PS000A030T010" | sudo minicom -b 57600 -o -D /dev/ttyAMA0
altough sometime some commands don't work. I still haven't figured out why.
That worked, thanks.
lacarte - found a power supply that has a usb out as well. ordered that and a cable...