There has also been some talk, maybe on the playerstage-developers list, about being able to supply any config parameter using environment variables and/or command line options in addition to the config file.

Anyone still interested in that kind of thing?

Reed



Esposito Mario wrote:
Dear Sirs,
I'm using Player and Gazebo for simulated experiments togheter with genethic
algorithms and neural networks. I'm doing trials of about 64000 simulation 
cycles,
each cycle lasts at least 1,5 minutes.
For this purpose I created a java procedure named GazeboCommander that given 
the Player config file/s and the Gazebo world file, open the gazebo server on 
the next free port, and Player/s connecting on that gazebo port and listening 
on subsequential ports. An example:

I ask the procedure to open a gazebo with 3 Players connecting to it. I simple 
give it one gazebo world file and 3 player config files and this makes a new 
instantiation of a GazeboCommander class that 'll open the gazebo server on the 
first free port, i.e. on the port 5, and 3 Player listening at 6500, 6501 and 
6502 ports (ports that who uses the program may ignore completely). When the 
execution terminates I simple tell the istance of GazeboCommander to close and 
all the process running for that specific gazebo and gazebo itself at the port 
5 (and not on the other eventually ports) will be closed.

My problem is that this beautiful classes makes use of the Player 1.6 -g 
option!!! With Player 2.0, as this option isn't there any more, to modify my 
class in a suitable way, I would have to make the class write at run-time a 
config file for every opening Player and so at least 64000 files!!!
Why don't you reinsert in some way the old and dear -g option?

Of course I'd like to share this java class if useful...

Thanks

I hope you can help us.

F.Donnarumma, M.Esposito

University Federico II of Naples
Italy



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to