After surveying the current crop of inadequate flight control systems, KerbCom decided to roll out their own firmware upgrade to try to ensure that your vessel moves as you expect it to. In short, you'll (probably) like the way you move.
For posts relating to version 0.2 or later (other than this post), go to post 54.
New in version 0.3 Alpha:
- Added support for engine gimbals and reaction wheels. This allows the solver to control and balance virtually any vessel that contains a reaction wheel, including but not limited to VTOLs, space shuttles, and all vessels that previously had an unsolvable RCS thruster layout (e.g. CSMs with one ring of RCS ports).
- New "combined" control mode that balances vessels during ascent, orbital burns and during docking automatically.
- Now using a native industrial strength solver for more stability and speed.
- UI streamlining, optimisations and bugfixes.
- If you somehow don't like or can't use the new gimbal support, this mod also implements a replacement of the stock gimbal control so that you can use gimbals to roll your vessel, and have gimbals above the COM that work correctly.
This plugin is designed to balance the forces that you fly your contraptions with. It currently supports RCS thrusters, reaction wheels, liquid/jet engines and gimbals. It works using a linear programming solver that finds the exact solution to the problem. It does not use guesswork or approximations.
This plugin stops unbalanced vessels from rotating inadvertently under thrust. This is very useful for asymmetric vehicles, like piggy-backed shuttles, and crafts that perform vertical take-offs and landings (VTOL). It does not stop you from controlling the vessel, rather it "trims" the rotation of the vessel.
The other main feature is the balancing of RCS port thrusts during docking so that your vessels do not drift away while rotating them or using SAS, and so that they do not rotate inadvertently while translating. This makes docking large vessels much easier.
This plugin is alpha software in active development. If you think you have found a bug, a performance issue, something missing or unclear in the documentation, or have a feature request, please check that it has not already been mentioned, then post it in the development thread.
VTOL demonstration video, courtesy of Torminator via this post:
- The new combined mode doe not support SRBs. If your craft uses SRBs, please make sure this mode is not active at the same time as any SRBs.
- There is also no support for balancing aerodynamic forces from wings and control surfaces. Use Ferram Aerospace Research if you want to tweak aerodynamic behaviour. This mod is primarily designed for space applications.
- Due to the use of native code, the current release is Windows and Mac only. This is more just because I have yet to investigate how to get native code invocation working correctly on Linux than any inherent difficulty, so expect this situation to change.
- The GUI does not yet support changing settings using text entry, or editing settings per-vessel in the VAB/SPH.
- Fuel is not balanced. For crafts that require this, there are other mods available.
- Vessels that require the net engine thrust to be in a specific direction other than the average of all engine directions will have to wait until I implement a direction selection feature.
Plans for the next version:
- An auto-hover controller for VTOLs.
- Jet engine throttle compensation.
I have ideas for many more features in the future, such as precision autopilots and display panels, as well as removing some of the current limitations.
- This mod does not negate the need for good RCS placement to maximise fuel efficiency.
- For best fuel efficiency on most vessels you will want to turn down RCS linear and torque strength.
- Bear in mind that this mod does not balance aerodynamic forces. Moving a VTOL at high speed in atmosphere will likely require manual trimming.
- Enabling/Disabling the GUI can be bound to action groups.
- If you accidentally hide the GUI, it can be made visible again using the context menu either on your command pod or your MechJeb AR202 (depending on how you installed the plugin).
- Many VTOLs behave much better (and more like a helicopter) if you lower the torque strength considerably, often to around 10%. VTOLs with multiple engines tend to have very large torque authority.
If you are upgrading from a previous version, please undo any changes to config files you made in order to use that version. The new version should not require any config changes, not even to deal with the RCS FX glitch, which is now fixed. I also recommend deleting your old KerbComAvionics directory before installing.
This plugin uses Module Manager to add the avionics module to either each of the stock command pods, or the MechJeb AR202 case. A version of this is included with this plugin, but it is always best to check for updates to Module Manager separately.
Download version 0.3.0.6 Alpha for Windows here
Download version 0.3.0.6 Alpha for Mac here
Linux users can for the time being still download the old cross-platform version here. You can still run the new version on Linux, but you cannot use the control modes. This means that the only new feature available to you is the replacement for stock gimbal control.
Source available here
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
This plugin makes use of lp_solve, an open source linear programming library. It is used in this plugin under the terms of the GNU Lesser General Public License. You can read the terms of this license at http://www.gnu.org/licenses/lgpl.html.
- Added fix for editor lag bug caused by log exception spamming.
- Added fix for GUI lag by implementing caching.
- Added a workaround recommended by Majiir for dealing with a known KSP bug causing mods to conflict.
- The previous fix, although it solved the bug, was not quite perfect, so here's a new version based on a suggestion by havocx42.
- Now with a proper fix that fixes the flameout bug and the fuel tank bug properly.
- Added fix for flameout bug. This needs testing to make sure it does not break something else.
- Bugfix for reaction wheel issues.
- Possible fix MechJeb Smart A.S.S compatibility problems (requires testing).
- Added support for engine gimbals and reaction wheels.
- New "combined" control mode.
- Now using LP Solve, a fast open source native solver.
- UI streamlining, optimisations and bugfixes.
- Fixed the RCS FX glitch, finally.
- Fixed a small bug that caused RCS to have infinite fuel.
- Complete redesign of the plugin. New solver, new interface, new logic. New engine balancing support.