SimServer: Difference between revisions

From Rsewiki
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Multi robot simulator ==
== Multi robot simulator ==


Location is in mobotware/simulator/trunk.
Location is in ''mobotware/simulator/trunk'', assuming mobotware is in the ''mobotware'' directory.


== Example ==
== Simulation server ==


Example recipe server side
Example recipe to run simulation server


* Make an empty directory on the computer where the simulation server should run (a 32 bit linux computer with mobotware installed)
* Make an empty directory on the computer where the simulation server should run (a 32 bit linux computer with mobotware installed)
Line 12: Line 12:
  cd simserver
  cd simserver
  cp -r mobotware/simulator/trunk/example .
  cp -r mobotware/simulator/trunk/example .
* then in this directory the '''file simconfig.xml''' is the entry for the simulated world
* then in this directory the file ''simconfig.xml'' is the entry for the simulated world
* Default is 4 robots in a 4x4m square.
* Default is 4 robots in a 4x4m square.
* start the sim server
* start the sim server
  simserver
  simserver
* if it fails complaining about missing rgb.txt, I made a symbolic link to these resources:
* if it fails, complaining about missing rgb.txt, I made a symbolic link to these resources:
  ln -s ~/mobotware/simulator/trunk/stage-3.2.2.DTU/assets/* .
  ln -s ~/mobotware/simulator/trunk/stage-3.2.2.DTU/assets/* .


== simulation client
== Simulation client ==


In the same directory as the simulation server example, there is example configuration
In the same directory as the simulation server example, there is an example configuration
of the 4 default robots (smr0..smr3).
for the 4 default robots (smr0..smr3).


Go to one of these directories
Go to one of these directories, e.g.:
  cd smr0
  cd smr0
Edit the ulmsserver.ini as appropriate, especially the long path in the module path
kate ulmsserver.ini
Edit the ulmsserver.ini as appropriate, especially the long path in the module ''load="..."'' path should be removed, only including the plug-in name, e.g. ''aupoly.so.0''.

Latest revision as of 15:25, 1 July 2015

Multi robot simulator

Location is in mobotware/simulator/trunk, assuming mobotware is in the mobotware directory.

Simulation server

Example recipe to run simulation server

  • Make an empty directory on the computer where the simulation server should run (a 32 bit linux computer with mobotware installed)
mkdir simserver
  • copy the example configuration files
cd simserver
cp -r mobotware/simulator/trunk/example .
  • then in this directory the file simconfig.xml is the entry for the simulated world
  • Default is 4 robots in a 4x4m square.
  • start the sim server
simserver
  • if it fails, complaining about missing rgb.txt, I made a symbolic link to these resources:
ln -s ~/mobotware/simulator/trunk/stage-3.2.2.DTU/assets/* .

Simulation client

In the same directory as the simulation server example, there is an example configuration for the 4 default robots (smr0..smr3).

Go to one of these directories, e.g.:

cd smr0
kate ulmsserver.ini

Edit the ulmsserver.ini as appropriate, especially the long path in the module load="..." path should be removed, only including the plug-in name, e.g. aupoly.so.0.