Jump to content

[1.9.x] Kramax Autopilot Continued: Course guidance and auto-land for spaceplanes


Recommended Posts

6 hours ago, Angleton said:

I hope this mod will be updated, I have a spaceplane stranded in orbit around Kerbin (launched before 1.8 update) :blush:

Then run a KSP 1.7.3 install.  After a new release drops, expect to wait a month before major mods are all upgraded.  Especially one with so many fundamental changes as 1.8.

@linuxgurugamer supports a lot of mods (about 200 I believe).  As he's said elsewhere, he's upgrading his infrastructure for this and doesn't expect to have any releases out until next week.

Edited by Jacke
Link to post
Share on other sites
14 hours ago, Jacke said:

Then run a KSP 1.7.3 install.  After a new release drops, expect to wait a month before major mods are all upgraded.  Especially one with so many fundamental changes as 1.8.

@linuxgurugamer supports a lot of mods (about 200 I believe).  As he's said elsewhere, he's upgrading his infrastructure for this and doesn't expect to have any releases out until next week.

It was not a reproach of any sort, I understand that the modders work for free and they don't owe us anything.  If it take a month to be updated, fine with me.

After each update, you always hope that your favorite mod will not be forgotten.

Link to post
Share on other sites
5 minutes ago, Angleton said:

It was not a reproach of any sort, I understand that the modders work for free and they don't owe us anything.  If it take a month to be updated, fine with me.

After each update, you always hope that your favorite mod will not be forgotten.

To be blunt, your post at the top of this page was an impolite interjection.  You join a conversation, you listen first.  On a written discussion board like these forums, you at least read the last page or 2 of posts.  If you had, you'd see the mod maintainer, @linuxgurugamer, had commented twice within the last month on a topic that had very little traffic.  That shows he's paying attention.  And if you wanted some idea when the mod was going to be upgraded, seeing that it hadn't been mentioned here, you could have asked in a manner that didn't imply you thought it was abandonned when you could have found ample indication it hadn't.

Link to post
Share on other sites
54 minutes ago, Jacke said:

To be blunt, your post at the top of this page was an impolite interjection.  You join a conversation, you listen first.  On a written discussion board like these forums, you at least read the last page or 2 of posts.  If you had, you'd see the mod maintainer, @linuxgurugamer, had commented twice within the last month on a topic that had very little traffic.  That shows he's paying attention.  And if you wanted some idea when the mod was going to be upgraded, seeing that it hadn't been mentioned here, you could have asked in a manner that didn't imply you thought it was abandonned when you could have found ample indication it hadn't.

English is not my mother tongue. If my post give the impression of an " impolite interjection" it was not my intention; it's probably because my English skills are limited (and because of those limited skills, I tend to write short straightforward sentences).

So, I'm sorry.

Link to post
Share on other sites
1 minute ago, Angleton said:

English is not my mother tongue. If my post give the impression of an " impolite interjection" it was not my intention; it's probably because my English skills are limited (and because of those limited skills, I tend to write short straightforward sentences).

So, I'm sorry.

That does help explain things.

With KSP, it helps to be patient after version upgrades for about a month.  There's many a mod I'd like to see upgraded (especially as it appears using any .dll from pre-1.8 is asking for trouble), but they'll be ready in not too long.

Link to post
Share on other sites
  • 2 weeks later...
  • 3 months later...
5 minutes ago, Dr. Jet said:

Desert runway flight plan, anyone? 

Here you go 

KramaxAutoPilotPlans
{
    Kerbin
    {
        FlightPlan
        {
            planet = Kerbin
            name = Desert Airfield 01
            description = Length: 1750 m, Heading: 1, Altitude: 822
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = -13.67189886
                    lon = -144.16756142
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -10.13567772
                    lon = -144.10349736
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -8.36756232
                    lon = -144.07202308
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = -7.41277894
                    lon = -144.05514931
                    alt = 2455
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = -7.05915530
                    lon = -144.04891882
                    alt = 1756
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = -6.59944444
                    lon = -144.04083333
                    alt = 847
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = -6.56408207
                    lon = -144.04021201
                    alt = 822
                    name = STOP
                }
            }
        }
        FlightPlan
        {
            planet = Kerbin
            name = Desert Airfield 18
            description = Length: 1750 m, Heading: 181, Altitude: 822
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = 0.62470738
                    lon = -143.91491098
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -2.91153688
                    lon = -143.97628974
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -4.67965800
                    lon = -144.00709461
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = -5.63444288
                    lon = -144.02379030
                    alt = 2455
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = -5.98806680
                    lon = -144.02998733
                    alt = 1756
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = -6.44777778
                    lon = -144.03805556
                    alt = 847
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = -6.48314016
                    lon = -144.03867678
                    alt = 822
                    name = STOP
                }
            }
        }
    }
}

