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.
http://netio.davideickhoff.de/projects/410

Any suggestion, advice, information are welcomed.

Update:
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.

posted by lacarte on 2014-02-26 16:13

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.

posted by lacarte on 2014-03-10 06:48

A prototype cgi UI. There are still a lot of things to test/modify.

posted by lacarte on 2014-03-10 23:11

https://play.google.com/store/apps/details?id=com.luvago.netio

That one?

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!

posted by evilbluechicken on 2014-03-11 08:45

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.

posted by lacarte on 2014-03-11 09:07

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...

posted by evilbluechicken on 2014-03-14 10:40

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).

posted by lacarte on 2014-03-15 08:37

underclocked to 550, undervolted -8. seems stable. we shall see...

posted by evilbluechicken on 2014-03-15 09:48

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.

posted by lacarte on 2014-03-15 22:10

that sounds like it may be necessary...

posted by evilbluechicken on 2014-03-16 03:16

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.

posted by brad98408 on 2014-03-16 04:19

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.

posted by djakku on 2014-03-16 04:31

That worked, thanks.

posted by brad98408 on 2014-03-16 04:55

lacarte - found a power supply that has a usb out as well. ordered that and a cable...

posted by evilbluechicken on 2014-03-16 11:42

( Allowed tags: <b> <s> <code> <blockquote> <img> . Automatic URL link.)

Uploaded image is placed to the bottom of the post. To add multiple images, make post once then edit the post.

Read Terms of Service upon submitting. 投稿する前に利用規約をお読みください。