From: Radu B. R. <ru...@cs...> - 2005-11-19 00:52:14
|
Hey Shane, Wow, you were really fast at reporting, identifying and correcting the problem. :) Sorry, but I just managed to read my e-mail. I wish I could have done it sooner to help you out. Anyway, it seems that you got that one sorted out. Can you please send me a diff file so I can commit it to the CVS repository ? Yes, I totally agree that we should have more examples on how to use Player/Stage with or without Javaclient. I am willing to help anyone who wants to write some with technical aspects, but I just don't seem to have the time to sit down and do it myself :( We could also use ideas and/or code contributions for the other parts of the client. PS. I just realized that I have some old hacked code lying around on some of my web pages. Maybe it could be useful for any of you who are using Javaclient and want to get into neural networks as well (Joone). The source codes are really crappy because I had to move and didn't get around to fix them, but if somebody wants to actually clean them up, we could post them on the Javaclient examples web page (which is empty right now - I think). Anyway, the URL for the source codes (including a small tutorial) is http://www.robotux.info/ai/included/read.php?cat=neural&article=Radu%20Bogdan%20Rusu_On%20Data%20Fusion%20Methods%20Using%20Neural%20Networks,%20From%20a%20Practical%20Implementation%20POV Thanks, Radu. Shane Hoversten wrote: > > Hi - > > I solved my problem. There was a second bug in javaclient. In the > constructor for FiducialInterface you have to add: > > for (int i = 0; i < PLAYER_FIDUCIAL_MAX_SAMPLES; i++) { > fiducials[i] = new PlayerFiducialItem(); > } > > The space for the array was being allocated, but the elements of the > array were not. > > Things seem to work now, by which I mean the robot will run without > javaclient crashing and the fiducials will output data. Perhaps there > are more bugs. > > Shane > -- | Radu Bogdan Rusu | http://rbrusu.com | http://www9.cs.tum.edu/people/rusu | Intelligent Autonomous Systems | Technische Universitaet Muenchen |