Edit: I hope coordinates for runway did not changed from 1.4

Edited by banditsan
Link to post
Share on other sites
  • 1 month later...

Kramax is going nuts - Turns left and right full power rapidly. 

 

So i'm on ksp 1.8 and kramax worked well for a little while. Love this mod i always have issues landing my space planes so this is great. 

 

It has now gone nuts:

The Yaw control jumps left and right when using the navigation hold program as well as banking program

this means it's going full turn left and full turning right multiple times a second. It is not an issue with the PID controller as the values have not changed (and as an electrical and instrumentation engineer, it won't be too much to sort anyway - in addition to this changing the PID values doesn't change anything anyway. 

However, i am unsure as the cause of this. After installing a the version from KSP 1.2 this work for one flight. After making a change in the SPH and doing a second test flight. This KSP 1.2 version of Kramax experience the same problem.

 

For whatever reason Kramax is doing weird stuff it wouldn't normally do. with the yaw control. 

Link to post
Share on other sites

Doe this AP work with shuttle style craft that are not propelled on descent? If it is that would be great.

Link to post
Share on other sites

Love the mod.. But i find the g/s to be really flat when coasting a shuttle in. So ive been using the nav function which helps so much and i put a flag at the center line and sas to target. if i try to stick to the g/s profile its to flat.. unless im missing something. i know on an ILS in real life you have erroneous high and low g/s indications.. but im not sure this mod does that. anyhow.. was wondering if there is a way to adjust the way-point altitudes without digging through the scripting.. ill just do the math and draw a 3 degree line through all of them. as well i was wondering if its possible to build a T-Bar into your approaches like real RNAV approaches have so we can have a guided turn base to final from orbits other then 0

Otherwise this is great. 

Link to post
Share on other sites
  • 2 weeks later...

What kind of pid loops does Kramax use for pitch holding? Does it go stright from target pitch to control authority or from target picth to angular velocity then to control authority?

Edited by moar ssto
Link to post
Share on other sites
  • 4 weeks later...

Allow me to apologize up front if my question seems silly. Bear with me. I would like to create approaches for the runways in RSS and the accompanying Actual Sites: Airports mod. Granted, it would only be the ones I fly to when I fly there. At any rate, I followed the default flight plans to try my hand at an approach into Cape Canaveral. I entered only the stop and flare coordinates and loaded the flight plan into Kramax. The issue I am having is, it shows the distance to the stop as 43 km (the plane was parked there) but the distance to flare was something like 13,000+ km away. I suspect the issue is the coordinates I am pulling from Mechjeb are 5 digit after whereas the coordinates used in Kramax are 10. My question then is two parts. First, does it sound like my issue is not being precise enough when entering the coordinates? Second, how can I pull such precise coordinates; the only thing I know of is Mechjeb?

Edited by DKShang
Link to post
Share on other sites
  • 3 months later...

I would really like to see a few modifications made to this mod.  

 

First: can you have it check the dynamic pressure on the control surfaces and adjust the authority limit accordingly?  This will help fix some of the twitchy behavior or lack of control caused by air density and speed.

 

Second: from what I am seeing if it does not detect any landing gear it does not try to extend/retract.  If this is true, could we get a button on the interface to select if the AP should try to extend / retract gear rather than use this automatic detection?  I have some landing gear from a mod and Kramax does not try to extend or retract them.  I can only assume because it does not auto-detect them for some reason.  And this would also allow us to still trigger the Gear Switch even if we have fixed gear or no gear.  I use the gear switch to control the flaps on my aircraft, and it would be nice to have it activate the flaps even if there are no retracting gear on the craft.

 

Third: can we get a toggle to select if the AP will try to use SAS/RCS to assist in control?  There are many times that I have found that this would be a big help.

Link to post
Share on other sites
  • 4 weeks later...

Love this mod and my first post. 

I recently installed the Kerbin Side Remastered mod and was looking forward to flying to the bases, but I discovered there were no flight plans. Thanks to the script by @ss8913 I've been busy testing out building my own flight plans. 

So far I've got two working...

Jeb's Junkyard and Spaceship Parts;

