From: Tung N. <ng....@gm...> - 2008-12-14 04:45:25
|
Hi all, I was wondering if someone here could give me some tips on where to start upgrading JavaClient 2.0 to work with Player/Stage 2.1.x In an earlier thread in respond to Maria Staudte, Leo mentioned that: " The messages sent by the PS server have been modified since 2.0.5 so the javaclient proxies are trying to decode diferent size messages. This leads to strange behaviours, basically due to the fact that javaclient is unable to decode those messages." So should I start by modifying the way JavaClient 2.0 handles XDR message in a manner that is compatible to Player/Stage messages, or should I be fixing other parts of the client too ? Due to time constraint, I would like to be able to communicate (receive and send msgs) with some drivers only, will this take some load off the JavaClient upgrading process ? I considered Leo's response before about how wrapping would tie my control code down to a single platform, so I would love know how I can make use of the existing JavaClient 2.0. Thanks a lot, Tung |
From: Leo N. <leo...@gm...> - 2008-12-14 16:03:42
|
Hi there I have received recently good news about this porting, and that is that I have a new student under my supervision with a grant to develop this port, so we all can work together ;) Right now we are studing different posible C proprocessors to be able to "parse" the javac.h file and generate "Java Value Object" able of encoding and decoding themselves into and from XDR. The XDR library has some minor changes, basically because we have ported also the javaclient to J2ME. The first approach I made a year and a half ago was using the PCPP class from "gluegen" project to do this work. I had some problems, like lacking array support, and so on, that made me spend more time than programed at the beggining. Now, and with this new guy working on this, I hope to be able to release something not long from now. Anyway we have to work on this also at the design level as I would like to provide a much easier java client for player, specially regarding the Threaded/nonThreaded stuff. By the way, Radu (or any other one), do you have any sort of UML like diagram of the current JavaClient? 2008/12/14 Tung Nguyen <ng....@gm...> > Hi all, > > I was wondering if someone here could give me some tips on where to start > upgrading JavaClient 2.0 to work with Player/Stage 2.1.x > > In an earlier thread in respond to Maria Staudte, Leo mentioned that: > > " The messages sent by the PS server have been modified since 2.0.5 so > the javaclient proxies are trying to decode diferent size messages. This > leads to strange behaviours, basically due to the fact that javaclient is > unable to decode those messages." > > So should I start by modifying the way JavaClient 2.0 handles XDR message > in a manner that is compatible to Player/Stage messages, or should I be > fixing other parts of the client too ? > > Due to time constraint, I would like to be able to communicate (receive and > send msgs) with some drivers only, will this take some load off the > JavaClient upgrading process ? > > I considered Leo's response before about how wrapping would tie my control > code down to a single platform, so I would love know how I can make use of > the existing JavaClient 2.0. > > Thanks a lot, > > Tung > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > > -- ************************************** Leonardo Nomdedeu Calvente leo...@gm... |
From: Giri_Nathan <Gir...@md...> - 2009-02-16 23:18:00
|
Hi Leo, I would like to use a java client for player 2.1 In an earlier posting, you mentioned that someone might be starting that work. I was wondering if there is something available? I read the java client code and it is not very difficult to understand. I guess the new student is planning to write some auto-generator to create the necessary java de(marshalling) classes. Is it possible to modify java client 2.0 to make it work with player 2.1. I am thinking it might be possible to just modify the java code for interfaces I need so that I can quickly have a working java client. Please let me know if there is something wrong with that approach. What is causing the incompatibillity? I would like to get the position2d to work first. Please give me some tips as to which parts of the java client needs to be modified to make this work. thanks Giri -- View this message in context: http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22047966.html Sent from the java-player-users mailing list archive at Nabble.com. |
From: Leo N. <leo...@gm...> - 2009-02-17 07:32:10
|
Hi Giri If you want to fix JavaClient you have to first digg into p/s to know wich are the XDR elements sent for each of the commands of each of the interfaces you need. Then go back to the JavaClient sourcecode and fix each of the communications (usually inside the proxies themselves) to send and receive these elements properly. Hope this helps Bests Leo 2009/2/17 Giri_Nathan <Gir...@md...> > > Hi Leo, > I would like to use a java client for player 2.1 In an earlier posting, you > mentioned that someone might be starting that work. I was wondering if > there > is something available? > > I read the java client code and it is not very difficult to understand. I > guess the new student is planning to write some auto-generator to create > the > necessary java de(marshalling) classes. > > Is it possible to modify java client 2.0 to make it work with player 2.1. I > am thinking it might be possible to just modify the java code for > interfaces > I need so that I can quickly have a working java client. Please let me know > if there is something wrong with that approach. What is causing the > incompatibillity? > I would like to get the position2d to work first. Please give me some tips > as to which parts of the java client needs to be modified to make this > work. > > thanks > Giri > -- > View this message in context: > http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22047966.html > Sent from the java-player-users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > -- ************************************** Leonardo Nomdedeu Calvente leo...@gm... |
From: Serge S. <ser...@do...> - 2009-03-02 07:06:27
|
Hi, i'm currently working on a Player/Stage client written in Smalltalk for my own research needs and i must say that the java client helps me a lot to understand how the player/stage protocol works ;-) I'm trying to make a client that works with Player 2.1: i can connect to a player server, create a position2d or Sonar interfaces, but i have some problems like failed decoding from the server side. I guess i would have the same problem with the Java client. I'm looking for some documentation about the Player protocol apart from the C code ;-) Maybe we could collaborate all together by documenting the protocol for all the P/S clients ? Thank you. Leo Nomdedeu wrote: > > Hi Giri > > If you want to fix JavaClient you have to first digg into p/s to know wich > are the XDR elements sent for each of the commands of each of the > interfaces > you need. Then go back to the JavaClient sourcecode and fix each of the > communications (usually inside the proxies themselves) to send and receive > these elements properly. > > Hope this helps > Bests > Leo > > 2009/2/17 Giri_Nathan <Gir...@md...> > >> >> Hi Leo, >> I would like to use a java client for player 2.1 In an earlier posting, >> you >> mentioned that someone might be starting that work. I was wondering if >> there >> is something available? >> >> I read the java client code and it is not very difficult to understand. I >> guess the new student is planning to write some auto-generator to create >> the >> necessary java de(marshalling) classes. >> >> Is it possible to modify java client 2.0 to make it work with player 2.1. >> I >> am thinking it might be possible to just modify the java code for >> interfaces >> I need so that I can quickly have a working java client. Please let me >> know >> if there is something wrong with that approach. What is causing the >> incompatibillity? >> I would like to get the position2d to work first. Please give me some >> tips >> as to which parts of the java client needs to be modified to make this >> work. >> >> thanks >> Giri >> -- >> View this message in context: >> http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22047966.html >> Sent from the java-player-users mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> > > > > -- > ************************************** > Leonardo Nomdedeu Calvente > leo...@gm... > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > > -- View this message in context: http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22283116.html Sent from the java-player-users mailing list archive at Nabble.com. |
From: Leo N. <leo...@gm...> - 2009-03-02 07:53:13
|
I have never found any documentation regarding the communication. Indeed, the xdr library is build "on the fly" depending on the contents of the "playercore/player.h" header by a Python process "playerxdr/playerxdrgen.py". The reason I have not released any patched version of the JavaClient is that a patch will only work for a few time, as P/S developers do not consider changes in this communication a problem, what unfortunately is a big issue for those trying to interface Player from other languages. What we are developing now is a process similar to this playerxdrgen to create the xdr-based communications on java on-the-fly. Hope this helps Bests Leo 2009/3/2 Serge Stinckwich <ser...@do...> > > Hi, > > i'm currently working on a Player/Stage client written in Smalltalk for my > own research needs and i must say that the java client helps me a lot to > understand how the player/stage protocol works ;-) > I'm trying to make a client that works with Player 2.1: i can connect to a > player server, create a position2d or Sonar interfaces, but i have some > problems like failed decoding from the server side. I guess i would have > the > same problem with the Java client. > I'm looking for some documentation about the Player protocol apart from the > C code ;-) > Maybe we could collaborate all together by documenting the protocol for all > the P/S clients ? > > Thank you. > > > > Leo Nomdedeu wrote: > > > > Hi Giri > > > > If you want to fix JavaClient you have to first digg into p/s to know > wich > > are the XDR elements sent for each of the commands of each of the > > interfaces > > you need. Then go back to the JavaClient sourcecode and fix each of the > > communications (usually inside the proxies themselves) to send and > receive > > these elements properly. > > > > Hope this helps > > Bests > > Leo > > > > 2009/2/17 Giri_Nathan <Gir...@md...> > > > >> > >> Hi Leo, > >> I would like to use a java client for player 2.1 In an earlier posting, > >> you > >> mentioned that someone might be starting that work. I was wondering if > >> there > >> is something available? > >> > >> I read the java client code and it is not very difficult to understand. > I > >> guess the new student is planning to write some auto-generator to create > >> the > >> necessary java de(marshalling) classes. > >> > >> Is it possible to modify java client 2.0 to make it work with player > 2.1. > >> I > >> am thinking it might be possible to just modify the java code for > >> interfaces > >> I need so that I can quickly have a working java client. Please let me > >> know > >> if there is something wrong with that approach. What is causing the > >> incompatibillity? > >> I would like to get the position2d to work first. Please give me some > >> tips > >> as to which parts of the java client needs to be modified to make this > >> work. > >> > >> thanks > >> Giri > >> -- > >> View this message in context: > >> > http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22047966.html > >> Sent from the java-player-users mailing list archive at Nabble.com. > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, > >> CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > >> Enterprise > >> -Strategies to boost innovation and cut costs with open source > >> participation > >> -Receive a $600 discount off the registration fee with the source code: > >> SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Java-player-users mailing list > >> Jav...@li... > >> https://lists.sourceforge.net/lists/listinfo/java-player-users > >> > > > > > > > > -- > > ************************************** > > Leonardo Nomdedeu Calvente > > leo...@gm... > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > > Enterprise > > -Strategies to boost innovation and cut costs with open source > > participation > > -Receive a $600 discount off the registration fee with the source code: > > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Java-player-users mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-player-users > > > > > > -- > View this message in context: > http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22283116.html > Sent from the java-player-users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > -- ************************************** Leonardo Nomdedeu Calvente leo...@gm... |
From: Serge S. <ser...@do...> - 2009-03-02 10:15:49
|
Leo Nomdedeu wrote: > > I have never found any documentation regarding the communication. Indeed, > the xdr library is build "on the fly" depending on the contents of the > "playercore/player.h" header by a Python process > "playerxdr/playerxdrgen.py". > The reason I have not released any patched version of the JavaClient is > that > a patch will only work for a few time, as P/S developers do not consider > changes in this communication a problem, what unfortunately is a big issue > for those trying to interface Player from other languages. What we are > developing now is a process similar to this playerxdrgen to create the > xdr-based communications on java on-the-fly. > > Thank you for this information Leo ! I found now some problems with my client and it works much better ;-) I could rotate my robot, use a sonar without glitch. If you are interested, my work is here : http://www.squeaksource.com/WifiBot.html -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Smalltalkers do: [:it | All with: Class, (And love: it)] http://doesnotunderstand.org/ -- View this message in context: http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22285003.html Sent from the java-player-users mailing list archive at Nabble.com. |
From: Leo N. <leo...@gm...> - 2009-03-02 11:46:12
|
I'm glad you got it working. It's a long time I have not used smalltalk, but it seams you keep it alive ;) Bests! Leo 2009/3/2 Serge Stinckwich <ser...@do...> > > > > Leo Nomdedeu wrote: > > > > I have never found any documentation regarding the communication. Indeed, > > the xdr library is build "on the fly" depending on the contents of the > > "playercore/player.h" header by a Python process > > "playerxdr/playerxdrgen.py". > > The reason I have not released any patched version of the JavaClient is > > that > > a patch will only work for a few time, as P/S developers do not consider > > changes in this communication a problem, what unfortunately is a big > issue > > for those trying to interface Player from other languages. What we are > > developing now is a process similar to this playerxdrgen to create the > > xdr-based communications on java on-the-fly. > > > > > > Thank you for this information Leo ! I found now some problems with my > client and it works much better ;-) I could rotate my robot, use a sonar > without glitch. If you are interested, my work is here : > http://www.squeaksource.com/WifiBot.html > > -- > Serge Stinckwich > UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam > Smalltalkers do: [:it | All with: Class, (And love: it)] > http://doesnotunderstand.org/ > -- > View this message in context: > http://www.nabble.com/Questions-about-where-to-start-upgrading-JavaClient-tp20997349p22285003.html > Sent from the java-player-users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > -- ************************************** Leonardo Nomdedeu Calvente leo...@gm... |