|
1. Introduction 2. Invocation 3. Usage 4. Configuration |
|
The Scenario Entry Tool provides a graphical way to enter way-point scenarios relative to native map coordinates and Day:Hour:Minute:Second times. Way-points are a crucial aspect of mission plans and scenarios.
The scenario generator can capture and review the positioning and movement plans of multiple independent vehicles across multi-phase or multi-day missions. It records all information in XML format. It can be used to review, edit, or play-out earlier entered scenarios.
The Scenario Editor Tool will open to its opening screen as shown below.

From this screen, you can load an existing map-setup or create a new one, by pressing the appropriate buttons. Once you have selected or created the map to use, you can open an existing scenario or create a new one. (Example files are in the $CSIM_MODEL_LIBS/vpt/scenarios directory. For initial learning, copy these files to your local directory.)
Or, you can create a new map-setup file by clicking the Select/Set-up Map button. A pop-up will let you browse for a map-image-file, let you enter coordinate ranges, and save these configurations to a new map-setup file-name. Note that you can download map images from many sources on the web. You can also draw your own maps with a drawing tool and export their images. JPEG, GIF, and PPM are acceptable image formats for the map-image.
Once you have made the selections, S.E.T. opens the map scenario screen, where you can enter, edit, delete, or review way-point scenarios.
To generate new traffic scenarios, click the "GenPath" button on the upper right side of the display. It will pop-up a window with three radio-buttons at the top. The choices are:
Next, select a track (vehicle) type. Presently, the options are Own-Ship, Surface Unknown, Surface Friendly, Surface Hostile, Air Unknown, Air Friendly, and Air Hostile. Your selected track-type will be displayed in bold.
Next, enter a unique track name (or class name).
The following panel items will vary depending on which type of path you selected to generate at the top.
Editing, Hiding, or Moving Inidividual Tracks
You can edit, show, or hide tracks by clicking near any vertex of a track.
Tick-marks will appear on the track, and the track name will be identified in green at the upper right of the display.
Double-clicking a tickmark will bring up the track editor on that track.
In the track-editor window, you can change many aspects about the track, such as its type, or whether it is displayed or not.
Under the Tools menu, you can swicth the Mouse Ident mode to Drag with Mouse. Then you can move tracks by dragging their vertices with your mouse. You can use this to adjust way-point positions graphically.
Zooming, Panning
When first invoked, the map is zoom-out all the way, so you cannot pan. By clicking the zoom-in button, you can zoom into smaller
regions of the map. Once zoomed-in to nay degree, you can pan with the slider buttons on the side and bottom of the map.
Playing Traffic Scenarios
You can play scenarios by selecting the Play button. The Play dialog will pop-up.
You can enter a time-range to view and a relative play speed. Play speed can be entered by moving the slider, or by typing a value into the form-box.
When ready to play, click the play button. You will see the objects move, and time advances will be displayed on the right panel.
You can close the play-dialog to hide it, without stoping the action.
While playing a scenario, you cannot pan or zoom the map. Stop playing by clicking the stop button. You can then re-play for a different or total time-range, by repeating the above steps.
Units:
By default, velocities are to be entered in Nautical Miles per Hour (nm/h), also called nauts or knots (kts).
Times are to be entered as:
Days : Hours : Mins : Secs
Durations are specified in Minutes.
Saving & Clearing Scenarios:
Under the File menu, click "Save" to save the current scenario data.
Otherwise, if you exit without saving, any new track entries will be
lost. {In the near future there will be a warning popup.}
Presently, all scenario data is saved to the "traffic.dat" file by default. This is the same file it loads (by default) on start-up. Therefore, your entered tracks will append to previous entries. {In the future there will be a file-browser popup to save to SaveAs.}
If you wish to save the file aside, or clear it completely, to enter a fresh scenario, then rename or delete "traffic.dat".
An initial traffic.dat file is supplied for testing purposes. By default, new scenario tracks are appended to the existing traffic.dat file on save-out. When you re-open the scenario-generator, you will see your new tracks added to the old tracks.
To start fresh, erase the contents of the traffic.dat file. To save the scenario aside, rename the traffic.dat file to another name. To run the viewer from a different scenario file, rename it to "traffic.dat". {In the near future, the File/Import menu will open a file-browser to import arbitrary scenario files.}
Map Configuration:
By default, the scenario-generator will read the "geom.dat" file for
definitions of the background map and object symbols.
Changing Map Diagram:
You can substitute alternate maps. The map is merely an image file.
For example, you may download map images of various world regions from
the with (with appropriate permissions) or other sources. Or you can
draw maps in Powerpoint and export as an image.
Example:
================================================================================== | Define Map coordinates and screen position. | | Screen coords are in percent of screen. | | (left-top=(0,0), bottom-right=(100,100) | | Native map coords are usually nautical miles or lat/long degrees. | ==================================================================================