KramaxAutoPilotPlans
{
    Kerbin
    {
        FlightPlan
        {
            planet = Kerbin
            name = JEB A
            description = Jeb's Junkyard and Spaceship Parts
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = -11.82577548
                    lon = -81.94431798
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -2.48591712
                    lon = -79.93737517
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = 2.18583891
                    lon = -78.95121725
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = 4.70840576
                    lon = -78.41697230
                    alt = 2391
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = 5.64259756
                    lon = -78.21822966
                    alt = 1692
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = 6.85694400
                    lon = -77.95888900
                    alt = 783
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = 6.95034980
                    lon = -77.93888792
                    alt = 758
                    name = STOP
                }
            }
        }
        FlightPlan
        {
            planet = Kerbin
            name = JEB B
            description = Jeb's Junkyard and Spaceship Parts
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = 25.70429823
                    lon = -73.58596145
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = 16.39208517
                    lon = -75.85542613
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = 11.72677413
                    lon = -76.90308663
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = 9.20587164
                    lon = -77.45333849
                    alt = 2393
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = 8.27198251
                    lon = -77.65503568
                    alt = 1694
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = 7.05777800
                    lon = -77.91583300
                    alt = 785
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = 6.96437136
                    lon = -77.93583467
                    alt = 760
                    name = STOP
                }
            }
        }
    }
}

Kola Island

KramaxAutoPilotPlans
{
    Kerbin
    {
        FlightPlan
        {
            planet = Kerbin
            name = KOLA 20
            description = Kola Island ILS 20
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = 14.30224292
                    lon = -66.73715306
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = 5.13291357
                    lon = -69.44605224
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = 0.54284990
                    lon = -70.76277690
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = -1.93605758
                    lon = -71.47189842
                    alt = 1655
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = -2.85411639
                    lon = -71.73492121
                    alt = 956
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = -4.04750000
                    lon = -72.07750000
                    alt = 47
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = -4.13929330
                    lon = -72.10389026
                    alt = 22
                    name = STOP
                }
            }
        }
        FlightPlan
        {
            planet = Kerbin
            name = KOLA 02
            description = Kola Island ILS 02
            WayPoints
            {
                WayPoint
                {
                    Vertical = true
                    lat = -22.58557559
                    lon = -77.74716109
                    alt = 12000
                    name = MAXKY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -13.44507045
                    lon = -74.83646264
                    alt = 10000
                    name = HIKEY
                }
                WayPoint
                {
                    Vertical = true
                    lat = -8.86175175
                    lon = -73.47221676
                    alt = 6500
                    name = LOKEY
                }
                WayPoint
                {
                    Vertical = true
                    IAF = true
                    lat = -6.38458762
                    lon = -72.75070031
                    alt = 1658
                    name = IAF
                }
                WayPoint
                {
                    Vertical = true
                    FAF = true
                    lat = -5.46684590
                    lon = -72.48538425
                    alt = 959
                    name = FAF
                }
                WayPoint
                {
                    Vertical = true
                    RW = true
                    lat = -4.27361100
                    lon = -72.14166700
                    alt = 50
                    name = FLARE
                }
                WayPoint
                {
                    Vertical = true
                    Stop = true
                    lat = -4.18181682
                    lon = -72.11527532
                    alt = 25
                    name = STOP
                }
            }
        }
    }
}

More to come.

Edited by Caerfinon
spelling
Link to post
Share on other sites

Rather than post the flight plans one by one, I've created a zip archive on Google. I will put all future updates there;

https://drive.google.com/file/d/18DyewPW_RFDsTJ-RaPf1V3B0CQiJ-HPY/view?usp=sharing

Currently it contains the following airports;

-Baikerbanur Inland Kerbal Space Center
-Cape Kerman Space Center
-Desert Airfield
-Dununda Airport
-Hazard Shallows Naval Air Station
-Jeb's Junkyard and Spaceship Parts
-Kojave Sands Launch Facility
-Kola Island Naval Air Station
-Nye Island Field
-Round Range Airfield

Edit: New airports added 2020/10/29

-Harvester Airfield
-Kamberwick Green Airfield
-Kerman Atoll Launch Facility
-Kermundsen Research Station
-Meeda Naval Air Station
-Polar Research Alpha
-Sandy Island Naval Air Station
-South Field Airfield
-South Lake Airfield
-Top Secret Area 15
-Uberdam Airfield

 

 

Edited by Caerfinon
Additional airports added to file
Link to post
Share on other sites
  • 4 weeks later...
  • 2 months later...
On 11/14/2020 at 12:45 AM, Caerfinon said:

I've recently merged all of flight plans into a new "Give Airplanes Purpose" mod I'm working on.

 

Thanks!!

Edited by papasid
Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...