Jump to content

[1.12.x] Anatid Robotics / MuMech - MechJeb - Autopilot - [2.14.3] [4th March 2023]


sarbian

Recommended Posts

On 10/7/2020 at 12:08 PM, HansAcker said:

That's the spirit! :)

In my experience, precision landings require a TWR that's not too high (neither too low, of course) and responsive attitude control. More or less balanced RCS thrusters help, too. If MJ starts pulsing the throttle or roasts the engines on a slow brake burn, I reduce engine thrust.

@HansAcker When you mention TWR...do you have a range in mind that is "not too high or low"?

Link to comment
Share on other sites

On 10/7/2020 at 6:47 AM, Tonka Crash said:

 If that doesn't work I use the Translatron to hover taxi from where I landed to where I need to be

@Tonka Crash Can you explain a bit more on using the translatron function? The only YouTube video I found is 6 years old...and the ship crashed! :D Say I land safely, but my ship is too far away to reach the hoses so I can transfer fuel to it from my mining base. How do I use translatron to move me closer?

Link to comment
Share on other sites

@strider3 Open up SMART.A.S.S and set to Surf Up and Translatron in Keep Vert mode.  In Keep Vert mode, Tranlatron will keep vertical speed to what you set.  SMART.A.S.S Surf Up tries to keep your nose point at the sky.  So what I do is set my modes, then give Translatron a couple clicks up to climb and then click back to 0 when I'm at the altitude I want.  With Translatron a 0 you will hover until you are out of gas. 

Now I can use either RCS or tilt the rocket in the direction I want to go. I find it easiest to roll so pitch inputs go to/from the primary direction I want.  Yaw then tilts to slide left/right.  When I get to the target area I slow down with RCS or tilting or hit the Kill H/S to stop completely if I'm moving slow enough.  Then click Translatron to -1 or -2 to settle back to the ground.

The Kill H/S check box in Tranlatron will try to stop any horizontal motion by tilting the rocket. It can be very aggressive if you are moving fast. Make sure it's unchecked before you try to liftoff or you won't be going anywhere.  Don't try to engage it low and moving fast.  Also if you are hovering and check it, then uncheck it SMART.A.S.S will disengage.  So be sure to click the SURF UP button again or you will start to tumble.

I always make a quicksave before starting a maneuver just in case I screw it up.  And usually I keep the speeds relatively slow at less than 5 m/s if I'm just doing a reposition and I'm only a few meters up.  Although I've cruised across Minmus flats at 40 m/s just a couple meters off the ground.

Link to comment
Share on other sites

30 minutes ago, Tonka Crash said:

@strider3 Open up SMART.A.S.S and set to Surf Up and Translatron in Keep Vert mode.  In Keep Vert mode, Tranlatron will keep vertical speed to what you set.  SMART.A.S.S Surf Up tries to keep your nose point at the sky.  So what I do is set my modes, then give Translatron a couple clicks up to climb and then click back to 0 when I'm at the altitude I want.  With Translatron a 0 you will hover until you are out of gas. 

Now I can use either RCS or tilt the rocket in the direction I want to go. I find it easiest to roll so pitch inputs go to/from the primary direction I want.  Yaw then tilts to slide left/right.  When I get to the target area I slow down with RCS or tilting or hit the Kill H/S to stop completely if I'm moving slow enough.  Then click Translatron to -1 or -2 to settle back to the ground.

The Kill H/S check box in Tranlatron will try to stop any horizontal motion by tilting the rocket. It can be very aggressive if you are moving fast. Make sure it's unchecked before you try to liftoff or you won't be going anywhere.  Don't try to engage it low and moving fast.  Also if you are hovering and check it, then uncheck it SMART.A.S.S will disengage.  So be sure to click the SURF UP button again or you will start to tumble.

I always make a quicksave before starting a maneuver just in case I screw it up.  And usually I keep the speeds relatively slow at less than 5 m/s if I'm just doing a reposition and I'm only a few meters up.  Although I've cruised across Minmus flats at 40 m/s just a couple meters off the ground.

@Tonka Crash Thanks, buddy! Will let you know how it works for me.

Link to comment
Share on other sites

Hello all

I'm just reporting an unholy interaction of doom between the latest Clickthough Blocker and Mechjeb - LOG HERE.

I've tested this with no other mods installed accept Module Manager and can confirm the problem is persistent and repeatable. Interestingly, the game loads with no errors or warnings and runs as one would expect with only one mod or the other installed, just not both together.

I've left the same message over on the Clickthrough Blocker thread too.

X

Link to comment
Share on other sites

maneuver-planner - Intercept only, no capture burn (impact/flyby)

