Commit Graph

409 Commits

Author SHA1 Message Date
Brandon Danyluk
038c82a489 better JDAM simulation
Attack heading and impact angle now are followed better
2021-06-11 20:37:36 -06:00
Brandon Danyluk
8142bb069b remove TERCOM guidance 2021-06-11 18:44:02 -06:00
Brandon Danyluk
4308d33c50 remove testing constants 2021-06-06 20:28:39 -06:00
Brandon Danyluk
7cf29ba715 work on parsing heightmap 2021-06-01 14:13:45 -06:00
Brandon Danyluk
e6fcd110d2 add TERCOM state defines 2021-05-24 21:53:19 -06:00
Brandon Danyluk
597e188b9a Merge branch 'missileDynamics' of https://github.com/TheCandianVendingMachine/ACE3 into missileDynamics 2021-05-23 17:38:05 -06:00
Brandon Danyluk
f89bf62242 progress update: tercom now flies to acquisition basket 2021-05-23 17:38:00 -06:00
PabstMirror
9122535daa Fix tabs and manpad UBC 2021-05-23 16:38:45 -05:00
Brandon Danyluk
f7bd523221 Update doppler seeker to allow the tracking and killing of projectiles 2021-05-18 03:44:05 -06:00
Brandon Danyluk
a25cf7031b Optimise iron dome 2021-05-18 02:23:52 -06:00
Brandon Danyluk
980c3d0546 Add Iron Dome interceptor API 2021-05-18 00:32:55 -06:00
Brandon Danyluk
ef529d286f tweak HOT guidance params 2021-05-08 03:00:51 -06:00
Brandon Danyluk
175652456b add the ability to see a light trail 2021-05-08 02:49:16 -06:00
Brandon Danyluk
5315b11177 add MCLOS guidance 2021-05-08 02:49:07 -06:00
Brandon Danyluk
20a3277ac8 init commit 9m14 2021-05-06 15:01:50 -06:00
Brandon Danyluk
80b2595abb tabs -> spaces again 2021-05-02 01:40:23 -06:00
Brandon Danyluk
f45ee879ac localise missile guidance 2021-05-02 00:34:45 -06:00
Brandon Danyluk
c0e623af9b fix IR tracker losing lock immediately due to being blocked by launcher 2021-05-01 23:58:15 -06:00
Brandon Danyluk
89e64dfcdc tabs -> spaces 2021-05-01 23:04:08 -06:00
Brandon Danyluk
f3bea7bb30 change how IR seeker performs
The angle check is better now. Relative velocites guarenteed
2021-05-01 22:58:11 -06:00
Brandon Danyluk
b4e5a29119 Add hellfire mid course guidance 2021-05-01 21:42:49 -06:00
Brandon Danyluk
edc8250be2 fix missing semicolons 2021-05-01 21:36:20 -06:00
Brandon Danyluk
de05c68f99 Process all navigation onFired. Send the correct array to function 2021-05-01 20:55:26 -06:00
Brandon Danyluk
197c1a7cae Add new navigation profile. Tweak javelin mid-course guidance 2021-05-01 20:34:41 -06:00
Brandon Danyluk
f5b316176c Add paremter to allow weathervaning
Weapons usually tend toward the velocity vector due to aerodynamics - calculate side slip and use calculation to do this
2021-05-01 20:19:22 -06:00
Brandon Danyluk
73b059859c fix all script components 2021-04-21 15:58:39 -06:00
Brandon Danyluk
6cfc0754d8 Add action to get into jdam settings 2021-04-21 15:53:52 -06:00
Brandon Danyluk
a057768e7f remove debugh print 2021-04-21 15:03:49 -06:00
Brandon Danyluk
675b07d2ed Add all ground based missiles. Tweak AIM-9 flare angle 2021-04-21 13:41:23 -06:00
Brandon Danyluk
a91b3aa1c9 Add long range SAMs 2021-04-21 01:41:56 -06:00
Brandon Danyluk
6b3be24be7 Add Vikhr ATGM 2021-04-21 00:52:55 -06:00
Brandon Danyluk
ba2eb48a43 update todo 2021-04-21 00:24:39 -06:00
Brandon Danyluk
afbb1f66c0 update todo 2021-04-21 00:24:15 -06:00
Brandon Danyluk
19dcf00aff Fix NLAW and PLOS
The missile pitches up due to initial angle stuff. I don't know if this is behaviour we want to fix or not?
2021-04-21 00:23:21 -06:00
Brandon Danyluk
9d26335271 Fix SACLOS missiles 2021-04-20 18:11:44 -06:00
Brandon Danyluk
aea24c6de4 Better attack angle calculation. Does not get exactly right, but works for all cases.
Need to implement a PID controller navigation type to get a correct attack angle
2021-04-20 15:31:38 -06:00
Brandon Danyluk
438cb8b90f tweak JDAM guidance 2021-04-20 11:10:29 -06:00
Brandon Danyluk
12bcb95e93 fix gimbal lock via rotating with quaternions 2021-04-19 21:31:15 -06:00
Brandon Danyluk
1cb84087c3 update todo 2021-04-19 01:41:48 -06:00
Brandon Danyluk
44b7b874fd Add SDB and JDAM 2021-04-19 01:27:49 -06:00
Brandon Danyluk
3878c67c87 add TOO TGP 2021-04-18 23:05:56 -06:00
Brandon Danyluk
e1cdbb777f Add GPS selector dialog for GPS munitions 2021-04-18 03:30:10 -06:00
Brandon Danyluk
b18508b8f3 update todo for ground based weapons 2021-04-17 01:27:19 -06:00
Brandon Danyluk
23cd1ef268 update todo 2021-04-17 01:18:52 -06:00
Brandon Danyluk
f942231358 add R-73/4 2021-04-17 00:40:38 -06:00
Brandon Danyluk
265670cafa Tweak flight parameters. Add R-77 2021-04-16 19:50:00 -06:00
Brandon Danyluk
fe1e6d45cb update dragon to not use new guidance 2021-04-16 19:02:03 -06:00
Brandon Danyluk
8f03b5be9e Change AIM-9 agility 2021-04-16 16:18:28 -06:00
Brandon Danyluk
1b000d658a Allow for debug info to be displayed via variable 2021-04-16 15:43:31 -06:00
Brandon Danyluk
abc5babb50 Implement optical mavericks 2021-04-16 00:33:38 -06:00
Brandon Danyluk
0848d74aeb add config entries 2021-04-15 22:51:03 -06:00
Brandon Danyluk
26dee9f2e1 enable chaff decoy 2021-04-15 22:43:41 -06:00
Brandon Danyluk
8318b60982 Improve radar simulation 2021-04-15 22:29:02 -06:00
Brandon Danyluk
d0775283e3 implement course state machine 2021-04-14 02:29:27 -06:00
Brandon Danyluk
a485399c5e update todo 2021-04-14 00:25:15 -06:00
Brandon Danyluk
8d52a2eb16 todo: fix nlaw 2021-04-14 00:24:39 -06:00
Brandon Danyluk
fe2fedd1e8 more tweaks 2021-04-13 23:14:34 -06:00
Brandon Danyluk
c714fb526b small tweaks 2021-04-13 23:12:47 -06:00
Brandon Danyluk
e2c8ddfd3b IR seeker and AIM-9M 2021-04-13 22:45:18 -06:00
Brandon Danyluk
555f0c8921 SALH: only update seeker pos if it within small error 2021-04-13 20:51:21 -06:00
Brandon Danyluk
af2b9a280a multiple changes 2021-04-13 20:31:10 -06:00
Brandon Danyluk
a2d2dd0df9 chane navigation profiles to go for attack direction instead of target 2021-04-13 20:05:28 -06:00
Brandon Danyluk
d34201ed4e remove uneeded sets 2021-04-13 17:18:42 -06:00
Brandon Danyluk
e1436d6ece Change out missile types to reflect navigation scheme they use IRL 2021-04-13 16:27:33 -06:00
Brandon Danyluk
e9d474c995 remove placeholder 2021-04-13 16:21:25 -06:00
Brandon Danyluk
f96abc0b89 Fix bug with ZEM 2021-04-13 16:21:15 -06:00
Brandon Danyluk
1873467deb Add zero-effort miss. Seeker now feeds data to navigation 2021-04-13 16:10:39 -06:00
Brandon Danyluk
a93eb6433d implement augmented proportional navigation 2021-04-13 14:09:36 -06:00
Brandon Danyluk
187c6d35c3 Implement some generic modes of flight 2021-04-12 23:14:22 -06:00
Brandon Danyluk
789ae1cbe4 Add AIM-120 with ARH. Change AHR to not always seek all targets 2021-04-12 22:37:41 -06:00
Brandon Danyluk
34af87bb07 update todo with list of weapons 2021-04-12 18:04:48 -06:00
Brandon Danyluk
0d0019b272 add KAB-250 lgb 2021-04-12 18:04:40 -06:00
Brandon Danyluk
8948e8ac77 add camera tool to observe projectile in flight 2021-04-12 17:03:21 -06:00
Brandon Danyluk
e54e6ec254 Fix hellfire firing without lock. Change LOS navigation type 2021-04-12 16:44:59 -06:00
Brandon Danyluk
fca022a401 scale deltatime in accordance to acctime. Change velocity so that it isnt always pointing out the nose. Dont scale Acmd as much 2021-04-12 15:18:01 -06:00
Brandon Danyluk
46abb93cb8 add GBU-12 to missile guidance 2021-04-12 02:51:02 -06:00
Brandon Danyluk
35c48c8915 fix dagr 2021-04-12 01:43:35 -06:00
Brandon Danyluk
5f45ad838d fix maverick 2021-04-12 01:12:24 -06:00
Brandon Danyluk
023fed45cb fix hellfire 2021-04-12 01:11:21 -06:00
Brandon Danyluk
3e50605b37 update todo 2021-04-12 01:10:36 -06:00
Brandon Danyluk
22d3ee838f Fix SALH
With Pro-nav the irratic behaviour of the laser caused the missile to over correct, so we average the position and use that running average for the target
2021-04-12 01:09:12 -06:00
Brandon Danyluk
4124a317f2 Update todo 2021-04-12 00:16:44 -06:00
Brandon Danyluk
4f8ea33e36 Fix NLAW 2021-04-12 00:16:10 -06:00
Brandon Danyluk
cf40622b52 Fix metis and HOT to use new scheme 2021-04-12 00:12:16 -06:00
Brandon Danyluk
bac6a0b6dd implement LOS guidance, rename previous LOS guidance 2021-04-11 23:50:03 -06:00
Brandon Danyluk
224a243713 implement LOS guidance and Bang-Bang control 2021-04-11 17:58:44 -06:00
Brandon Danyluk
450d1a2a09 allow for bang bang guidance 2021-04-10 19:02:31 -06:00
Brandon Danyluk
0af82a56f4 allow for different types of navigation 2021-04-10 18:49:47 -06:00
Brandon Danyluk
4d5d395f61 adjust hellfire attack profile to work with pro-nav 2021-04-10 18:32:55 -06:00
Brandon Danyluk
5cd61d1301 set default navigation type 2021-04-10 13:16:08 -06:00
Brandon Danyluk
fd8a55addf make navigation a modifyable system 2021-04-10 13:11:20 -06:00
Brandon Danyluk
fa064f9287 small adjustents 2021-04-10 11:27:41 -06:00
Brandon Danyluk
ea0bb8fa37 pro-nav works flawlessly 2021-04-10 11:15:27 -06:00
Brandon Danyluk
dee326606c pn crap 2021-04-06 21:01:07 -06:00
Brandon Danyluk
53ff3bb1f5 proportional navigation now "works" 2021-04-03 21:04:16 -06:00
Brandon Danyluk
7179a91c77 small changes 2021-04-01 20:12:49 -06:00
Brandon Danyluk
17175db48e v2 of proporitonal nav 2021-03-31 17:16:00 -06:00
Brandon Danyluk
365860dd09 attempt at missile dynamics 2021-03-26 23:15:29 -06:00
Brandon Danyluk
2fd4f70c5b Add debug info 2021-03-18 23:43:07 -06:00
Brandon Danyluk
51542f9053 Basic proportional navigation and PID controller 2021-03-18 23:28:55 -06:00