LOGIN






Welcome, Guest

Nao Control with iPhone
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Nao Control with iPhone

Re: Nao Control with iPhone 2 years, 6 months ago #19725

ok than, can inform me if she or he has experience with this project??? thanks

Re: Nao Control with iPhone 2 years, 6 months ago #19726

  • Lexa
  • OFFLINE
  • Karma: 1
I have strictly no idea. So far iPhone apps for Nao did not made a lot of noise...
I just know that there is some interest for it.

A few topics below there is this one:
http://www.aldebaran-robotics.com/phpbb ... 42&p=16569

And from a beta tester there is this:
http://technomaniac.blog.lemonde.fr/200 ... robot-nao/

That\'s pretty much all there is publicly for iPhone + Nao.
"Anything one man can imagine, other men can make real." (Jules Verne)
Nao beta test blog
Follow Zirup

Re: Nao Control with iPhone 2 years, 6 months ago #19728

aaarrgh there are no much informations
ok i see, that would be very tricky to solve my problem...

Re: Nao Control with iPhone 2 years, 5 months ago #20363

Hello,

could you make any achievements? How can one connect to NAO from iPhone?

Re: Nao Control with iPhone 2 years, 4 months ago #20369

Hi,

I am the beta tester that developped an iPhone application in 2009.

But the method that I have used is not valid anymore because I modified the web services from Nao and it is not available anymore because web server from Nao is protected and it is not possible to do it on every Nao.

I am working on a new version of the application that may be use by everyone thanks to some explainations from Aldebaran.

Here are the principles :

On Nao make a new behaviour that is listening to some data over a specific port
Here is a sample of code :

import socket
port = 8081
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# Accepte des datagrammes UDP sur le port indiqué, venant de n\'importe quelle
machine
s.bind(("", port))
print "En attente sur le port", port
while True:
# Reçoit jusqu\'à 1024 octets par datagramme
donnees, adr = s.recvfrom(1024)
print "Reçu :", donnees, "de", adr
  // Here depending of what you received, you do the action on Nao


On the client side (iPhone, PC, iPad, Windows ...)
     import socket
port = 8081
hote = "localhost"
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto("Hi Nao! it works.", (hote, port))


Of course you can\'t use python on iPhone instead use the iPhone web services.

Hope it helps ...

Happy Christmas ...
  • Page:
  • 1
  • 2
Time to create page: 0.22 seconds