hi, I'm close to eve on the way back for kerbin after a 90km eve flyby.
From a sun orbit, in order to reach eve from kerbin, I have used it cause it seemed better.
But in this particular scenario, look ss, there's not so much difference between both the maneuvers.
I can't decide what is better: enable or not enable the "Intercept only, no capture burn (impact/flyby)" option in maneuver-planner?

Can someone please explain me when it is usually supposed to be used? what does it do when enabled?

Screenshot%202020-10-12%2016.12.22.png?d

Screenshot%202020-10-12%2016.07.02.png?d

Screenshot%202020-10-12%2016.07.08.png?d

Edited by antipro
Link to comment
Share on other sites

I am using BDB to fly an Apollo lunar mission. The Maneuver Planner puts me into a trajectory that has my CSM/LM flying an east to west orbit (right to left) around the Mun. I landed fine, but once I tried to launch from the Mun, Ascent Guidance wanted to fly the ascent stage into a west to east trajectory, 180 degrees opposite from which the CSM was flying! I eventually launched manually and made it to orbit, but could not figure out how to launch from the Mun into a westbound trajectory using Ascent Guidance. Can this be done? Or do I need to enter Munar orbit flying in the other direction? If so, how?

Thanks for the guidance!

Link to comment
Share on other sites

On 10/12/2020 at 7:23 PM, The_Arcitect said:

Is anyone else having issues with landing?

(btw I got log files...)

Yeah, i don't know if it's just for me, but, before the last update the landing was good. But now, it's not good, it's trying to do suicide burn and missing by a lot.
But i think this is really hard to do it.

Link to comment
Share on other sites

On 10/12/2020 at 4:23 PM, The_Arcitect said:

Is anyone else having issues with landing?

(btw I got log files...)

Yes, I am as well ... orbiting Mun at ~50km (KSP v1.10), with the latest version of MechJeb2 installed (just did so today), and it's taking me to the opposite side of the Mun from where I want to land. Been looking around for a solution without luck. This seems to be a recurring issue w/ MechJeb, as I've seen lots of posts dated several years ago. 

Good to know it's not just me, right now...

<8 HOURS LATER>

I've been trying to find the boundaries of where MechJeb2 works and where it doesn't. There seems to be a valid 'box' where MJ2 works properly (on the Mun) in the region of 27N/17E; 25N/25E; 11N/, 11E; and so far I've been able to land as far west as 10N/35W, but nothing in the South.  There may be other variables involved, but I'd be curious to see if anyone else has similar results, where there's a zone of viable landing areas. 

My ship is starting at:  Ap: 72.7km; Pe: 52.5km; Period: 55m 13s; Inclination 163.5; Ejection: 17.0; LAN:280.1; ARG PE: 316.7; Eccentricity: 0.0385

Hopefully some of this information is of use in trouble-shooting this excellent mod. Any comments, suggestions, observations are welcome! 

 

<A FEW HOURS LATER

 

So maybe it looks like you have to be within a certain range of the landing site when you active the Landing Guidance. I got down to a low orbit of ~15km, and within 35 degrees of the landing site, and the guidance worked fine. 

Edited by maddog59
Link to comment
Share on other sites

3 hours ago, antipro said:

if you put a vessel to an eve 400km polar orbit, your "advanced transfer to another planet" can create a node for kerbin?

It did for my Eve probe (on a ~400x100km polar orbit). I'll know in 2 years game-time if it works ;)

 

Link to comment
Share on other sites

hi friends. I'm getting back into KSP after a long hiatus, and am re-learning MechJeb. 

I'm having an issue with the autowarp feature; namely, it's not working for me. For example, when I do a simple maneuver (like change apoapsis) and execute, the craft spins and aligns with the correct maneuver attitude, but then never begins auto-warp. It just sits there,

However  if I manually press the . key to increase warp to 5x, then mechjeb takes over and increases the warp to the correct speed, and then decreases it normally when it's time to maneuver .

but it refuses to start up warp at the beginning of a maneuver. is this happening with anyone else? thanks

Link to comment
Share on other sites

4 hours ago, dresoccer4 said:

hi friends. I'm getting back into KSP after a long hiatus, and am re-learning MechJeb. 

I'm having an issue with the autowarp feature; namely, it's not working for me. For example, when I do a simple maneuver (like change apoapsis) and execute, the craft spins and aligns with the correct maneuver attitude, but then never begins auto-warp. It just sits there,

However  if I manually press the . key to increase warp to 5x, then mechjeb takes over and increases the warp to the correct speed, and then decreases it normally when it's time to maneuver .

but it refuses to start up warp at the beginning of a maneuver. is this happening with anyone else? thanks

