Jump to content

Fine-tuning a Mun Bus: RCS, MechJeb, and Full vs. Dry CG


Recommended Posts

A while back, I made my own Mun shuttle bus to operate as a ferry craft (and/or skycrane) between a small station in Mun orbit and the base under construction on the surface. And it was good - mostly - delivering several modules safely to the latter. But I came to feel that it wasn't as good as it could be.

th_munbus1-1_zps60e19e51.jpg

I was (and still am) relying on MechJeb to handle most of the repetitive parts of docking, and with this design and the current versions of MechJeb, reaction wheels, etc, it had an annoying tendency to shimmy from side to side during what should have been (IMO) relatively straightforward translations, waggling back and forth rather than just locking on to a heading and sticking to it. I had to do a lot of manual oversight, toggling it on and off and/or speeding up time (which serves the useful functions of killing rotation, saving RCS fuel that MechJeb would spend on constant corrections, etc etc). Also, refilling the "strut" tanks got to be a bit of a pain. So it was decided to build a new one, and retask the first Bus as a surface-to-surface long-range excursion vehicle (or "hopper"), taking scientific parties out to study the various anomalies.

Behold, the current version under testing: Mun Bus II.

th_munbus2-1_zpsc57236b2.jpg th_munbus2-2_zps04bd7772.jpg

This time I mounted the main engines at the cardinal points (and moved them a little further out, to get more clearance around payloads), rather than at 45 degree offsets - thinking that MechJeb's simple electronic brain might find that easier to handle - and moved the RCS thrusters to the main body - ditto, and also because I didn't need the extra torque from having them out on the pods; if anything, I wanted to minimize torque as much as possible. (Also why I shifted some of the fuel into a central tank.) I also downloaded the (very handy) RCS balancing tool to help me. But the latter quickly revealed a basic and apparently inescapable problem: the craft's CG will shift between dry and full fuel tanks, and there doesn't seem to be any way of balancing things for both. One way or another, the thrusters will cause torque, and shimmy, and all those things I don't want.

I recently started a new job and I have a lot less time to flight test stuff, so rather than spending hours of trial and error, I'm hoping that the collective wisdom of the forums will be able to help me out. How do I get this thing to be as stable and worry-free/hands-off as possible during (MechJeb assisted) dockings? Is it a matter of being sure to always click "Control from here" on, say, the lander can, or manually turning Smart A.S.S. to lock the heading and hoping that the docking autopilot doesn't decide to turn it off? It looks like it should be simple, especially the second revision - why isn't it?

Craft files (should be stock except for, of course, MechJeb):

Mun Bus 1 - Mun Bus 2

Edited by Commander Zoom
Link to comment
Share on other sites

I'm going to preface this post by stating that I don't have any firsthand experience with MechJeb, so I can't help you too much with specific info on that angle.

That said, I would highly recommend downloading the Docking Port Alignment Indicator. Even if you still use MechJeb for the docking itself, it'll give you a nice visual reference that will let you fine-tune your heading and approach vector much more reliably than simply eyeballing everything.

As far as the craft design itself goes: Since you now have the 45-degree offset positions free on the core of the vessel, you may want to consider getting rid of the inline RCS tanks on your outriggers and instead placing a quad of the radial cylinders or spheres near your craft's center of mass. Since you'll have more total mass near the center of mass itself, that might help mitigate some of your torque issues.

Link to comment
Share on other sites

Seems to me that your problem could be solved if you simply stopped using mechjeb for docking. Do it yourself, using Caps Lock for fine control. Or, if you are going to use mechjeb, use Smart A.S.S. it to point your docking point at the target docking port. Then you do the maneuvering and translations, while mechjeb keeps the nose pointed in the right direction - always toward the target docking port.

Another strategy might be to point the target prograde, and then use mechjeb to keep you pointed retrograde, facing the target docking port. Then you can manually translate as necessary, keeping RCS turned off except for the times when you need it.

Or you can do the really simple thing and avoid rcs altogether.

Toggle between ships and make both ships the target each other’s docking port. Then, use mechjeb to set each ship to point at the target (the other ship’s docking port). Then, control your bus so it slowly approaches the target ship. Don’t use RCS – use the LV-Ns. The two ships will dance around each other a bit, always pointing their docking ports toward each other, and eventually, they will bump into each other for a successful docking. Just don’t let them start rotating around each other because they’ll start spinning. This kills the Kerbals.

Link to comment
Share on other sites

Seems to me that your problem could be solved if you simply stopped using mechjeb for docking. Do it yourself, using Caps Lock for fine control. Or, if you are going to use mechjeb, use Smart A.S.S. it to point your docking point at the target docking port. Then you do the maneuvering and translations, while mechjeb keeps the nose pointed in the right direction - always toward the target docking port.

Blergh. That gets so tedious, though, when you're catching a dozen modules and sending them down to the Mun. The idea was to do less baby-sitting during the docking process, automating it as much as possible. :P

The MechJeb No RCS docking method: http://youtu.be/gyTTzJvZqjI And download the Patch Testbed version of MechJeb, it's *much* *much* better than the 'official' version. And give your bus some gyro torque - then Mechjeb will translate with RCS and correct attitude with the torque.

1. Interesting.

2. I'm usually verrrry reluctant to use unofficial/beta forks of mods.

3. It's got a lander can now, with reaction wheel; it's a matter of getting the autopilot to actually use it.

All of the above answers (even the ones I don't like) are enough that I'll go ahead and change the status on this. Thanks, everyone.

Link to comment
Share on other sites

2. I'm usually verrrry reluctant to use unofficial/beta forks of mods.

3. It's got a lander can now, with reaction wheel; it's a matter of getting the autopilot to actually use it.

2. It's widely used and maintained by a person who has had code committed to the main branch...

3. A lander can has next to no torque. (7.5 on each axis.) Try one of the stabilizers or SAS modules under the control tab. (20 on each axis.) Seriously - use the Mechjeb fork and *add torque*. I just auto docked an assembly of three Fustek Expansion modules with a tug with RCS at one end, and it was rock steady in alignment as it translated. *Add torque*.

Link to comment
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...