Board index FlightGear Development Aircraft

GNU/GPL MiG-21 development

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: GNU/GPL MiG-21 development

Postby pjedvaj » Thu Jan 31, 2019 7:52 pm

You made me install FG again. Great work as usual Skydive. :wink:
Retired
User avatar
pjedvaj
 
Posts: 682
Joined: Thu Mar 18, 2010 8:32 pm

Re: GNU/GPL MiG-21 development

Postby Skydive » Fri Feb 08, 2019 11:01 pm

pjedvaj wrote in Thu Jan 31, 2019 7:52 pm:You made me install FG again. Great work as usual Skydive. :wink:


welcome back. hope you liked it
User avatar
Skydive
 
Posts: 11
Joined: Thu Mar 02, 2017 1:45 am

Re: GNU/GPL MiG-21 development

Postby Skydive » Mon Feb 11, 2019 10:49 pm

I wonder If anybody could help me make radar page work on the mfd?
I am getting lost in the number of files required for that and making the ends meet. Any help would be appreciated.
User avatar
Skydive
 
Posts: 11
Joined: Thu Mar 02, 2017 1:45 am

Re: GNU/GPL MiG-21 development

Postby PINTO » Wed Apr 17, 2019 10:40 pm

Another update. I may be forgetting some stuff, sorry.

- Lots of little bug fixes.
- A new Draken International livery thanks to Gary over at FGUK!
- RWR limits increased from +/-20 degrees to +/-45.
- Almost all weapons have appropriate rails.
- Hydraulic and electric systems have been rewritten to factor in loads applied.
- Radar warmup now required, or the radar will burn out.
- Leaving the gear handle in the up position drains the pneumatic system, resulting in a loss of braking power and inability to deploy the chute.
- Flaps have been tied into the hydraulic system, and will automatically retract based on wind pressure.
- Blown flaps/BLC has been integrated into the FDM. Keep the N1 up (at least 80%) during landing or the blown flaps will not work, and you will lose a lot of lift. Switch is on the left side of the cockpit.
- Ground control intercept is possible with the OPRF GCI asset. It is possible to use the R-27's fire-without-lock feature to combat other aircraft with the radar off using this.
- There is a csv file in the repo for looking up pipper angles to assist in dropping bombs semi-accurately. This data is formatted roughly the same as the real manual that MiG-21 pilots would use, however the data has been pulled out of FG's submodel dropping code.

- Its possible to load radio freqs from a text file. Format for the text file is:
Code: Select all
# this is a comment
nav
108.1
108.2

adf
1234
380

ils
109.9
110.2

comm
123.45
122.5


The parser for these is incredibly simplistic. Any deviation from this format will probably break things.

I'm rewriting how I handle interactions with other aircraft, which will include a rewrite of the radar logic (which will include manual antenna pointing and gimbal limits, weather effects, possibly jamming, targets hiding in ground clutter, sidelobe interference, and other stuff probably in addition to whats already there), better IFF code, better RWR code, and how submodel impact detection works.

In addition, I'm trying to add one new feature a day, however minor that feature is.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby Octal450 » Wed Apr 17, 2019 10:42 pm

Good work pinto! looking forward to trying.

Kind Regards,
Josh
What I do: Flight Dynamics, Systems, Canvas Displays, Autoflight, FlyByWire, Cockpit Animations
Aircraft I currently develop: MD-11, A320-family, Secret

My GitHub|MD-11 and ITAF Development Discord|Airbus Development Discord
User avatar
Octal450
 
Posts: 4541
Joined: Tue Oct 06, 2015 12:51 pm
Callsign: WTF411
Version: next
OS: Windows 10 x64

Re: GNU/GPL MiG-21 development

Postby N-SCOT » Thu May 30, 2019 11:32 am

