next up previous contents
Next: Troubleshooting Up: Running BeaconConfigDemo Previous: Running the BeaconConfigDemo Remote   Contents


Simulation Mode

One can run the entire BeaconConfigDemo in simulation mode. In this mode, everything works the same way as described above except that the user controls the listener's position in a virtual environment. To launch BeaconConfigDemo in simulation mode, run

cd NMSDemo/2004/BeaconConfigDemo  
set the MODE line in launchall.sh to ``simulation''
./launchall.sh

In addition to the program windows described in earlier sections, there is now a new window that displays the virtual environment. The environment contains 5 beacons and a listener (represented by a short black segment). When a beacon transmits a signal, a red circle centered at the transmitting beacon will appear.

The user can use the following set of keys to navigate the listener in the virtual environment.

i north
k east
m south
j west
u up (altitude)
d down (altitude)

For example, to calibrate the beacon coordinates, the user should

  1. move the listner first to Beacon A and wait until a dot appears in the Beacon Configuration window
  2. move the listner to Beacon C, wait until another dot appears,
  3. move the listener to Beacon D, wait until the third dot appears

Then the user can move the listener in the virtual environment and watch how its position is being tracked in the Beacon Configuration window. The beacon.conf file sets the location of the beacons in the virtual environment window.


next up previous contents
Next: Troubleshooting Up: Running BeaconConfigDemo Previous: Running the BeaconConfigDemo Remote   Contents
Michel Goraczko 2004-12-02