SimServer
From Rsewiki
(Difference between revisions)
(Created page with "== Multi robot simulator == Location is in mobotware/simulator/trunk. == Example == Example recity * Make an empty directory on the computer where the simulation server sh...") |
|||
Line 5: | Line 5: | ||
== Example == | == Example == | ||
− | Example | + | Example recipe server side |
* 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) | ||
mkdir simserver | mkdir simserver | ||
* copy the example configuration files | * copy the example configuration files | ||
− | cp mobotware/simulator | + | 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 example configuration | ||
+ | of the 4 default robots (smr0..smr3). | ||
+ | |||
+ | Go to one of these directories | ||
+ | cd smr0 | ||
+ | Edit the ulmsserver.ini as appropriate, especially the long path in the module path |
Revision as of 14:30, 1 July 2015
Multi robot simulator
Location is in mobotware/simulator/trunk.
Example
Example recipe server side
- 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 example configuration of the 4 default robots (smr0..smr3).
Go to one of these directories
cd smr0
Edit the ulmsserver.ini as appropriate, especially the long path in the module path