okopanja / sharkplanner Goto Github PK
View Code? Open in Web Editor NEWSharkPlanner is a mod for entry of waypoints into ABRIS and PVI-800
License: GNU General Public License v3.0
SharkPlanner is a mod for entry of waypoints into ABRIS and PVI-800
License: GNU General Public License v3.0
Provide context to experiment to save status
Load file can be edited, in which case lat/long or x/y/z coordinates may be omitted.
Make sure that x/y/z is generated if is missing from file.
Selecting waypoint/fixpoint/target point should focus crosshair on map.
This should help with better overview on what is entered.
Provide support for entry of 9 waypoints into NADIR
It would be useful to have hotkey for Add operation (SPACE) in control window.
CTRL+ALT+SPACE: show/hide (already implemented)
In addition in future the follwoing might be considered
Switch from ENUM number to string broke the log level checks.
When transfer takes place progress bar is displayed.
If the elevation chart is generated, it obstructs the progress bar.
Only 4 points can be recorded
Steps to reproduce
Note: if the FlightPlanner is hidden, the chat will show up with no issues.
Loading of saved targets/fixpoints causes targets/fixpoints to be displayed in list while in waypoint mode
This occurs due to maximal range of ABRIS being limitting factor, since we depend for entry on range being able to contain vertical/horizontal distance between 2 points.
The maximal values between 1 positions are:
Explore if the entry can proceed outside of bounds of range maximum reliable.
If not handle this situation gracefully, by refusing ABRIS entry, displaying error message and proceeding with PVI-800 entry
The coordinates specified in DD MM SS may get rounded up to 60.
E.g.
24 32 59.7 will easily be rounded to 24 32 60. Instead this should be 24 33 00
Removal of fixpoints/targets points results in 2 errors:
Case 1:
Case 2:
This should be simple:
determinVariant => determineVariant
used detect => used to determine variant in cases where this is not possible through builtin ID of the module (e.g. Black Shark and Combined Arms). SA-342 Gazelle on the other side politely reports the correct variants.
line 7: class vs classes: rephrase
line 15: missing modules word
line 20: Defines configuration options for module
line 25: subsection should be named according to the name of the device. Each used device should have own subsection
line 28: particilar => particular
section
line 51: returns module functions
Under certain conditions the user will not be able to load and save diaglos.
This is typically representend with follwoing entry in the dcs.log.
2023-05-08 15:41:53.115 ALERT LUACOMMON (Main): Error: GUI Error: [string "module('FileDialog', package.seeall)..."]:776: attempt to index field 'userFiles' (a nil value)
It appears that the environment for export script is not fully initialized and is missing the global variables normally available to Mission Editor.
In addition user loose the keyboard input since before dialog gets shown the sharkplanner restricts input.
Version 2011 has identical ABRIS modes as BS2, however BS3 2022 and BS2011 share the same name: "Ka-50_3"
Proper support can be implemented until the distinction can be reliably made.
Possible solution is described here:
https://forum.dcs.world/topic/164638-bagi-ka-50/?do=findComment&comment=5148480
If a server restricts the export even for ownship:
During planning it is important to understand the altitude profile of the route.
Hence it should be explored if it is feasible to determine and display altitude profile.
The template should enable other persons to implement module of their choice.
FlightPlanner is name that does not strongly associated with Ka-50, so the project and references need to be renamed to SharkPlanner.
Workaround: click on Hide
Solution: waypointTargetCheckBox needs to unfocus on focus immidiatly
Planned improvements:
Purpose: enable trying out lua functions without reloading the whole environment
Audiance: developers, end users should not use this
Implementation: add button associated with following functionality:
Within option dialog user should be able to customize the number of allowed way/fix/target points for CA
When switching maps the coordinates of map's local coordinate systems are not recalculated.
This as result has invalid distances being calculated when switching from one map to another if the point was take in original map.
Similar to the waypoint entry it should be possible to enter the target information into ABRIS
There used to be a waypoint counter in the previous release which would allow for adding up to 6 waypoints; it's now gone and there is an empty field where the counter used to be.
On attempting to transfer this error shows
2023-02-19 09:30:45.678 ALERT LUACOMMON (Main): Error: GUI Error: [string "C:\Users\aeroz\Saved Games\DCS.openbeta\Scripts\FlightPlanner\KA50IIICommandGenerator.lua"]:73: bad argument #1 to 'pairs' (table expected, got nil)
GUI debug.traceback: stack traceback:
[C]: ?
[C]: in function 'pairs'
[string "C:\Users\aeroz\Saved Games\DCS.openbeta\Scripts\FlightPlanner\KA50IIICommandGenerator.lua"]:73: in function 'preparePVI800Commands'
[string "C:\Users\aeroz\Saved Games\DCS.openbeta\Scripts\FlightPlanner\KA50IIICommandGenerator.lua"]:63: in function 'generateCommands'
[string "C:\Users\aeroz\Saved Games\DCS.openbeta\Scripts\Hooks\FlightPlanner.lua"]:213: in function 'transfer'
[string "C:\Users\aeroz\Saved Games\DCS.openbeta\Scripts\Hooks\FlightPlanner.lua"]:242: in function 'callback'
[string "./dxgui/bind/Widget.lua"]:299: in function <[string "./dxgui/bind/Widget.lua"]:298>
When clicking Transfer following should be disabled:
Presently SharkPlanner errors are logged into dcs.log. Move that to separate option
The sharkplanner should receive configuration optional panel in order to support loading/saving of options
On hot startup PVI-800 will be in working mode with waypoint 1 selected. On cold startup, it will be in work mode, but with no waypoint being selected.
Presently planner requires waypoint 1 to be selected. It would be nice if the user would not need to take care of this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.