Seeing that the MiG-21 is an active project, could I ask for a low poly static model to be generated for scenery additions?
Preferably something with a modest texture map (but I'll take what I can get!)

I'd like one for my ongoing KLAL build, as well as having something generally available for those folks developing airfields where this might be used.

thanks much!

G
Gary Brown, aka N-SCOT
Favorite Aircraft: Military
Favorite FG activity: Livery generation
N-SCOT
 
Posts: 175
Joined: Sun Apr 19, 2009 2:17 pm
Location: Gainesville, Florida
Callsign: N-SCOT
Version: 10.2.2
OS: OSX High Sierra

Re: GNU/GPL MiG-21 development

Postby enrogue » Thu May 30, 2019 12:30 pm

There is a lower poly AI model of the MiG-21 in fgdata with a single file texture map - I believe Richard did it - could this be used?
User avatar
enrogue
 
Posts: 232
Joined: Mon May 19, 2014 6:40 pm
Location: London (UK)
Callsign: enrogue
OS: OS X, Ubuntu

Re: GNU/GPL MiG-21 development

Postby PINTO » Sun Sep 08, 2019 2:55 am

Because it’s been a while, here’s an update.

-Headshake is now implemented for various conditions such as compressor stall and takeoff.

-Hydraulics has been rewritten for the final time, and stuff is getting plugged in. Very happy with it.

-Gunsight canvas has been rewritten to be mil-accurate.

-RWR is now MUCH more complex and accurate, with each individual sensor being managed, and beep sound added with volume knob.

-Speedbrake aero effects more complex.

-Many bugfixes and usability tweaks, including ILS autopilot, Kh-66, and more.

Currently working on finishing the hydraulic simulation and fixing the broken parts of the attitude indicator.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby PINTO » Tue Sep 24, 2019 6:40 pm

vanosten has taken it upon himself to update the wiki page! It is now much more complete and reflects the current state of the MiG-21bis. Link is at http://wiki.flightgear.org/Mikoyan-Gurevich_MiG-21

Due to the increasing complexity, I've begun making some tutorial videos. You can find them at: https://www.youtube.com/playlist?list=PL6h2ElIuID9wdPo3XBk2h1evG0xYTabHy

There is also a development chat server on Discord at http://discord.gg/QtSakhW

As a development update, hydraulics are nearing feature completeness.

EDIT: to add that if N1 is greater than N2 by a certain amount, it will now cause an engine surge. Be mindful of your throttle control.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby Octal450 » Wed Sep 25, 2019 12:50 am

Great work Pinto!

Kind Regards,
Josh
What I do: Flight Dynamics, Systems, Canvas Displays, Autoflight, FlyByWire, Cockpit Animations
Aircraft I currently develop: MD-11, A320-family, Secret

My GitHub|MD-11 and ITAF Development Discord|Airbus Development Discord
User avatar
Octal450
 
Posts: 4541
Joined: Tue Oct 06, 2015 12:51 pm
Callsign: WTF411
Version: next
OS: Windows 10 x64

Re: GNU/GPL MiG-21 development

Postby PINTO » Sun Oct 13, 2019 8:43 am

Another update:

Hydraulics is done, except for the antisurge doors:
- Jet nozzle position relies on hydraulics.
- Flaps, gear, aileron, stabilizer boosters, and speedbrakes as well.

Navigation has been nearly completed:
- Gyros are now fully simulated.
- The flight director now works (ish).
- The radios now must be powered on/off.

Taxiing is now more realistic:
- Brakes now respect the pneumatic situation always.
- The rudder no longer turns the front nosewheel, which is now castering. To turn, apply rudder and brakes at the same time. (thanks to Rudolf for some code and inspiration here!)
- You can enable/disable the front nosewheel brake with the lever to the left of the gunsight.

Payloads:
- To handle more stores than the regular equipment dialog can sanely display, a new store selection dialog has been created.
Image

- P-100 practice bombs have been added.
Image


A gif of Rudolf during some bombing practice:
Image
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby PINTO » Wed Mar 11, 2020 8:15 pm

Work has slowed moderately of late, just due to time issues, real life workloads, and working on a couple other projects (both FG and non-FG stuff). My personal deadline of starting on the Croatian variant obviously didn't pan out.

That said, there've been a couple updates.
- IFF has been implemented, and is compatible with the F-16
- Callsigns will no longer show on the radar with the implementation of IFF
- The trim power switch is now required for trim
- All warning lights, including the master caution, are now implemented
- the BETAB-500ShP runway denial bomb has been implemented.

Image]

Image

The next projects are going to be, in no specific order
- continuing to implement cockpit switches
- minor 3D updates
- the codebase desperately needs a good cleaning
- possibly a bombing assistant add on to help with training.

My new deadline for beginning the Croatian variant is July 1.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby bugman » Fri Apr 10, 2020 6:59 am

@Pinto:. Are you maintaining the FGAddon version? The MiG-21bs wiki page is confusing. If there are two separate aircraft, there should be two separate wiki articles. Otherwise the link to the git repository should be in the aircraft Infobox, and all text about git development and different versions could be removed.

Regards,
Edward
bugman
Moderator
 
Posts: 1774
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: GNU/GPL MiG-21 development

Postby PINTO » Fri Apr 10, 2020 4:13 pm

No, I brought it up to the mailing list but was met with some pushback, so I decided not to pursue it until I've hit version 1.0. If someone else wants to merge mine in with FGAddon, they can feel free.
Feel free to do whatever you need to with the wiki. My version is far more advanced than what is available in FGAddon, however.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 957
Joined: Wed Oct 21, 2015 6:28 pm
Callsign: pinto
Version: 2016.3.0
OS: Win10

Re: GNU/GPL MiG-21 development

Postby bugman » Fri Apr 10, 2020 6:54 pm

You are well known around here and were on the verge of been given FGAddon commit access. Just have a look at the mailing list thread:


James asked for your SourceForge account name (required for commit access to all parts of FlightGear), and the last sentence sent was by yourself:

I will let you all know when I have a Sourceforge account set up, thank you!


If you were put off by Ludovic's message, please don't be. There are multiple development strategies that I have documented in the FGAddon wiki article, and some of which I have not. I suggest just writing to the list with your SourceForge ID, and you'll be up and committing in no time.

Regards,
Edward
bugman
Moderator
 
Posts: 1774
Joined: Thu Mar 19, 2015 9:01 am
Version: next

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: Google [Bot], Knüppelrührer and 2 guests