Giter Site home page Giter Site logo

lazymdc's Introduction

MDC API

This is deprecated and I'm not really maintaining it as it needs to be replaced.

To make it easier for folks to run the containers, headless chrome etc. I have pushed it to docker compose to make it a bit easier to get it setup yourself should you wish to run it

This is WIP so expect some issues though I believe it's fully functional from PDF/PNG Zip downloads and admin interface

Admin Interface

Navigate to URL/admin and you should be able to login

Creating users

As this was not built into the admin interface yet, I have made it so that creating global admins, creating accounts / passwords is simple

$ docker exec mdc-api-1 python -mmdc_api.cli reset-pw --username foobar --password bar

Giving a user global admin

$ docker exec mdc-api-1 python -m mdc_api.cli list-users
1: admin
6: foo
7: foobar

$ docker exec mdc-api-1 python -m mdc_api.cli grant-admin --uid 6

Giving user admin rights for 1 squadron/wing

This can be done multiple times for multiple wings

  • Create the squadron in the UI as an admin
$ docker exec mdc-api-1 python -m mdc_api.cli list-squadrons
1: None
3: somethign

$ docker exec mdc-api-1 python -m mdc_api.cli list-users
1: admin
6: foo
7: foobar

$ docker exec mdc-api-1 python -m mdc_api.cli grant-squadron --uid 6 --sid 3

lazymdc's People

Contributors

dependabot[bot] avatar drsoran avatar martinco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lazymdc's Issues

Add KCAS / Mach to the Waypoints / Editable TOT

  • Add KCAS / Mach to Waypoints table
  • Allow for setting TOT to derive the speeds etc.

This requires a bit more work to determine the formula's for DCS > 36kft

The main limitation is the output MDC font sizes and ensuring readability across the player base

Perhaps allow the user to choose which speed format columns are displayed on the output would mitigate these

F-16C: CMDS + HARM Tables

Would be nice to have a CMDS block and HARM table block, prefilled with the DCS defaults

If these are modified then we would show the block on the MDC

CF also has support for CMDS so these too should be supported

Waypoint id Start from 1

It would be handy to have an option that starts the waypoint id from n°1 rather than from n°0, so that it is the same as the format used by DTC, and consequently in the cockpit

coordinate entry from string: "N25 E053 27" is rejected

This is with DDM, DP=3. When I enter the mentioned string, and press "Load", I get "Invalid coordinate format". It's probably thrown off by the missing minute part. Ideally, it should recognize that N25 is equal to N25 00, which works.

Route map

It would be great to have a google map or similar to visualise the route, or even better to allow you to create the route in-browser

Additionally, this could automatically be added as a kneeboard page

Missing threat sites

SA-2 is notably absent and I'm sure others are as well - I will return and add them as I find them

Waypoints: Add ability to set multiple flight plans

F-18s, F-16s, A10s have the ability to either add sequences or flight plans

  • Figure out a way to more suitably add multiple flight plans

In the case of the A10C data loader export:

  • if multiple flight plans configured:
    • single file with all waypoints
    • flight plan file for each flight plan
  • or single merged WP / Flight plan file as present

feature request: separate columns for navpoint name and waypoint name

See title.

Reasoning: In the A-10C we have a navpoint database with all the navpoints in the mission. If the to-be-programmed waypoint is a navpoint, we would select the navpoint, and copy that into a new waypoint, under a new name. Otherwise we would create a new waypoint manually, by inserting all data (name, lat/long, altitude). So the waypoint name and the navpoint name are entirely different.

This is how it looked like in our old MDC. In this example, waypoint 3 is a manually created waypoint, the other three come from the navpoint database.

screen

Easy way to clone an MDC

On the download, have an option to clone an MDC to a be able to save + make edits without affecting the old one

Threat database misses AAA

We often face ZSU-23-2 and ZSU-23-4. Would be great if they could be added to the list of known threats.

Add field for DSMS profiles

For some ordnance and in some missions, we are adjusting the default DSMS profiles with custom parameters, or program new profiles. There are numerous options to make, so it is not really sensible to put them all in the MDC as selectable options.

I would rather propose adding another free text field below the stations and above BULLSEYE / RAMROD information. In this field we can then note the profile parameters. If there are no notes, the text box does not need to be printed on the MDC.

Technically, we could also write this down in the main note field. I would still prefer to have the information at the same place as the ordnance, so that there is exactly one place to look for anything related to weapons.

