From: Radu B. R. <ru...@cs...> - 2006-07-03 09:00:09
|
You mean the Javaclient interface for Speech using Stage, or in general, the speech implementation of Stage? :) Best, R. Jorge Santos Simon wrote: > wow! Now it works fine! Thank you a lot > > But it's very strange all the lines and points are drawn relative > to the robot position, instead of relative to the world coordinates > centre. I suppose this a P/S matter, so I will post there a question. > > Just one bad new: the speech interface still doesn't work with Stage. > > >> -----Mensaje original----- >> De: jav...@li... >> [mailto:jav...@li...] En >> nombre de Radu Bogdan Rusu >> Enviado el: viernes, 30 de junio de 2006 12:20 >> Para: jav...@li... >> Asunto: Re: [Java-player-users] requestInterface() restrictions >> >> Fixed! Thanks for the notice. Initially, the Graphics2D >> support was broken in Stage so I had to do a dirty hack to >> get it to work. Since then, Richard fixed it, so it was about >> time that we fix it too. >> >> You can get the updated code from SVN now. >> >> Usage example: >> g2di.clearScreen (); >> // PlayerGraphics2dCmdPoints p = new >> PlayerGraphics2dCmdPoints (); >> PlayerGraphics2dCmdPolyline p = new >> PlayerGraphics2dCmdPolyline (); >> >> PlayerColor color = new PlayerColor (); >> color.setAlpha (0); >> color.setRed (0); color.setGreen (0); >> color.setBlue (0xff); >> p.setCount (200); >> >> for (double r = 0; r < 1.0; r += 0.05) { >> PlayerPoint2d[] points = new PlayerPoint2d[64]; >> for (int j = 0; j < 64; j++) { >> points[j] = new PlayerPoint2d (); >> points[j].setPx ((float)(r * >> Math.cos (j * Math.PI / 32))); >> points[j].setPy ((float)(r * >> Math.sin (j * Math.PI / 32))); >> } >> p.setPoints (points); >> p.setColor (color); >> g2di.drawPolyline (p); >> } >> >> Best, >> Radu. >> >> Jorge Santos Simon wrote: >>> Hi folks! >>> >>> I have two troubles when using Javaclient2 with Stage: >>> >>> - I'm unable to draw anything with the Graphics2D interface (or I >>> can't see the effects) >>> - The speech interface doesn't work with Stage (ok, this >> is not very >>> important at all) >>> >>> I have noticed from the P/S users forum that the those problems are >>> solved in Stage, so I guess the problem can be in Javaclient. Have >>> anyone experienced such problems? >>> >>> I'm using CVS/SVN up to date versions of both P/S and Javaclient2 >>> >>> Thank you a lot >>> Jorge >>> >>> >>>> -----Mensaje original----- >>>> De: jav...@li... >>>> [mailto:jav...@li...] >> En nombre de >>>> Radu Bogdan Rusu Enviado el: viernes, 30 de junio de 2006 11:09 >>>> Para: jav...@li... >>>> Asunto: Re: [Java-player-users] requestInterface() restrictions >>>> >>>> >>>> Okay, fixed this one too (I think). >>>> >>>> I am committing everything to the SVN now, so please check >> them out >>>> later and test to see if they work. >>>> >>>> For Shawn: I added a few extra checks, so when you request >> a certain >>>> interface, Javaclient should never return another one. >>>> >>>> Cheers, >>>> Radu. >>>> >>>> Kurt Konolige wrote: >>>>> Hmm, not much traffic on this user group... >>>>> >>>>> requestInterfaceXXXX() functions can't be called after >>>> runThreaded() >>>>> is invoked, they hang or return the wrong result, or do other bad >>>>> things like run out of heap space if called repeatedly. >>>>> >>>>> Cheers --Kurt >>>> -- >>>> | Radu Bogdan Rusu | http://rbrusu.com/ >>>> | http://www9.cs.tum.edu/people/rusu/ >>>> | Intelligent Autonomous Systems >>>> | Technische Universitaet Muenchen >>>> >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier Download IBM WebSphere Application Server >>>> v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >>>> dat=121642 >>>> _______________________________________________ >>>> Java-player-users mailing list >>>> Jav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/java-player-users >>>> >>> ______________________ >>> Este mensaje, y en su caso, cualquier fichero anexo al >> mismo, puede >>> contener informacion clasificada por su emisor como >> confidencial en >>> el marco de su Sistema de Gestion de Seguridad de la Informacion >>> siendo para uso exclusivo del destinatario, quedando prohibida su >>> divulgacion copia o distribucion a terceros sin la autorizacion >>> expresa del remitente. Si Vd. ha recibido este mensaje >> erroneamente, >>> se ruega lo notifique al remitente y proceda a su borrado. >>> Gracias por su colaboracion. >>> ______________________ >>> This message including any attachments may contain confidential >>> information, according to our Information Security >> Management System, >>> and intended solely for a specific individual to whom they >> are addressed. >>> Any unauthorised copy, disclosure or distribution of this >> message is >>> strictly forbidden. If you have received this transmission >> in error, >>> please notify the sender immediately and delete it. >>> ______________________ >>> >>> Using Tomcat but need to do more? Need to support web >> services, security? >>> Get stuff done quickly with pre-integrated technology to >> make your job >>> easier Download IBM WebSphere Application Server v.1.0.1 based on >>> Apache Geronimo >>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 >>> 42 _______________________________________________ >>> Java-player-users mailing list >>> Jav...@li... >>> https://lists.sourceforge.net/lists/listinfo/java-player-users >> -- >> | Radu Bogdan Rusu | http://rbrusu.com/ >> | http://www9.cs.tum.edu/people/rusu/ >> | Intelligent Autonomous Systems >> | Technische Universitaet Muenchen >> >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier Download IBM WebSphere Application Server >> v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > puede contener informacion clasificada por su emisor como confidencial > en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > Gracias por su colaboracion. > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > and intended solely for a specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this message > is strictly forbidden. If you have received this transmission in error, > please notify the sender immediately and delete it. > ______________________ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |