Giter VIP home page Giter VIP logo

mig-21bis's People

Contributors

alexeijd avatar axelpaccalin avatar colingeniet avatar jmaverick16 avatar kokos345 avatar l0k1 avatar nikolaivchr avatar rudolf339 avatar swampmo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mig-21bis's Issues

Add radar view

Add a seperate view that focuses in on the radar screen.

Suggestion from discord chat by Sierra.

Switch MSL and DAMP modes for pipper movement

Upon further reading of the manual, it appears that the MSL-GYRO will completely disable the GYRO portion of the gunsight, leaving it centered (with respect to the angular setting).

Typo in gunsight algorithm

In the AFALCOS implementation, there is a typo in the definition of W2: line 152 in

        me.W2 = me.W2 + (-me.SL1 * me.SL3 + me.C7 * me.SL3) * me._getP() + 

-me.SL1 * me.SL3 should be -me.SL1 * me.SL2 instead.

Corresponding code from the original paper, just in case:
W2=W2+(-SL1*SL2+C7*SL3)*P+(1.-SL2**2)*Q-(SL2*SL3.C7*SL1 )*R

Autopilot needs retuning

Every autopilot function could use a nice retuning - they are sloppy after the multitude of FDM changes.

Create higher fidelity cockpit

Should include all instruments, and all switches should be clickable - with implementation happening as systems get added.

So far, hull has been reworked, cockpit layout has been reworked, and work on the front panel and gunsight is ongoing.

Inbound/Outbound switch behavior is wrong

Currently, the switch only works if set in the "OUTBOUND" position, and searches for another nearby NDB to switch to.

How it should work AFAIK:
If switch is set to outbound, and the channel is odd and not 9, and the gear is down: upon flying over the outer NDB marker with some degree of accuracy, the radio automatically switches to the channel indicated on the ARC dial (2,4,6 or 8) - the roman numeral I is for tuning slow (8 secs), and the II is for tuning fast (4 sec).

If switch is set to inbound, and the gear is down: the ADF is tuned to what is indicated on the knob.

Kh-66 nasal error

I have the following error when firing a Kh-66:

  269.56 [INFO]:nasal      multi-threading error:
  269.56 [INFO]:nasal      No such member: get_uBody
  269.56 [INFO]:nasal      /home/colin/flightgear/Aircraft/MiG-21bis/Nasal/guided-missiles.nas
  269.56 [INFO]:nasal      3515
  269.56 [INFO]:nasal      /home/colin/flightgear/Aircraft/MiG-21bis/Nasal/guided-missiles.nas
  269.56 [INFO]:nasal      2873
  269.56 [INFO]:nasal      /home/colin/flightgear/Aircraft/MiG-21bis/Nasal/guided-missiles.nas
  269.56 [INFO]:nasal      2106

If I did not mess up, my radar was in beam mode (on radar panel: left switch up, middle switch down, right switch up).
When firing with radar turned off, the error doesn't occur and the missile works correctly, but is of course unguided.

Single fire missile only works once

ripple fire works ok

single fire works on the 1st instance (doesn't matter which pylon is selected) but throws up this error after launching the 1st/hitting the target:

Nasal runtime error: non-objects have no members
at MiG-21bis/Nasal/payloads.nas, line 371

no more errors show in the logs, selecting ripple fire doesn't work either

Rewrite dead reckoner in JSBSim

Currently the dead reckoner is written using FG's native property rules, which run at frame rate. Switching from property rules to JSBSim will increase accuracy, especially on computers with low frame rate.

Rewrite gyro compass using JSBSim

Currently the gyro compass is written using FG's native property rules, which run at frame rate. Switching from property rules to JSBSim will increase accuracy, especially on computers with low frame rate.

Autopilot needs retuning

Every autopilot function could use a nice retuning - they are sloppy after the multitude of FDM changes.

Various

  • Drag is too low at sea level - almost supersonic is possible.
  • Yaw is... just... yeah.
  • RWR needs a good talkin' to.

Incorrect path case for `tacview.nas`

In MiG-21-set-common.xml, line 1739

<file>Aircraft/MIG-21bis/Nasal/tacview.nas</file>

should be

<file>Aircraft/MiG-21bis/Nasal/tacview.nas</file>

(incorrect case for the i in MiG).
Causes the file to fail to load, and a bunch of nasal errors in console, on case-sensitive file systems.

Missing model file 'tgtsphere.xml'

In Nasal/armament-locking.nas, line 200 loads a model which doesn't exist:

objModel.getNode("path",1).setValue("Aircraft/MiG-21bis/Models/tgtsphere.xml"); # this is the model to be loaded.

This generates a constant flow of Error in reading file : file not handled messages in the console.

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.