NikolaiVChr / flightgear-saab-ja-37-viggen

Saab 37 Viggen for Flightgear flight simulator
http://wiki.flightgear.org/Saab_37_Viggen
GNU General Public License v2.0
27 stars 15 forks source link

AJS: Make the Rb05A guidance based on pilot input instead of calculated flight path #113

Closed vanosten closed 4 years ago

vanosten commented 4 years ago

Currently you need to lock a target with the radar and then shoot fire and forget. However, that is not how it is guided in real life.

NikolaiVChr commented 4 years ago

Yes but is not trivial to make, and will be next to impossible to get it to hit anything with pilot input in FG.

vanosten commented 4 years ago

Fpl AJS 37 .. del 2.pdf, page 86: with right hand use the mini-joystick to guide the weapon, with left left hand take the stick and fly the airplane.

Fpl AJS37 .. del 3.pdf, page 210: if missile guidance is done during the aircraft flying horisontal, then use autopilot for altitude. If it is done during a light dive, use autopilot for attitude.

vanosten commented 4 years ago

At around 14:02:14:12 in https://www.youtube.com/watch?v=RHVzkVwI68w a pilot can be seen firing a Rb05A and guiding it. also visible is the collimated light at the missile's back

NikolaiVChr commented 4 years ago

I checked this branch, its very neatly done.

However this: m.remote_yaw_path m.remote_pitch_path

Is not needed, right?

colingeniet commented 4 years ago

Merged, and slightly improved the performance to better match the graph in the Rb05 description in the AJ37 SFI part 2. Initial acceleration is much higher, for a launch at M0.75, maximum speed of M1.5 is reached after 5s. I made it a false 2-stage engine to simulate decrease in thrust.