URBI Forum

http://www.urbiforge.com
It is currently Thu Jul 29, 2010 5:58 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Can URBI use the Wi-Fi sensor?
PostPosted: Fri Mar 17, 2006 11:34 am 
Offline
User avatar

Joined: Fri Mar 17, 2006 11:15 am
Posts: 15
Location: Paris
Hi everyone! :mrgreen: Happy Saint Patrick's day!
My name is Gilles, & I'm doing a final year project in the Trinity College of Dublin about AIBO & the Wi-Fi.
I managed to connect my AIBO to an infrastructure network, so that I can ping/telnet/AEP/open the webpage him. I also tried R-Code via the memory stick, & ActionPlayer.
I've been told a lot about URBI (apparently, it has a countless number of fans :D ), & I would like to know if this langage would allow me to do what I am asked for my project.
I need AIBO to find the neighbour Wi-Fi signals (infrastructure or ad-hoc), & by any way (barking, lights on the head, or even a simple System.out.println("Wi-Fi network found');) giving me as many informations about it as possible (as for example ESSID, signal strength, and so on...). After, if AIBO & URBI can do this, I'm sure it won't be too hard to make AIBO walk to the signal origin. :)
If AIBO/URBI can't do this, than my project could be limited to find the infrastructure netork it is connected to, and do the same as above.
My question is simple: can URBI do this?
Many thanks in advance, I'm available (& very reactive, even on Saint Patrick's day) for any comment.
Have a nice day. :)

PS: for the French people / pour les fran?ais, j'ai post? la m?me question ici. :roll:

_________________
Le Sage 8)
W/BO Project (Wi-Fi over AIBO)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 5:56 pm 
Offline
User avatar

Joined: Fri Apr 15, 2005 11:19 am
Posts: 237
Hi,
You can't do that in URBI right now. But as soon as someone finds how to do it in open-r we can add the feature in the next urbiserver release.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 7:09 pm 
Offline
User avatar

Joined: Fri Mar 17, 2006 11:15 am
Posts: 15
Location: Paris
Thanks for your answer, bearclaw. :)
So, you are 100% sure that URBI can't do it?
I guess I'll have to look again at the Open-R documentation... :?
Would anyone know any other language that might do it (or any other layer on Open-R), by any chance? :(

_________________
Le Sage 8)
W/BO Project (Wi-Fi over AIBO)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 8:13 am 
Offline
Site Admin
User avatar

Joined: Sun Mar 13, 2005 8:55 pm
Posts: 402
Hi TCD,

I know OPENR quite well, and I don't think what you request is available. Also, the way network connecting is done (reading a WLANCONF.TXT file) is completely static. You can't probe for available SSID around and switch to another one for example. The OPENR acrhictecture is, as a general remark, a very static one, including for code execution, and that's no good.

Let's wait for new URBI-enabled robots, like the one of Aldebaran Robotics, with a full linux support on it, and life will be much much simpler! ;)

Cheers,
JC


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 8:29 am 
Offline
Site Admin
User avatar

Joined: Sun Mar 13, 2005 8:55 pm
Posts: 402
I've found a way to get the signal strengh in OPENR, via the undocummented EtherDriverGetWLANStatisticsMsg parameter of the ERAD_GetWLANStatistics function (wow, that's a convivial, user-friendly interface ;) )

I'm going to add this to URBI and post a 0.9.8c version for you to use in the "unstable" section.

I'll announce the new release here only, keep an eye on this post.

Sincerely,
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 11:03 am 
Offline
Site Admin
User avatar

Joined: Sun Mar 13, 2005 8:55 pm
Posts: 402
OK, it's done. You can get the latest version 0.9.8c here:
http://www.urbiforge.com/unstable

You have now:

wlan.signal (between 0 and 1)
wlan.channel
wlan.ssid
wlan.stationName
wlan.noise

Enjoy!
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 18, 2006 1:59 pm 
Offline
User avatar

Joined: Fri Mar 17, 2006 11:15 am
Posts: 15
Location: Paris
OK, I've just read all of your messages. :shock:
I don't know what to say...
Hum...
Thanks jcbaillie! :D
I'll test it as soon as possible. I might ask other questions soon, if I experiment problems with URBI in general.
I'll keep you in touch with my work.
Thanks again. :roll:
ADD: I've put the results of my tests here (French, sorry :oops:).

_________________
Le Sage 8)
W/BO Project (Wi-Fi over AIBO)


Top
 Profile  
 
 Post subject: WLAN device
PostPosted: Mon Jan 15, 2007 3:07 pm 
Offline
User avatar

Joined: Wed Mar 29, 2006 3:10 am
Posts: 35
Location: Japan
Hello JCB,

I can not find the 0.9.8c built at the unsatble page nor at sourceforge.
Do you plant to integrate this again in the future releases again?

regards

_________________
Goemon - ERS7 (http://goemon.vnunetblogs.com/)
The Project: http://billiatjapan.netfirms.com/Goemon/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 10:22 am 
Offline
Site Admin
User avatar

Joined: Sun Mar 13, 2005 8:55 pm
Posts: 402
Hi Billi,

Yes it will be added in RC2. Meanwhile, someone posted a UObject to do exactly what you want here:
http://allonlinux.free.fr/urbi/wifi.cpp

Just use it in plugged mode and you should be ok.

Let me know if this helps,
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 4:32 am 
Offline
User avatar

Joined: Wed Mar 29, 2006 3:10 am
Posts: 35
Location: Japan
Hello JCB,

Thank you for the post. Maybe RC2 is out before I get my compiler running :oops: (see this thread)

regards
Billi28

_________________
Goemon - ERS7 (http://goemon.vnunetblogs.com/)
The Project: http://billiatjapan.netfirms.com/Goemon/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group