Jump to content

[1.8.0-1.12.5] AtmosphereAutopilot 1.6.1


Boris-Barboris

Recommended Posts

On 01/09/2017 at 1:49 PM, Boris-Barboris said:

I understand what you mean, but you should avoid this word like wildfire.

Optimal? I don't understand why, there is always an optimal angle of attack for reentry just knowing what it is is the hard part and it will change with altitude and speed but generally you can just get away with pitching as hard as you can before you lose control for the early part while your high up and at basically orbital speeds. or did you mean.

A optimal AOA for reentry would be one that slows you down as fast as possible while also avoiding getting burned up and not pulling excessive G's, although you might also want to extend your range so a lower angle of attack might be called so I suppose you could mean that there is no optimal AOA for every circumstance because it depends on the circumstance?

Link to comment
Share on other sites

1 hour ago, etheoma said:

A optimal AOA for reentry would be one that slows you down as fast as possible while also avoiding getting burned up and not pulling excessive G's, although you might also want to extend your range so a lower angle of attack might be called so I suppose you could mean that there is no optimal AOA for every circumstance because it depends on the circumstance?

Such AOA is good. Optimal as a word has another meaning. It means you have a mathematical function at hand and you are ready to prove that that function under behaviour you propose is minimal (maximal), and you have a proof that no behavour better exists. Those are very, very tough implications.

All I'm saying: you don't need to enter a number numerically in the field, because the orientation you strapped with keyboard keys in FbW mode is just as good enough, as that magic number you would enter in the textbox (Though there are people on this forum, who have physical problems with frequent tapping and prefer mouse input, which can be provided easily with textbox and +- buttons).

Edited by Boris-Barboris
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 4 weeks later...

Does anyone have any ideas or suggestions how to adapt AA for usage with rotors (AirplanesPlus mod in this case)? It's constantly overcorrecting, so it's just wobbling away. I've tried fiddling around with some of the numbers in the pitch (and yaw) trainer, but even for big changes (factors of 2-10-100), I can't tell much of a difference. It 'feels' a little bit better, but it's still horribly wobbly (for a helicopter with additional propellers a la Eurocopter X3, with adjusted RPM of the main rotor so that at full throttle, it should hold the current height, it's going from an AoA of 3 to -3 and back in about a second most of the time, mostly pitch, but sometimes also yaw).

Edited by Phelan
Link to comment
Share on other sites

29 minutes ago, Boris-Barboris said:

Ok, show me the pic of the plane and in-flight picture while oscillating with FlightModel, Pitch_ang_vel and AoA controller windows open.

mkqc0.jpg2mhc321.jpg

(http://de.tinypic.com/r/mkqc0/9 and http://de.tinypic.com/r/2mhc321/9 for the full pics)

 

[edit:] Ah, my mistake, you meant pitch ang vel, not pitch and acc, one moment :)]

Here:

29zalbd.png

