Native Simulator + Simclient VM Setup




Native Simulator + Simclient VM Setup

Postby Peter Lehner » Thu 25. Sep 2014, 10:07

Version 1.0.8 of the simulator provides configuration scripts to ease the setup of a native simulator and a simclient virtual machine (VM).

Advantages
This setup has the following advantages:
  • The simulator on a native ubuntu 12.04 (32 bit) is significantly faster than in the simsrv VM.
  • A native simulator setup can possibly provide a workaround for the 'illegal instruction' by virtualbox when running the simsrv VM.
  • You can test the correct encapsulation of your code in the simclient virtual machine before the final delivery.
Setup
The following steps will allow you to setup a native simulator and the simclient VM:
  • Download and install the latest version of the simulator (euroc-c2s1-simulator_VERSION_i386.deb) and the scenes (euroc-c2s1-scenes_VERSION_i386.deb) on your native ubuntu 12.04 (32 bit) (for help see the technical annex 1.2.2)
  • Download and import the virtual machines file (euroc_c2s1_2014*.ova) into virtualbox (for help see the technical annex 1.2.1).
  • Start the simclient VM and insert your application startup into /opt/euroc_c2s1/startup (see technical annex 4.2)
  • Shutdown the simclient VM

Running the simulation
The following steps will allow you to run a native simulation and the simclient VM:
  • Start the simulation task selector on the native machine with the "-c" option. The script will configure your virtualbox with a new hostonlyif interface which connects the simclient VM with your native host:
    Code: Select all
    /opt/euroc_c2s1/start_euroc_task_selector -c
  • Start your simclient VM
Reversing the effects
In order to reset the simclient VM connection to communicate with the simsrv VM you can run the following on the native machine:
Code: Select all
/opt/euroc_c2s1/bin/configure_simclient_vm internal
Peter Lehner
 
Posts: 53
Joined: Fri 27. Jun 2014, 14:33

by Advertising » Thu 25. Sep 2014, 10:07

Advertising
 

Re: Native Simulator + Simclient VM Setup

Postby AIS » Fri 7. Nov 2014, 12:47

Hello,

The final evaluation will be executing both client and server in VMs, or native simulator and client in VM?

Kind regards
AIS
 
Posts: 28
Joined: Mon 1. Sep 2014, 09:48

Re: Native Simulator + Simclient VM Setup

Postby fschmidt » Fri 7. Nov 2014, 13:25

the final eval will use a native simulator with a fixed rt factor of 0.2.
fschmidt
 
Posts: 96
Joined: Fri 27. Jun 2014, 14:44


Return to Stage 1 - Simulation

Who is online

No registered users

cron