allista Posted January 19, 2015 Share Posted January 19, 2015 (edited) Throttle Controlled Avionics - Continued real-time engine balancing, attitude and altitude control, VTOL autopiloting Originally created by qfeys and Zenka Current development and maintenance: allista TCA is a plugin that enhances the attitude control of a ship by dynamically changing the output of its engines and RCS thrusters. Even with most unbalanced designs TCA maintains stable flight and quick precise response to user or autopilot input. TCA also provides many sophisticated autopilot programs based on this core functionality, including waypoint navigation and automatic landing. It is also fast enough to simultaneously control a whole squadron of ships without much overhead. First read, then fly! TCA Manual First read, then fly! Support me on Patreon Features Functionality: Simultaneous control over multiple vessels. Realtime RCS and engine balancing. Multiple engine roles and engine profiles. Full support of slow engines (jets, propellers, etc.) Thrust attitude control. Hovering control. Many sophisticated autopilot programs. Orbital maneuvering independent of command module orientation. User defined macros. Technical: Both the Toolbar and the stock AppLauncher are supported. Per-vessel/per-save configuration profiles and custom presets. In-game configurable key binding. Full career mode integration (see below). Introduction to TCA2 New Features in TCA3 Launching shuttle with TCA Flying Harrier-like VTOL plane with TCA New orbital autopilots in TCA 3.2.0 TCA Modules in Tech Tree Downloads and Installation !!! ModuleManager is required but not included !!! SpaceDock Page GitHub Releases Source Code If you're upgrading, DELETE the old version before installing a new one BUT do not delete the TCA.conf and config.xml files to preserve your settings. ChangeLog Acknowledgments: First of all, many thanks to qfeys and Zenka for creating the original concept and implementation. Without them TCA would not exist. And I want to express extreme gratitude to @smjjames, who helped me so much with the testing of TCA3 and proposed countless improvements. Without it this version would never have come to a release! My patrons on Patreon. Thank you for your support! Kevin Casey Bob Palmer Ryan Rasmussen Matthew Zaleski Bart Blommaerts eL.Dude Layne Benofsky Igor Zavoychinskiy Issarlk Meiyo BP Jenna Mitchell Squiddy Ted Achenbach SCESW Patrice Hédé Steve Victory Also, here are the mods whose code and ideas were used in one way or another: Hangar MechJeb2 Edited July 23, 2020 by allista New version released Quote Link to comment Share on other sites More sharing options...
Midnight Jade Posted January 19, 2015 Share Posted January 19, 2015 Thank you very much for continuing this mod sir. It was one of my must haves. Quote Link to comment Share on other sites More sharing options...
Kowgan Posted January 19, 2015 Share Posted January 19, 2015 Awesome, Allista. Thanks for the continued support. Quote Link to comment Share on other sites More sharing options...
SAI Peregrinus Posted January 19, 2015 Share Posted January 19, 2015 Yep, this is definitely one of the best mods for anything with more than one engine. Quote Link to comment Share on other sites More sharing options...
kiwiak Posted January 20, 2015 Share Posted January 20, 2015 At last, hotkey This addon is all i need for my vtol shis. Quote Link to comment Share on other sites More sharing options...
GeorgeG Posted January 20, 2015 Share Posted January 20, 2015 (edited) Only last week did I find out about this mod, and tried it out. Fantastic! Then today, the new version. So, thanks very ouch for taking it over.I have a question….. what do I need to do for it to work well with Mechjeb? For Landing, and Translatron (such as vertical hold), the engines sputter and the ships fall lout of the sky. On Ascent Guidance, it does fly mostly under control, but sputters and wobbles and drifts horizontally in the pitch and yaw directions. Or are they incompatible with each other?I've worked up a big SSTO SpacePlane, to land on Minmus, which has some VTOL landing rockets so it can land vertically (and take off vertically) with the fuselage horizontal. I'll probably do the landing manually (using TCA), and the vertical takeoff will be easy enough. But still, it'd be great if I could also use Mechjeb and TCA together for future projects.- GeorgeG Edited January 20, 2015 by GeorgeG Quote Link to comment Share on other sites More sharing options...
allista Posted January 20, 2015 Author Share Posted January 20, 2015 (edited) Only last week did I find out about this mod, and tried it out. Fantastic! Then today, the new version. So, thanks very ouch for taking it over.I have a question….. what do I need to do for it to work well with Mechjeb? For Landing, and Translatron (such as vertical hold), the engines sputter and the ships fall lout of the sky. On Ascent Guidance, it does fly mostly under control, but sputters and wobbles and drifts horizontally in the pitch and yaw directions. Or are they incompatible with each other?I've worked up a big SSTO SpacePlane, to land on Minmus, which has some VTOL landing rockets so it can land vertically (and take off vertically) with the fuselage horizontal. I'll probably do the landing manually (using TCA), and the vertical takeoff will be easy enough. But still, it'd be great if I could also use Mechjeb and TCA together for future projects.- GeorgeGhttp://i.imgur.com/8KbfHHj.jpgYea, it would be great, but there is an intrinsic problem with this two: to maintain orientation MechJeb2 uses a vector PID-controller that is tuned in real time depending on engines' torque (well, engines, r.wheels, lifting surfaces... MechJeb is thorough and tough!) and inertia tensor of a ship. But TCA changes engines' thrust (and thus torque) relatively fast, and in many cases it causes self-excitation of the TCA-MechJeb system. The stock SAS works better as it, unlike MJ, does not try to predict ship's movements, using three separate PID-controllers for pitch, yaw and roll with hard-coded coefficients.With such heavy and complex ship, I would turn off the auto-tuning in TCA and try to lower the Steering Gain and P and I values of engines' controller. The ship may become slow in response, but steady with MechJeb. In my tests I had experience of successful tweaking TCA to work with MJ on heavy and very wobbly (not many struts) rocket.Oh, and in my experience landing manually with TCA is a relatively easy task. I've landed a heavy SSTO to the Mun using MJ for targeting and deceleration with main engines and TCA with vertical thrusters for final descend. Edited January 20, 2015 by allista Quote Link to comment Share on other sites More sharing options...
riocrokite Posted January 20, 2015 Share Posted January 20, 2015 This mod is great, thanks for taking over Quote Link to comment Share on other sites More sharing options...
BelgarionNL Posted January 20, 2015 Share Posted January 20, 2015 please add it to CKAN mod enabler/downloader! and thank you again works great as always Quote Link to comment Share on other sites More sharing options...
allista Posted January 20, 2015 Author Share Posted January 20, 2015 (edited) please add it to CKAN mod enabler/downloader! and thank you again works great as alwaysKerbalStuff adds all new mods to CKAN automatically.NetKAN had probably not indexed it yet, though. I'll check NetKAN repo...UPD1: KS bot submitted the pull request a day ago, but it is still hanging there among other 12. NetKAN is not fast, we need to wait a little longer.UPD2: I've added a handmade .netkan file and requested a merge. This file fixes errors introduced by the KS Bot, and thus should (I hope) be accepted faster. Edited January 20, 2015 by allista Quote Link to comment Share on other sites More sharing options...
Beetlecat Posted January 20, 2015 Share Posted January 20, 2015 Thank you for reviving this again! It had been on my radar to ask about. Quote Link to comment Share on other sites More sharing options...
Dexter_D Posted January 21, 2015 Share Posted January 21, 2015 This is a great mod thank you. Is it also possible to change the default hotkey for tca? Quote Link to comment Share on other sites More sharing options...
allista Posted January 21, 2015 Author Share Posted January 21, 2015 This is a great mod thank you. Is it also possible to change the default hotkey for tca?It is.For now, through the config file: open the GameData/ThrottleControlledAvionics/Plugins/PluginData/ThrottleControlledAvionics/TCA.glob file in a text editor and find the line "TCA_Key = y"; change 'y' to any printable key you want. Key combinations and special keys are not yet supported, but I'll add them in the future, as well as in-game key-binding changing. Quote Link to comment Share on other sites More sharing options...
Dexter_D Posted January 21, 2015 Share Posted January 21, 2015 This is a great mod thank you. Is it also possible to change the default hotkey for tca?It is.For now, through the config file: open the GameData/ThrottleControlledAvionics/Plugins/PluginData/ThrottleControlledAvionics/TCA.glob file in a text editor and find the line "TCA_Key = y"; change 'y' to any printable key you want. Key combinations and special keys are not yet supported, but I'll add them in the future, as well as in-game key-binding changing.Ok, I didn't mess around with glob files before, so I didn't check it out. Thanks again. Quote Link to comment Share on other sites More sharing options...
John290 Posted January 23, 2015 Share Posted January 23, 2015 Excellent mod! Very well done. Had an idea for it, not sure if this has been brought up already. But make a part for it thats added to the ship. Thus allowing it to be intergrated into the career tech tree as a unlockable later on in your career game. Just a thought. Either way thanks for the great mod! Quote Link to comment Share on other sites More sharing options...
Kowgan Posted January 23, 2015 Share Posted January 23, 2015 If the only intent of adding a part is to make it unlockable on the tech tree, you don't need a part. It's doable without it. Quote Link to comment Share on other sites More sharing options...
allista Posted January 23, 2015 Author Share Posted January 23, 2015 Excellent mod! Very well done. Had an idea for it, not sure if this has been brought up already. But make a part for it thats added to the ship. Thus allowing it to be intergrated into the career tech tree as a unlockable later on in your career game. Just a thought. Either way thanks for the great mod!If the only intent of adding a part is to make it unlockable on the tech tree, you don't need a part. It's doable without it. Yea, I wanted to say the same: It's a little more complex, but non the less doable. And I thought many times about making TCA to be a part, or a module added to cockpits with MM, but in the end decided otherwise.Anyway, thanks for the suggestion, I'll implement it in the next release. Quote Link to comment Share on other sites More sharing options...
Vitasalato Posted January 23, 2015 Share Posted January 23, 2015 Great! This is what I've been looking for my VTOL Quote Link to comment Share on other sites More sharing options...
space guy Posted January 24, 2015 Share Posted January 24, 2015 I built a space shuttle and was wondering if this mod will account for the torque applied by the control surfaces and the torque from the high amount of wing pieces on the shuttle? Quote Link to comment Share on other sites More sharing options...
allista Posted January 25, 2015 Author Share Posted January 25, 2015 I built a space shuttle and was wondering if this mod will account for the torque applied by the control surfaces and the torque from the high amount of wing pieces on the shuttle?Not by itself -- it only considers engines. But if the additional torque is less than torque from engines, enabled SAS should compensate it with TCA.In the legacy forum thread while testing the beta version of TCA VDNKh said:This works amazingly for shuttles. Both NASA and Buran style shuttle launch systems. I didn't have to touch any settings to get it to fly on target. Quote Link to comment Share on other sites More sharing options...
Mipe Posted January 25, 2015 Share Posted January 25, 2015 Intriguing mod. Question: does it play nice with infernal robotics and engines on rotatrons/hinges/whatever? Quote Link to comment Share on other sites More sharing options...
allista Posted January 25, 2015 Author Share Posted January 25, 2015 Intriguing mod. Question: does it play nice with infernal robotics and engines on rotatrons/hinges/whatever?I haven't tested it, but there should be no problem: TCA computes engines' limits each physical frame based on thrust vectors each engine part provides. So as soon these vectors move (e.g. Gimbal moves them too) TCA accounts for the change and recalculates limits accordingly. Quote Link to comment Share on other sites More sharing options...
JerryIRacer Posted January 25, 2015 Share Posted January 25, 2015 I think it does not work with Kerbal ISP difficulty Scaler. I built small asymmetrical craft and it was tipping over. Then I built something similar to example shown in OP vid and it worked great. I think TCA is reading original engine stats not modified ones. As long as craft is symmetrical and uses one type of engines TCA will do good. Steering by throttling individual engines is great idea. I insist on using NEAR. Lessened drag forces me into nerfing engines behavior in the atmosphere. That is what ISP difficulty scaler is for. So, Allista would you consider looking into it? I dont know If it is something easy to correct.No matter your answer, thank you for your work, mod is great, I can certainly design around some of its limitations. Quote Link to comment Share on other sites More sharing options...
allista Posted January 25, 2015 Author Share Posted January 25, 2015 I think it does not work with Kerbal ISP difficulty Scaler. I built small asymmetrical craft and it was tipping over. Then I built something similar to example shown in OP vid and it worked great. I think TCA is reading original engine stats not modified ones. As long as craft is symmetrical and uses one type of engines TCA will do good. Steering by throttling individual engines is great idea. I insist on using NEAR. Lessened drag forces me into nerfing engines behavior in the atmosphere. That is what ISP difficulty scaler is for. So, Allista would you consider looking into it? I dont know If it is something easy to correct.No matter your answer, thank you for your work, mod is great, I can certainly design around some of its limitations.Hm... that's strange, I'll investigate the matter.I've never used ISP scaler, but a quick glance into its code shows no obvious problem, as the Scaler modifies maxThrust which TCA reads from the engine each frame. Quote Link to comment Share on other sites More sharing options...
JerryIRacer Posted January 26, 2015 Share Posted January 26, 2015 I feel really stupid. I'd swear it was not working on my first attempt. Now I have just made total contraption and it works no problem. Here it is:So it does work with ISP scaler. Apologies for stirring things up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.