(http://de.tinypic.com/r/29zalbd/9)

Edited by Phelan
Link to comment
Share on other sites

@Phelan 

1. Try switching max AoA inside pitch ang vel controller back to 15-20. Guys, AA will fail on small values, 4-5 is reasonable minimum for very capritious rockets. Anything flying should have 15+ in my opinion.

2. reducing cubic_Kp on AoA controller may tame it down.

3. Strength_mult of Cruse flight controller in advanced options can be reduced, but i think the first point is the most important.

Edited by Boris-Barboris
Link to comment
Share on other sites

11 hours ago, Boris-Barboris said:

@Phelan 

1. Try switching max AoA inside pitch ang vel controller back to 15-20. Guys, AA will fail on small values, 4-5 is reasonable minimum for very capritious rockets. Anything flying should have 15+ in my opinion.

2. reducing cubic_Kp on AoA controller may tame it down.

3. Strength_mult of Cruse flight controller in advanced options can be reduced, but i think the first point is the most important.

Well, (2) and (3) don't help one bit, there is no noticeable change whatsoever. And reducing the AoA to 1-2 actually does help, but only for a few moments, it pretty quickly oscillates to the "usual" 3-4 degree AoA again. Setting it to 15-20 doesn't have any effect whatsoever after that (nor of course if I start with that setting).

Ah well, it still 'works' for brute-forcing my way through the atmosphere without having to regularly adjust the heading on MechJeb's surface navigation tool, it's just ugly to look at (luckily, Kerbals don't get motion sick :D). Thank for trying to help in any case  :)

Link to comment
Share on other sites

You might have even better luck with TCA mod for helicopters and other VTOLs. Personaly I like to mess around with kOS scripts. My own kOS scripts are not even close to features that AA, TCA or pilot assistant provide, but it provides some fun while developing it and always learn some tiny piece of something new whenever is need to upgrade of existing scripts.

Link to comment
Share on other sites

1 hour ago, FlyingTexan said:

Liked the idea of this mod but threw it in and couldn't figure out how to implement it. Brought up the menus but browsed the documentation and seems very convoluted. 

Push P to engage the Master Switch; it'll kick you into Fly-By-Wire mode. Stick between the Standard Fly-By-Wire (for manual control) and the Cruise Control. You can use the Cruise Control GUI to set speed, altitude and course direction, which is handy for those survey missions halfway across Kerbin. I've found Fly-by-wire mode to be a good thing to have on during docking maneuvers as well.

FWIW, just that tiny little piece of the mod is what makes it so totally worth it. As for the rest of it, well...I'm in the same boat. I need to RTFM one of these days, see if I can't figure out how to keep my planes at a 40 degree AoA through re-entry without having to adjust it every now and again.

Link to comment
Share on other sites

Just curious, does dramatically altering the way a plane flies (e.g. detaching something big) affect how well AA controls things? I have a X-1-based recreation that is launched from a B-29-based launcher, and while the B-29 + X-1 flies fine, when I drop the B-29 AA tends to send the X-1 into a spiral. Is this expected?

Link to comment
Share on other sites

@awang

1). Yes, big airframe changes break the model and usually should result in a couple of seconds of spasms.
2). AA only controls the vessels on wich you manually pressed master switch. If you're connected and flying under AA, I don't think it's possible to make AA actually be activated on both crafts right after separation. It's either B-29 under AA, or X-1 - depends on wich one owned the root part, or, maybe, the owner of "Control from here" part.

Edited by Boris-Barboris
Link to comment
Share on other sites

Ah, that would explain that behavior. Is there a way to mitigate this? Fly using stock SAS for a while, then switch to AA? Or maybe "reset" AA somehow (if there even is such a functionality) to try to get it to "forget" it was flying a very different craft a few seconds earlier (if that even makes sense)? Something else?

Luckily, I'm not too worried about having AA active on both craft, since the B-29 doesn't seem to be nearly as twitchy/unstable as the X-1 after separation. The B-29 really only needs to get to the ground and land, too, while I'd prefer the X-1 be more controllable since there's less margin for reaching altitude/speed records.

Link to comment
Share on other sites

6 hours ago, awang said:

Is there a way to mitigate this?

No, not really. Reset would behave just the same: spasms are normal when first starting AA on recently-spawned vessel.

6 hours ago, awang said:

Fly using stock SAS for a while, then switch to AA?

This will probably work, but it's easier to just try instead of guessing. My advice would be to make X-1 stable enough for it to fly OK for 5-10 of seconds without any control aid, and undocking while controlling X-1, so you don't have to manually switch vessels.

Link to comment
Share on other sites

11 hours ago, Boris-Barboris said:

No, not really. Reset would behave just the same: spasms are normal when first starting AA on recently-spawned vessel.

Ah, this makes sense. 

11 hours ago, Boris-Barboris said:

This will probably work, but it's easier to just try instead of guessing. My advice would be to make X-1 stable enough for it to fly OK for 5-10 of seconds without any control aid, and undocking while controlling X-1, so you don't have to manually switch vessels.

Gave it a try. Flew with stock SAS for about 30 seconds, then switched to AA. AA took about another 30-40ish seconds of spiraling all over the place until it figured out how to regain control. Seems I'll stick with stock SAS for the powered part of the flight, and switch to AA for the landing.

The X-1 has control when detaching, so no worries there. I do have to switch momentarily to the B-29 to pitch it down more so I don't get a collision, but that's maybe a second or two of control at most.

Link to comment
Share on other sites

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...