-
Posts
5,039 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by sarbian
-
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
@triffid_hunter I agree that right now it's not from perfect but it does the job in my last version. I implemented your suggestion a few min ago in an newer version ( 2.0.13243.1409 ) Rendezvous autopilot will have to wait for now. -
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
An other version (2.0.13243.1312) - Ship flying away when docking from opposite side of the station - Better RCS usage, I hope - Speed Limit can't be negative - Default docking speed is set to 0.5m/s now. Check yours and don't let it at 0 ( unlimited speed ). -
In gamedata root. the cfg file is here too Edit : can you try this ModuleManager version http://www.sarbian.com/sarbian/ModuleManager.dll ? It the last one with this patch added : http://forum.kerbalspaceprogram.com/showthread.php/45107-KSPAddon-bug-causes-mod-incompatibilities Do you have other mods with dll ?
-
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
New version : 2.0.13243.0010 - deactivate ASAS when MJ take control - Ascent AP : Turn start altitude can't be set to 0km - Remove special case for ascent AP that may turn some ship too soon. - Add some feedback for this special case - Made BloodyRain2k Auto ascend params use clearer with a radio button to activate it - Improved Docking AP - More agressive and does dock - Fix Exception spam on "Suicide burn countdown" & "Time to impact" - taniwha-qf #162 : MechJeb doesn't see in-flight docked fuel The Ascent AP special case may be why some had their ship turning to circularize before they got out of atmo. I removed the special case but added a Text under the AP status. If you had the problem and you see "Early circularization" while testing please report it. BloodyRain2k AP auto ascent param now use switch. Easier to understand. When active you have : - Turn End Altitude is the larger of 85% of your orbit altitude / 30km / the atmo end if there is one - Turn start is 10% of Turn End or 20m above the ship if there is no atmo Docking should work better. At least it does for me. Setting the maximum speed is now recommended, unless you want to see some true Jeb piloting ( MJ2 could fly Docking AP twice as fast but I feel some margin would be useful ) -
Just tried it again. Seems to work for me ... My test.cfg @PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] { MODULE { name = IonModuleCrewSupport } RESOURCE { name = Oxygen amount = 100 maxAmount = 100 } RESOURCE { name = CarbonDioxide amount = 0 maxAmount = 10 } } My log Applying node /Test/@PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] to Squad/Parts/Command/cupola/part/cupola (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54) Applying node /Test/@PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] to Squad/Parts/Command/landerCabinSmall/part/landerCabinSmall (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54) Applying node /Test/@PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] to Squad/Parts/Command/Mark1Cockpit/part/Mark1Cockpit (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54) Applying node /Test/@PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] to Squad/Parts/Command/Mark2Cockpit/part/Mark2Cockpit (Filename: C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54) Applying node /Test/@PART[*]:HAS[!MODULE[IonModuleCrewSupport],#CrewCapacity[1]] to Squad/Parts/Command/mk1pod/part/mk1pod
-
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
The docking autopilot need some tweaking but it's not the easiest part of the code to read. I looked into it a few month ago and I may be able to change a few thing (speed limit) before my trip but no promise. -
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
@Cuel : Can you post you ship file and log ? -
There is no easier way right now. You can't do that with the current version. I just did some quick test and the problem was in fact easy : there is a missing ] in the expression you posted. Missing square bracket are evil It does not work any better since operators are not implemented but it does not apply to all part. And I checked that < and > are parsed by KSP, so I could add those checks. No guarantee since the code is already more and more messy. Adding much more would need a proper syntax parser and I don't want to go there. I'll add a check for square bracket parity soon.
-
Comparator are not supported. Anyway it's strange that it matches all part with that. I'll try at home to check why. But if you want your coffee maker you'll need multiple line. One for each crew capacity @PART[*]:HAS[@MODULE[ModuleCommand]:HAS[#CrewCapacity[1]] { ... } @PART[*]:HAS[@MODULE[ModuleCommand]:HAS[#CrewCapacity[2]] { ... } @PART[*]:HAS[@MODULE[ModuleCommand]:HAS[#CrewCapacity[3]] { ... } Maybe I could add a HAS[#CrewCapacity[>3]. I'll need to check how KSP cfg parser react to < and > first.
-
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
There is an issue with docking port. Someone made a patch and I need to include it. Check with Engineer anyway -
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
I went overboard when removing the ASAS control. MJ need to disable it when it take control, but I am not sure it should enable it back after. For the ASAS not switching in AUTO mode I can't duplicate this each time, but I saw it append. Do you have a way to trigger it each time ? The "Time to impact" problem is most likely some NaN. Is there anything in the log ? For those who fly with FAR MJ2 won't be as precise while in the atmo. I looked into adding some specific code, but FAR current code does not allow to get some value easily. It's on my list since I like flying with FAR, but I'd rather fix bugs before. For the "MJ can't handle a launch without spinning out of control sideways within meters in spite of the control part being correctly aligned" I'll need a ship file of save file to look into it. @Payload : About the ascent autopilot. Do you have info on "optimal" ascent profile ? What would you change (keeping it simple) ? johnsonwax & sojourner : So after it has enough velocity to get to the periapsis it should stay prograde until the circularisation burn ? johnsonwax if you have a ship I can test ... About the landing AP : I ll look into it more this week. -
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
Had to use day of year since 121231 was over 16bit limit of version id It must be something with BloodyRain2k auto ascent profile. I need to take another look at it. -
MechJeb 2 - Patch test bed release (October 10)
sarbian replied to sarbian's topic in KSP1 Mod Releases
New version ! - Version Number will change automatically for each build( 2.0.<year><dayofyear>.<hour><minute> ). - I reverted Meumeu landing precision patch. Ship with "high" TWR where hoovering over the landing spot, and I need some time to understand his change. Meumeu if you read this ... - Fix for reaction wheel. MJ thought the ship still has RW when there was no electricity left. It lead to bad attitude control ( Thanks Raf04 ). - Fix SmartASAS not switching to AUTO while an other module use the attitude control. - Removed SAS automatic switching. -
I just remembered some post by Majiir I read before my holiday and it may be related ( http://forum.kerbalspaceprogram.com/showthread.php/45107-KSPAddon-bug-causes-mod-incompatibilities ). Just did a new version with that fix. Can you try it ? ( same link http://www.sarbian.com/sarbian/MMSarbianExt.dll ). I'll go sleep on it.
-
This is a alternate version of Mechjeb 2. R4m0n seems to be away from KSP right now and I can do some minor patch and use patch from others. I don't really want to call it a fork since I don't want to take over the dev. So lets say it a test bed for patch while the official dev are on leave. I'll be here until around september 10. Then I have a 1 month trip and won't do anything KSP related until I come back. For now I'll post a "improved" version on MJ2 with patch by me and others. I'll welcome bug report, other patch and suggestion. Licence: Mechjeb 2 is under a GLP3 Licence. Source code available here : https://github.com/sarbian/MechJeb2/tree/Multi-Patch Most of this comes from the work of R4m0n, Anatid, The-Duck and other contributors to the project. Install : Full zip installl here : http://www.sarbian.com/sarbian/MechJeb2-Multipatch.zip Unzip it in your gamedata folder Right now my github repo is a bit messy, I'll clean it later with proper merge of other patch so their name show up in the commit log. The current version use this branch : https://github.com/sarbian/MechJeb2/commits/Multi-Patch Reporting a Bug : If you find a bug please give information. What were you doing, a ship screenshot, or even better a savefile. I use a lot of mod so I may be able to use most of your modded save file. Check the log for error ( KSP_Data/output_log.txt or ALT F2 in game ) and use http://pastebin.com/ to copy/paste it. The more info we get the easier it is to understand and fix bugs. Submit bug / improvement / suggestion to the github issue page Other patch : Feel free to offer more patch ! Suggestion are welcome but some are a lot harder to code than other... Release : October 10 (2.0.13283.1844) Removed the previous patch that disabled module on Undocking. I ll think of a better implementation BloodyRain2k : fixed the problem where the stage calculation assumed all engines of the current stage to be on BloodyRain2k : patch to the node planner September 9 bis (2.0.13252.2353) Disable Module ( most of them I hope ) on Undocking Ship September 9 (2.0.13252.1108) Menu windows will stay on screen even if you drag the button down ( for those with lower res) Tf is now saved per ship August 31 ter (2.0.13243.1528) Tavert #163 g0 in fuel flow simulation should be 9.82 Move MJ2 Button with a right click drag and drop August 31 bis (2.0.13243.1312) Ship flying away when docking from opposite side of the station Better RCS usage, I hope Speed Limit can't be negative Default docking speed is set to 0.5m/s now. Check yours and don't let it at 0 ( unlimited speed ) August 31 (2.0.13243.0010) ( more info ) deactivate ASAS when MJ take control Ascent AP : Turn start altitude can't be set to 0km Remove special case for ascent AP that may turn some ship too soon. Add some feedback for this special case Made BloodyRain2k Auto ascend params use clearer with a radio button to activate it Improved Docking AP - More agressive and does dock Fix Exception spam on "Suicide burn countdown" & "Time to impact" taniwha-qf #162 : MechJeb doesn't see in-flight docked fuel August 25 ( 2.0.13237.1442 ) Version Number will change automatically for each build( 2.0.<year><dayofyear>.<hour><minute> ). I reverted Meumeu landing precision patch. Ship with "high" TWR where hoovering over the landing spot, and I need some time to understand his change. Meumeu if you read this ... Fix for reaction wheel. MJ thought the ship still has RW when there was no electricity left. It lead to bad attitude control ( Thanks Raf04 ). Fix SmartASAS not switching to AUTO while an other module use the attitude control. Removed SAS automatic switching. August 23 SpiritOffice : Fix for Circularize function, if you want to change your hyperbolic orbit to circular orbit at some altitude. ( https://github.com/MuMech/MechJeb2/pull/168 ) August 5 - patch added to the offcial version : Sarbian : Let user force Roll for SASS and docking Sarbian : Control Surface Torque ( https://github.com/MuMech/MechJeb2/pull/161 ) Sarbian : Fix some case where OnLoad wasn't called Sarbian : Remove CommandModule from AR202. no need to check if the AR202 is in control and try to turn sideway Raf04 : new Patch to attitude improvement ( https://github.com/MuMech/MechJeb2/pull/152 ) make the response of the PID soft to reduce the stress of the vessel avoid oscillations of the ship fast angular displacement without overshot precise response, reduces the effect of inaccuracies of the attitude reference includes selectable automatic control for RCS and SAS BloodyRain2k : Auto ascend params ( https://github.com/MuMech/MechJeb2/pull/149 ) This will try to automatically use ascend parameters base on the body target orbit 80km on Kerbin will make it turn at 7km (1/10th of atmosphere) and aim for 70km to reach 80km AP On the mun the same would make it turn short after takeoff due to no atmosphere and aim for 30km to reach 80km AP BloodyRain2k : changing the way MJ searches for Modules in other assemblies ( https://github.com/MuMech/MechJeb2/pull/177 ) Meumeu : improved targeted landing precision ( https://github.com/MuMech/MechJeb2/pull/165 ) This improves the final descent when a target is set