Would that make sense?

Admin: Handle F16 Presets from the avionics/unitID directory

The main UHF_RADIO/SETTINGS.lua (and others) still exists and is loaded for A10s / F16s as a default

These are now able to be overridden by unit-specific settings under the: Avionics/<MODULE>/<UNIT_ID>/UHF_RADIO/SETTINGS.lua

This is required for instance if you want all the F16s to have different UHF / VHF radios from teh A10 for instance.

They can be generated the same way as in the A10 days -> prepare mission, set radios, exit back to editor, save, or by creating it outside the miz

As such the admin interface should use these settings for the A10 / F16s as appropriate for the MIZ verification, MDC build and output

F-14, TACAN range / bearing for navpoints

The INS on the F-14 can suffer from significant drift that can seriously affect your situational awareness around your own position and any calls coming in over the radio

It would be useful to have on the output MDC an range / brg to a given tacan station so that in the air we can easily cross check our own position from the TCN by tuning to the given tacan and comparing the values

e.g:

image

Add support for MGRS

It would be good to have support for MGRS in all locations:

  • Coordinate Dialog
  • Template

Package remains shown after setting yes -> no

  • Set package yes
  • Fill out package info
  • Set Package false
  • Package info in the output remains visible

Additionally, if package is yes, but no member info all blank, you get an empty row which looks ugly

Tabs per Airframe?

Is it possible to adapt this project to accommodate different air-frames?

I am thinking one Tab per air-frame and then with their own MDC layouts too. As some have different requirements than others

some misc. minor items

Hey Martin, Professor here. In this issue I'm reporting minor items in a combined manner, so that you are not flooded with issues. All items relate to the A-10C.

  • ground speed default (350 kts) is too high. recommend 280.
  • in the ordnance list, please adjust the remark about A-10CII exclusive ordnance to also include the AGM-65L
  • the new default for chaffs and flares are 240 / 240. Their sum must be less than or equal to 480.
  • the intraflight primary and secondary freqs are missing the preset indicators
  • the SA-19 RWR was changed from "S6" to "19"

Thanks a lot!

allow entering LSS codes on flight page

In the flight page, behind LSR and before squawk, add another column to allow for setting the laser spot search code. On the kneeboard, print it in the same place.

Figuring out which flight member uses which LSS code is sumarized in this table:
Screenshot 2020-11-13 232725

Please let me know if these information are not precise enough or unclear.

Facilitate MIDS for Hornets

Intraflight communications for Hornets take place on MIDS rather than conventional U/VHF frequencies. Facilitate the display of these in the kneeboard

24-hour time formats

I notice that at least for me I get 12-hour time formats. Would like to see that forced to 24-hr formats (or selectable)

132nd Tasking lookup

Add in a mechanism to lookup taskings based on squadron selected on entering mission ID

At the moment I'm redoing the data management side of the MDC (admin branch) - this will add a squadron selector on the data page

As part of that I will look at adding a squadron based lookup to aid in pre-populating flight members, Squawk, PRFs etc.

Double clicking any previously created waypoint shows outdated coords in "set from string" field

Steps to reproduce:

  1. For the A-10C, create two waypoints 1 and 2, each with "set from string" with different coordinates.
  2. After having created waypoint 2, double click on waypoint 1.

Result: All values in the coordinate section show the representation of waypoint 1. The "set from string" field shows the last used string, which is from waypoint one.

Expected result: Either show nothing in "set from string" (probably easiest), or show the string representation of the double-clicked coordinate.

Reasoning: For flying in any of the ranges I create a flightplan where each corner of the range is a waypoint, so I can see the range outline in the TAD. To create a closed polygon, I need 5 waypoints, where the first and last waypoint are identical. My go to procedure is creating the waypoints from string, and when I arrive at the 5th waypoint, I want to copy the 1st. After having used this field 4 times, I instinctively assume that I can copy waypoints like this. This leads to wrong coordinates in the flightplan.

Imgur gallery links

Its easy to accidentally add a imgur gallery link instead of image link

Look into supporting either addition and using it as appropriately

F16C: Distance column for Waypoints

Would it be possible to show the distance between the waypoints on the MDC? I realize real-estate is an issue, but considering the distance should be a max of 3 digits, I think it should fit. Will post reference picture on Discord.

This would allow pilots to check their WPs against another source before the full Alpha-check, as the distance should match up after inputting coordinates, and thus potentially save some time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.