-
Notifications
You must be signed in to change notification settings - Fork 1
Description
-
- Add a fire missions to the operations area (Real-time changes between users)
-
Add a button to create fire missions
-
Add three box sections for mortar position, atmospheric conditions and map condition
-
- Add mortar position section (10-figure grid and Height fields and a Weapon system drop down)
-
- Add atmospheric conditions section (Air pressure, Temperature, Humidity, Wind speed and Wind direction fields)
-
- Add map condition section (Vertical ordinate flipped and Horizontal ordinate flipped toggle box)

Add Fire missions
- - Add Fire mission boxes with a press of the "create fire missions" button
- - Add Name, 10-figure grid and a Height field
- - Add Range, Azimuth, Elevation, Time of Flight and Time of Impact output fields
- - Add Charge field for output, unless a charge is chosen for an input from the dropdown
- - Add Cross to remove Fire mission and stored data

Numerical calculation
- - Implement mortar calculator using Mortar.dll (https://drive.google.com/file/d/1R3L-4PGY0h1fl1bxP2--MnWjeeyd0yav/view?usp=sharing)
* inputs:
* system: integer, 0 for M6 mortar, 1 for L16 mortar
* mortPos: string, mortar 10 figure grid reference (1 metre)
* tgtPos: string, target 10 figure grid reference (1 metre)
* mortHgt: integer, mortar height (metres)
* tgtHgt: integer, target height (metres)
* charge: integer, 0,1,2,3,4 (M6->0,1,2,3|L16->0,1,2)(4 if unassigned for M6|3 or 4 if unassigned for L16)
* windMag: double, wind magnitude (m/s)
* windDir: integer, approaching wind direction (degrees)
* pres: double, air pressure (hPa[hecto-pascals])
* temp: double, air temperature (degrees celsius)
* humid: double, Relative Humidity (%)
* xFlip: boolean, x map ordinate flipped
* yFlip: boolean, y map ordinate flipped
*
* functions:
* MortarCorrections.Calculations.Density(system, pres, temp, humid) // Returns air density (kg/m^3)
* MortarCorrections.Calculations.Range(mortPos, tgtPos) // Returns range between two MGRS grids (m)
* MortarCorrections.Calculations.Bearing(mortPos, tgtPos, xFlip, yFlip) // Returns bearing from mortar to targets with two MGRS grids. xFlip and yFlip are used if the map has flipped ordinates (mils)
* MortarCorrections.Calculations.Charge(charge, system, mortPos, tgtPos) // Returns preferred charge if a charge has not been assigned
* MortarCorrections.Calculations.RangeCorrection(charge, system, mortPos, tgtPos, xFlip, yFlip, pres, temp, humid, windMag, windDir) // Returns range corrected for atmospheric conditions (m)
* MortarCorrections.Calculations.Elevation(charge, system, mortPos, tgtPos, mortHgt, tgtHgt, xFlip, yFlip, pres, temp, humid, windMag, windDir) // Returns corrected mortar elevation (mils)
* MortarCorrections.Calculations.Azimuth(charge, system, mortPos, tgtPos, xFlip, yFlip, pres, temp, humid, windMag, windDir) // Returns the azimuth for the mortar (mils)
* MortarCorrections.Calculations.Time(charge, system, mortPos, tgtPos, mortHgt, tgtHgt, xFlip, yFlip, pres, temp, humid, windMag, windDir) // Returns the time of flight for the mortar (s)
- - Have the Fire missions output fields calculated if all fields are filled in for the L16
- - Have the Fire missions output fields calculated if all but the atmospheric fields are filled in for the M6

Additional
-
- Use a dropdown to choose different mortar positions (Grid, height and weapon system), typing in the field adds a new postion (New grid, height and weapon system), pressing a cross next to it or deleting the postion name deletes the postion name, grid, height and weapon system data.

-
- Use a dropdown to choose different atmospheric conditions (Air pressure, Temperature, Humidity, Wind speed and Wind direction), typing in the field adds a new atmosphere condition(Air pressure, Temperature, Humidity, Wind speed and Wind direction), pressing a cross next to it or deleting the postion name deletes the Condition Air pressure, Temperature, Humidity, Wind speed and Wind direction system data.

-
- Enable Fire missions to be dragged as entities to arrange them