Hi dresoccer4, same "issue" for me. It depend how much rotation wheel, but i always press the accel time key to manually to begin the warp.

Link to comment
Share on other sites

6 hours ago, LTQ90 said:

Hi dresoccer4, same "issue" for me. It depend how much rotation wheel, but i always press the accel time key to manually to begin the warp.

thanks for confirming! while obviously not game breaking, maybe it's a sign of some other underlying issue in the code. good to know it's not just me breaking it ;) 

Link to comment
Share on other sites

I mostly dock on my own, but there are times when I'm docking several tugs to some big thing with a short window of time and I use MechJeb docking to ease the brain burden.  But the biggest use case for this is asteroids but I can't use the current Docking Autopilot for that.  What would be great is if the Docking Autopilot worked with the Grab units as a control from and targeting CoM were integrated into it also.  Has this been, or is it being, considered?  Thanks for all you do.  Let me know if you have a coffee fund

Link to comment
Share on other sites

Quick question - on PVG guidance, is there any way to get it to ignore an ullage stage?  I use Engine Igniter and I'm finding it problematic with the ullage stage because it tries to use it before the coast and even if I manually actuate it, I have to like wait 5-6 seconds beyond the end of the coast to ensure that it stages properly and doesn't kill the throttle when the dV hits 0 on the ullage stage maneuver.

Link to comment
Share on other sites

On 10/21/2020 at 5:12 PM, darthgently said:

if the Docking Autopilot worked with the Grab units as a control from

It already does, if you ignore the warning message.  The docking autopilot tries to bring the positions of the controlling part and the target together, looking at each other. Neither of them necessarily have to be docking ports.

On 10/21/2020 at 5:12 PM, darthgently said:

targeting CoM

Indeed, the autopilot currently does not allow targeting positions (if an asteroid CoM target isn't even another kind of target), only docking-port-alikes, vessel CoM and celestial bodies, apparently.

I'm not convinced, though, that using the docking autopilot in this way would lead to a good connection to the asteroid. It would not consider the asteroid surface normal and just try and stick the claw in at any angle, as long as it points to a fixed "face" of the CoM.

Spoiler

Yes, the docking autopilot can target celestial bodies. It's probably not very useful, either ;)

53KCQrN.jpg

 

Edited by HansAcker
Link to comment
Share on other sites

15 hours ago, HansAcker said:

Indeed, the autopilot currently does not allow targeting positions (if an asteroid CoM target isn't even another kind of target), only docking-port-alikes, vessel CoM and celestial bodies, apparently.

I'm not convinced, though, that using the docking autopilot in this way would lead to a good connection to the asteroid. It would not consider the asteroid surface normal and just try and stick the claw in at any angle, as long as it points to a fixed "face" of the CoM

  Hide contents

Yes, the docking autopilot can target celestial bodies. It's probably not very useful, either ;)

 

 

Thanks for the info, I'll start coloring outside the lines in this regard and see what happens.  I'm not certain, but it seems like, with asteroids, that the moment you get a second connection from a separate vehicle, even one with vague control authority, latched onto it the task becomes much, much more manageable as the flexing and whipping nearly always evaporates once I've done this even when the second craft isn't placed well and has very little torque or thrust capability given its position, angle, connection quality (grabber with one "toe" in the target etc).  Almost as if the code tosses you a bone just for getting the second control point latched on.  I'm not sure if a great connection that also targets CoM is really required in this sense at this point.  But one still needs the main engine thrust in line with CoM at some point to get decent braking for placing asteroids into orbit

Link to comment
Share on other sites

On 10/12/2020 at 6:23 PM, The_Arcitect said:

Is anyone else having issues with landing?

(btw I got log files...)

On occasion.  I got munarly lithobraked at 80+ meters per second the other day when I got up to do a quick chore.  Pulled up the quicksave from right before engaging Landing Guidance and manually landed just fine so not positive what the issue was.  I had come back to the game just as it slammed into the surface and I read a vertical speed of -86.xx m/s.  I suspect that RCS had turned itself off and mechjeb couldn't get it to orient properly and lost control.  The RCS mysteriously turning off is nearly always the reason Landing Guidance goes off the rail in my experience.  Accuracy aside, it mostly works for me but I definitely have to babysit that RCS functionality.  I don't know why it gets turned off sometimes by either mechjeb or something else, not sure, idk. 

TL;DR -> watch that the RCS stays on and turn it back on if it goes off, if your craft needs it for control authority

I've also has situations where even though there is plenty of opportunity to land where I targeted, it wants to land me hundreds of kilometers downrange instead.  It just brakes way too late.  Again, I'm not sure this is a mechjeb issue.  It might be getting starved of processing time or something by something else

Edited by darthgently
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...