sarbian Posted November 25, 2014 Author Share Posted November 25, 2014 I fixed the "breaks due to the new version number" (Also called rewrite half the code) and MechJebFARExt should now work for FAR v0.14.4I found and fixed a big bug too.MechJebNEARExt needs some love but I can't do more today. Link to comment Share on other sites More sharing options...
Shad0wCatcher Posted November 25, 2014 Share Posted November 25, 2014 Mother of god. Well on the bright side at least more was pulled than added? Congrats on the release though; I use the hell out of these plugins <3 Link to comment Share on other sites More sharing options...
Wanderfound Posted November 25, 2014 Share Posted November 25, 2014 I fixed the "breaks due to the new version number" (Also called rewrite half the code) and MechJebFARExt should now work for FAR v0.14.4I found and fixed a big bug too.MechJebNEARExt needs some love but I can't do more today.Thanks.Loving the new Surface Smart ASS modes, by the way. The horizontal velocity is very handy for VTOL flight and zero-atmosphere horizontal landings. Link to comment Share on other sites More sharing options...
Einarr Posted November 25, 2014 Share Posted November 25, 2014 Sarbian, I apologize for my previous post. It was not meant to motivate, but more to express displeasure at not being able to use the latest FAR. I remember a time back in 0.23.5 when the MJ RPM plugin needed to be recompiled each time MJ's version number changed, and it couldn't be used with dev builds. For whatever reason, I thought the solution would be simple and quick to implement.Thank you for your hard work and continued development of these plugins. Link to comment Share on other sites More sharing options...
FreeThinker Posted December 1, 2014 Share Posted December 1, 2014 Question. Why isn't this integrated in MechJeb by default? Link to comment Share on other sites More sharing options...
sarbian Posted December 1, 2014 Author Share Posted December 1, 2014 1. It adds hard dependency on FAR/NEAR/KM_Gimbals 2. I don't control MJ build server but I control mine, and it does make things easier for me. Link to comment Share on other sites More sharing options...
MainSailor Posted December 1, 2014 Share Posted December 1, 2014 I fixed the "breaks due to the new version number" (Also called rewrite half the code) I don't know coding but I know what it's like to replace half of the work you've done, and I salute you sir. You do great work and are a pillar of the KSP modding community. Link to comment Share on other sites More sharing options...
Ruedii Posted December 17, 2014 Share Posted December 17, 2014 Anyone test compatability with 0.90 and FAR 14.5? Link to comment Share on other sites More sharing options...
Ippo Posted December 17, 2014 Share Posted December 17, 2014 Anyone test compatability with 0.90 and FAR 14.5?This version is compiled for FAR v0.14.3.2Pretty sure it won't work. Link to comment Share on other sites More sharing options...
acc Posted December 18, 2014 Share Posted December 18, 2014 nope, FAR plugin drops NREs Link to comment Share on other sites More sharing options...
Ruedii Posted December 19, 2014 Share Posted December 19, 2014 Ippo yep, seems it's not working right now. There were some changes in FAR (again), and it may need a little more than a recompile (again).Sometimes build versions aren't a issue sometimes they are. After all mono libraries are dynamically linked, so only if there are actual changes in the API do they need to change such libraries. Sadly, this is often the case. Link to comment Share on other sites More sharing options...
sarbian Posted December 21, 2014 Author Share Posted December 21, 2014 Both FAR and NEAR ext are updated. Link to comment Share on other sites More sharing options...
King Arthur Posted December 22, 2014 Share Posted December 22, 2014 My apologies for asking this Sarbian, but you'd be the most knowledgable about this than anyone else. Is the km_gimbal extension still compatible with the update to km_gimbal and the SSE pack that you pushed out just a while ago?Many thanks for maintaining all these mods, gratitude cannot be adequately stated in mere words. Link to comment Share on other sites More sharing options...
sarbian Posted December 22, 2014 Author Share Posted December 22, 2014 No, it will need an update. I'll most likely keep the current one (needed bu the current B9) and add an other for the renamed module I now maintain for SSE. Hopefully B0 will switch to the new one. Link to comment Share on other sites More sharing options...
spookydonut Posted December 22, 2014 Share Posted December 22, 2014 Will these extensions ever properly model atmospheric drag for landing like mechjeb does for the stock aero model? Link to comment Share on other sites More sharing options...
falken Posted December 22, 2014 Share Posted December 22, 2014 FAR fix updated? Oh Sarbian, you are the man. Link to comment Share on other sites More sharing options...
sarbian Posted December 22, 2014 Author Share Posted December 22, 2014 Will these extensions ever properly model atmospheric drag for landing like mechjeb does for the stock aero model?When I get the time to do it... Link to comment Share on other sites More sharing options...
hab136 Posted December 29, 2014 Share Posted December 29, 2014 It seems like Trajectories has already solved FAR landing predictions, and has an API. Alternatively, it's MIT-licensed, which is GPL-compatible, so you can just borrow from the code. Link to comment Share on other sites More sharing options...
sarbian Posted December 29, 2014 Author Share Posted December 29, 2014 Youens was OK with me using the code before he made it MIT. As I stated before I need time to do it and right now free time to code is not something I have. Doing it require adding an abstraction layer to MJ landing sim code and that is time consuming.Furthermore I hurt my back this morning so I'll most likely spend most of the week in bed, and not the the fun kind of "in bed" Link to comment Share on other sites More sharing options...
Errol Posted December 31, 2014 Share Posted December 31, 2014 (edited) I seem to be having some weird phantom control issues while using this with FAR and MJ. At first I thought MJ was broken because SASS just wouldn't work. I just noticed that my craft is actually recieving control input all the time, as if it has SAS with a pilot on board all the time, until I can activate and de-activate SAS. The same is true even if SAS isn't available on the vessel, such as a vessel with only a stayputnik probe core. I posted in the MJ thread about it, and here's what someone had to say about my log (https://www.dropbox.com/s/uv5vulnwdgtr433/mjbug.txt?dl=0):You're getting a lot of errors from MechJebFARExt.dll (Sarbian's FAR extensions for MJ)An error at just the wrong time could prevent other functions from being called.Not sure how your new observations fit into this... But what I suggest is removing the FAR Extensions and seeing if the problem persists. Or see if there's an updated version of it.Something else I noticed was a lot of RT errors, but that's a discussion for their thread. I enclose the error below: (the log said it was version 1.5 but there was an AVC log entry indicating it downloaded 1.5.2)NullReferenceException: Object reference not set to an instance of an object at kOS.SteeringHelper.GetThrustTorque (.Part p, .Vessel vessel) [0x00000] in <filename unknown>:0 at kOS.SteeringHelper.GetTorque (.Vessel vessel, Single thrust) [0x00000] in <filename unknown>:0 at RemoteTech.FlightComputer.updatePIDParameters () [0x00000] in <filename unknown>:0 at RemoteTech.FlightComputer.OnFixedUpdate () [0x00000] in <filename unknown>:0 at RemoteTech.ModuleSPU.FixedUpdate () [0x00000] in <filename unknown>:0 (Filename: Line: -1)So, coles notes of what I shared over there was that when I get the bug my vessel still responds to my control input. It's just that MJ's SASS appears to be unable to fully utilize the reaction wheel torque and my vessel simply bobbles on the spot. Same with RCS turned on. It's not a craft design issue; these craft work in one instance, then not in the next. At first I thought the bug only occurred when jumping into a vessel as opposed to loading and launching it, but it appears at least somewhat more randomly then that. I am using updated FAR, DRE, RT, MJ and this, as well as the USI suite and a few other convenience/LS/part mods. I have posted about these errors in the RT thread as well.EDIT: Is this still only supposed to work with the dev version of mechjeb? Edited December 31, 2014 by Errol Link to comment Share on other sites More sharing options...
aradapilot Posted January 2, 2015 Share Posted January 2, 2015 sarbian: can you add these as extensions to mechjeb in ckan once the .90 builds are confirmed stable? Link to comment Share on other sites More sharing options...
Galane Posted January 5, 2015 Share Posted January 5, 2015 Can you do one for Stock Drag Fix?What I've noticed with SDF and Landing Guidance is MechJeb tends to under-burn on the initial deorbit, then it has to make a fairly large correction, often it overcorrects and has to make more correction burns. I've had it make so many correction burns (usually with larger, slower turning rockets) that it overshoots KSC and either lands or "lawn darts" into the ocean. SDF has such an effect on landing guidance that with a quick turning craft it can precisely miss the VAB and land in front of it on the pad side every time. Pad landing attempts with SDF tend to end up at the bottom end of the ramp toward the VAB.All SDF is doing is removing fuel/oxidizer mass from the stock drag calculations, but it seems to confuse Landing Guidance because the rockets don't have as much drag as they're supposed to with stock aero. (Though they have as much drag as they "should have" since fuel inside a tank has no bearing on how much friction their is with the air outside the tank.)There's not a real problem with Ascent Guidance, rockets use less fuel with SDF, though I've had some rockets where terminal velocity is hit (the text turns green) but it's not throttling back and I get the red heat effects. Probably would use even less fuel if it would throttle back at TV with SDF.On bodies without atmosphere, SDF does nothing. Link to comment Share on other sites More sharing options...
mecki Posted January 5, 2015 Share Posted January 5, 2015 It would be great if this was also available via CKAN! Link to comment Share on other sites More sharing options...
Starwaster Posted January 5, 2015 Share Posted January 5, 2015 Can you do one for Stock Drag Fix?What I've noticed with SDF and Landing Guidance is MechJeb tends to under-burn on the initial deorbit, then it has to make a fairly large correction, often it overcorrects and has to make more correction burns. I've had it make so many correction burns (usually with larger, slower turning rockets) that it overshoots KSC and either lands or "lawn darts" into the ocean. SDF has such an effect on landing guidance that with a quick turning craft it can precisely miss the VAB and land in front of it on the pad side every time. Pad landing attempts with SDF tend to end up at the bottom end of the ramp toward the VAB.All SDF is doing is removing fuel/oxidizer mass from the stock drag calculations, but it seems to confuse Landing Guidance because the rockets don't have as much drag as they're supposed to with stock aero. (Though they have as much drag as they "should have" since fuel inside a tank has no bearing on how much friction their is with the air outside the tank.)There's not a real problem with Ascent Guidance, rockets use less fuel with SDF, though I've had some rockets where terminal velocity is hit (the text turns green) but it's not throttling back and I get the red heat effects. Probably would use even less fuel if it would throttle back at TV with SDF.On bodies without atmosphere, SDF does nothing.Any inaccuracy is going to be due to resource consumption which will render earlier predictions invalid. You're not taking into account inertia. Less fuel means drag has more impact on the craft. Link to comment Share on other sites More sharing options...
sarbian Posted January 5, 2015 Author Share Posted January 5, 2015 It would be great if this was also available via CKAN!I will but not before I automate the build process properly. Link to comment Share on other sites More sharing options...
Recommended Posts