Psycho_zs Posted July 15, 2019 Share Posted July 15, 2019 I've tested with debug dll. Most of the time autosnap works fine, but sometimes something fails, angle is reported as NaN, and angle is not autocorrected. A couple of successful dockings, last one produced NaN. Spoiler # successful dockings [LOG 19:57:01.241] [DR:d:54019] JM:-1220114:dockingPort2:4272916510:Host>dockingPort2:964508452:None.updateOrgRot(): 0.02797646° [LOG 19:57:01.241] [DR:d:54019] MDR:dockingPort2:964508452:Target.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:01.241] [DR:d:54019] JM:-1220114:dockingPort2:4272916510:None>dockingPort2:964508452:Target.updateOrgRot(): 0.02797646° [LOG 19:57:01.241] [DR:d:54019] MDR:dockingPort2:4272916510:Host.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:01.264] [DR:d:54020] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:01.264] [DR:d:54020] JM:-1220114:dockingPort2:4272916510:Host>dockingPort2:964508452:Target: enqueueRotation((0.00, 1.00, 0.00), -0.0280°, 5°/s, 0°/s), added [LOG 19:57:01.264] [DR:d:54020] MDR:dockingPort2:4272916510:Host.updateFrozenRotation(CHECK): (0.0, 5.0, 0.0) -> (0.0, 0.0, 0.0) [LOG 19:57:01.265] [DR:d:54020] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:01.492] [DR:d:54027] JM:-1220114:dockingPort2:4272916510:Host>dockingPort2:964508452:Target.updateOrgRot(): 0° [LOG 19:57:01.492] [DR:d:54027] P:dockingPort2:4272916510:Host: rotation stopped [1], 0.22 electricity [LOG 19:57:01.514] [DR:d:54028] JM:-1220114:dockingPort2:4272916510:Host>dockingPort2:964508452:Target: removing rotation (done) [LOG 19:57:01.514] [DR:d:54028] VMM:-1204700:964508452:dockingPort2: securing autostruts [LOG 19:57:01.514] [DR:d:54028] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:01.514] [DR:d:54028] ... .KJRNextCycleAllAutoStrut() [LOG 19:57:34.081] [DR:d:55498] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Part after reset BeforeChange [LOG 19:57:34.081] [DR:d:55498] ... .reset() BeforeChange after Part [LOG 19:57:34.174] [DR:d:55499] JM:-1220114:null.OnDestroy() [LOG 19:57:45.015] [DR:d:55965] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Ids after reset BeforeChange [LOG 19:57:45.015] [DR:d:55965] ... .reset() BeforeChange after Ids [LOG 19:57:45.015] [DR:d:55965] ... .isRepeated(): repeated JointUpdate after reset BeforeChange [LOG 19:57:45.015] [DR:d:55965] ... .isRepeated(): repeated Action after reset BeforeChange [LOG 19:57:45.045] [DR:d:55965] JointMotion.get(): created JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:None [LOG 19:57:45.046] [DR:d:55965] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:None.updateOrgRot(): -57.68753° [LOG 19:57:45.046] [DR:d:55965] MDR:dockingPort2:964508452:Target.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:45.046] [DR:d:55965] JM:-1230154:dockingPort2:4272916510:None>dockingPort2:964508452:Target.updateOrgRot(): -57.68753° [LOG 19:57:45.046] [DR:d:55965] MDR:dockingPort2:4272916510:Host.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:45.046] [DR:d:55965] ... .autoSnapStep() = 30 from snapOffset [LOG 19:57:45.047] [DR:d:55965] ... .autoSnapStep() = 30 [LOG 19:57:45.047] [DR:d:55965] MDR:dockingPort2:964508452:Target.autoSnapStep() = 30 from snapOffset [LOG 19:57:45.047] [DR:d:55965] ... .autoSnapStep() = 30 [LOG 19:57:45.047] [DR:d:55965] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:Target: autosnap at 30 [LOG 19:57:45.047] [DR:d:55965] MDR:dockingPort2:4272916510:Host.enqueueFrozenRotation(): (0, 0, 0) -> (-2.31, 5.00, 0.00) [LOG 19:57:45.224] [DR:d:55965] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:None.updateOrgRot(): -57.68753° [LOG 19:57:45.224] [DR:d:55965] MDR:dockingPort2:964508452:Target.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:45.224] [DR:d:55965] JM:-1230154:dockingPort2:4272916510:None>dockingPort2:964508452:Target.updateOrgRot(): -57.68753° [LOG 19:57:45.224] [DR:d:55965] MDR:dockingPort2:4272916510:Host.doSetup(): joint PJ:dockingPort2:4272916510:Host>dockingPort2:964508452:Target [LOG 19:57:45.262] [DR:d:55966] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:45.263] [DR:d:55966] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:Target: enqueueRotation((0.00, 1.00, 0.00), -2.3125°, 5°/s, 0°/s), added [LOG 19:57:45.263] [DR:d:55966] MDR:dockingPort2:4272916510:Host.updateFrozenRotation(CHECK): (-2.3, 5.0, 0.0) -> (0.0, 0.0, 0.0) [LOG 19:57:45.263] [DR:d:55966] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:47.217] [DR:d:56048] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:Target.updateOrgRot(): -60° [LOG 19:57:47.217] [DR:d:56048] P:dockingPort2:4272916510:Host: rotation stopped [1], 1.94 electricity [LOG 19:57:47.233] [DR:d:56049] JM:-1230154:dockingPort2:4272916510:Host>dockingPort2:964508452:Target: removing rotation (done) [LOG 19:57:47.233] [DR:d:56049] VMM:-1204700:964508452:dockingPort2: securing autostruts [LOG 19:57:47.233] [DR:d:56049] V:964508452:dockingPort2.KJRNextCycleAllAutoStrut() [LOG 19:57:47.233] [DR:d:56049] ... .KJRNextCycleAllAutoStrut() [LOG 19:58:59.463] [DR:d:59245] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Part after reset BeforeChange [LOG 19:58:59.464] [DR:d:59245] ... .reset() BeforeChange after Part [LOG 19:58:59.556] [DR:d:59246] JM:-1230154:null.OnDestroy() # final docking [LOG 19:59:17.201] [DR:d:60014] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Ids after reset BeforeChange [LOG 19:59:17.201] [DR:d:60014] ... .reset() BeforeChange after Ids [LOG 19:59:17.201] [DR:d:60014] ... .isRepeated(): repeated JointUpdate after reset BeforeChange [LOG 19:59:17.201] [DR:d:60014] ... .isRepeated(): repeated Action after reset BeforeChange I was able to reproduce it only a couple of times, most attempts were successful. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted July 15, 2019 Author Share Posted July 15, 2019 Ok @Psycho_zs, I will make some more testing. Not much KSP time now, it'll take a few days. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted July 16, 2019 Author Share Posted July 16, 2019 By the way, @Psycho_zs, when the angle is NaN It means that DockRotate thinks the port is not docked. What happens if you time warp or save/reload in this case? Quote Link to comment Share on other sites More sharing options...
Psycho_zs Posted July 16, 2019 Share Posted July 16, 2019 Timewarp does nothing. Upon loading a quicksave everything goes back to normal and angle correction happens. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted July 16, 2019 Author Share Posted July 16, 2019 Are the docking ports stock? Quote Link to comment Share on other sites More sharing options...
Psycho_zs Posted July 17, 2019 Share Posted July 17, 2019 Just tried with a clean game, same. It seems the game does not report docking. 7:39:12 messages are from successful proper docking, with the first message here from stock game, I presume. Then just silence, despite a couple of dockings happened since. [LOG 07:39:12.491] Docking to vessel Docktest [LOG 07:39:12.493] [DR:d:13108] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Ids after [LOG 07:39:12.493] [DR:d:13108] ... .reset() BeforeChange after Ids [LOG 07:39:12.493] [DR:d:13108] ... .isRepeated(): set Ids after reset BeforeChange [LOG 07:39:12.494] [DR:d:13108] ... .reset() BeforeChange after Ids [LOG 07:39:12.494] [DR:d:13108] ... .isRepeated(): repeated JointUpdate after reset BeforeChange [LOG 07:39:12.494] [DR:d:13108] ... .isRepeated(): repeated JointUpdate after reset BeforeChange [LOG 07:39:12.497] [DR:d:13108] ... .isRepeated(): repeated Action after reset BeforeChange [LOG 07:39:12.499] [DR:d:13108] ... .isRepeated(): repeated Action after reset BeforeChange [LOG 07:39:12.511] [DR:d:13108] JointMotion.get(): created JM:-463244:dockingPort2:1929589575:None>dockingPort2:1321144049:None [LOG 07:39:12.511] [DR:d:13108] JM:-463244:dockingPort2:1929589575:None>dockingPort2:1321144049:None.updateOrgRot(): -0.04845664° [LOG 07:39:12.512] [DR:d:13108] MDR:dockingPort2:1321144049:Target.doSetup(): joint PJ:dockingPort2:1929589575:None>dockingPort2:1321144049:Target [LOG 07:39:12.512] [DR:d:13108] JM:-463244:dockingPort2:1929589575:None>dockingPort2:1321144049:Target.updateOrgRot(): -0.04845664° [LOG 07:39:12.512] [DR:d:13108] MDR:dockingPort2:1929589575:Host.doSetup(): joint PJ:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target [LOG 07:39:12.512] [DR:d:13108] ... .autoSnapStep() = 30 from snapOffset [LOG 07:39:12.513] [DR:d:13108] ... .autoSnapStep() = 30 [LOG 07:39:12.513] [DR:d:13108] MDR:dockingPort2:1321144049:Target.autoSnapStep() = 30 from snapOffset [LOG 07:39:12.513] [DR:d:13108] ... .autoSnapStep() = 30 [LOG 07:39:12.513] [DR:d:13108] JM:-463244:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target: autosnap at 30 [LOG 07:39:12.514] [DR:d:13108] MDR:dockingPort2:1929589575:Host.enqueueFrozenRotation(): (0, 0, 0) -> (0.05, 5.00, 0.00) [LOG 07:39:12.515] Camera Mode: AUTO [LOG 07:39:12.519] [DR:d:13108] JM:-463244:dockingPort2:1929589575:Host>dockingPort2:1321144049:None.updateOrgRot(): -0.04845664° [LOG 07:39:12.519] [DR:d:13108] MDR:dockingPort2:1321144049:Target.doSetup(): joint PJ:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target [LOG 07:39:12.519] [DR:d:13108] JM:-463244:dockingPort2:1929589575:None>dockingPort2:1321144049:Target.updateOrgRot(): -0.04845664° [LOG 07:39:12.519] [DR:d:13108] MDR:dockingPort2:1929589575:Host.doSetup(): joint PJ:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target [LOG 07:39:12.647] [DR:d:13109] V:1889886728:probeStackSmall.KJRNextCycleAllAutoStrut() [LOG 07:39:12.658] [DR:d:13109] JM:-463244:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target: enqueueRotation((0.00, 1.00, 0.00), 0.0485°, 5°/s, 0°/s), added [LOG 07:39:12.658] [DR:d:13109] MDR:dockingPort2:1929589575:Host.updateFrozenRotation(CHECK): (0.0, 5.0, 0.0) -> (0.0, 0.0, 0.0) [LOG 07:39:12.660] [DR:d:13109] V:1889886728:probeStackSmall.KJRNextCycleAllAutoStrut() [LOG 07:39:12.919] [DR:d:13118] JM:-463244:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target.updateOrgRot(): 0° [LOG 07:39:12.919] [DR:d:13118] P:dockingPort2:1929589575:Host: rotation stopped [1], 0.26 electricity [LOG 07:39:12.950] [DR:d:13119] JM:-463244:dockingPort2:1929589575:Host>dockingPort2:1321144049:Target: removing rotation (done) [LOG 07:39:12.950] [DR:d:13119] VMM:-437648:1889886728:probeStackSmall: securing autostruts [LOG 07:39:12.951] [DR:d:13119] V:1889886728:probeStackSmall.KJRNextCycleAllAutoStrut() [LOG 07:39:12.951] [DR:d:13119] ... .KJRNextCycleAllAutoStrut() [LOG 07:39:15.239] [AsteroidSpawner]: No new objects this time. (Odds are 1:2) [LOG 07:39:22.865] [DR:d:13435] DockRotate.VesselMotionManager+StructureChangeInfo.isRepeated(): set Part after reset BeforeChange [LOG 07:39:22.865] [DR:d:13435] ... .reset() BeforeChange after Part [LOG 07:39:22.934] [DR:d:13436] JM:-463244:null.OnDestroy() [LOG 07:39:29.570] [PlanetariumCamera]: Focus: Docktest Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 19, 2019 Author Share Posted October 19, 2019 New release for 1.7, working on 1.8 soon™. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 20, 2019 Author Share Posted October 20, 2019 Having trouble with rotation speed and step controls... Quote Link to comment Share on other sites More sharing options...
Brigadier Posted October 20, 2019 Share Posted October 20, 2019 5 hours ago, peteletroll said: Having trouble with rotation speed and step controls... Good luck solving the problem. I know you'll get it. Thanks for your continued support of this mod. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 21, 2019 Author Share Posted October 21, 2019 A quick update: DockRotate for 1.7 mostly works on 1.8. The PAW entries for rotation speed and step are buggy on 1.8, and can't be used. It's a problem other mods have. I hope we can get this fixed soon, I'll try to find an acceptable workaround in the meantime. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 22, 2019 Author Share Posted October 22, 2019 I made a temporary release for KSP 1.8. The widgets DockRotate uses for setting rotation step and speed seem to be broken on KSP 1.8. I replaced them with simpler ones, but it's harder to set precise values now. Anyway, you can set any value you want with the "#" button in the part menu. Sorry for the ugly hack, I hope this gets fixed soon... Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 22, 2019 Author Share Posted October 22, 2019 I filed a bug report for misbehaving controls here. Please upvote the bug! Quote Link to comment Share on other sites More sharing options...
leatherneck6017 Posted October 22, 2019 Share Posted October 22, 2019 58 minutes ago, peteletroll said: Please upvote the bug! Upvoted. Thanks for the temp fix. Quote Link to comment Share on other sites More sharing options...
King Arthur Posted October 22, 2019 Share Posted October 22, 2019 1 hour ago, peteletroll said: I filed a bug report for misbehaving controls here. Please upvote the bug! Took a while to figure out where the upvote thing was, but now it has one more upvote. :V This mod is a lifesaver, I really do appreciate your continued development of it. Quote Link to comment Share on other sites More sharing options...
flart Posted October 28, 2019 Share Posted October 28, 2019 There was some discussion about working with Konstruction Ports, but I didn't found the answer to you want to introduce the weld option to this mod? cons for that would be: Merging Ports is a portion of the Konstruction.dll, also Konstruction have parts, and rely on USI_tools, which also have some patches and .dll and all of this is USI world, and intended to work all together. Merging Ports there do not need any additional parameters or actions as Compress Parts (Rotate), snapping, torque or port roll from Konstruction, all already there, only the "Compress". Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 28, 2019 Author Share Posted October 28, 2019 @flart, I don't consider adding welding option because Konstruction Ports already have it, and it's been reported to be compatible with DockRotate: you dock, then you align with DockRotate, then you weld with Konstruction Ports. Let me know if anything changed. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 30, 2019 Author Share Posted October 30, 2019 +++ Mods * FloatEdit and ScaleEdit PAW prefabs fixed. Yay @Lisias!!! Expect release soon™. Quote Link to comment Share on other sites More sharing options...
Lisias Posted October 30, 2019 Share Posted October 30, 2019 3 hours ago, peteletroll said: +++ Mods * FloatEdit and ScaleEdit PAW prefabs fixed. Yay @Lisias!!! Expect release soon™. To tell you the true, it's not exactly necessary - at least apparently. Users of TweakScale 2.4.3.7 under Steam are reporting everything is working fine suddenly. I'm polishing some error messages, however. So a new release is on the way. Quote Link to comment Share on other sites More sharing options...
peteletroll Posted October 31, 2019 Author Share Posted October 31, 2019 New release for 1.8.1! Quote Link to comment Share on other sites More sharing options...
leatherneck6017 Posted October 31, 2019 Share Posted October 31, 2019 1 hour ago, peteletroll said: New release for 1.8.1! Thanks! Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted October 31, 2019 Share Posted October 31, 2019 1 hour ago, peteletroll said: New release for 1.8.1! You need to update the thread title, it still says 1.7 Quote Link to comment Share on other sites More sharing options...
peteletroll Posted November 1, 2019 Author Share Posted November 1, 2019 New release! Some log spamming removed. Quote Link to comment Share on other sites More sharing options...
TanDeeJay Posted December 29, 2019 Share Posted December 29, 2019 (edited) I'm trying to attach some RoveMax Model XL3 to a fuel transport rover I've built around a Mk3 Rocket Fuslage Long, and to be able to fit it within the large faring, I was wanting to use the BF-50 Size 1 Step motor to be able to rotate the wheels 90 degrees for launch, however, I can't figure out how to connect the XL3 wheels to the BF-50. It just doesn't want to attach. The attachment point doesn't show up on the BF-50 when I have the wheel I'm trying to attach. Any ideas on how to attach wheels to the Step motor's? Edited December 29, 2019 by TanDeeJay Quote Link to comment Share on other sites More sharing options...
peteletroll Posted December 30, 2019 Author Share Posted December 30, 2019 (edited) On 12/29/2019 at 2:11 AM, TanDeeJay said: Any ideas on how to attach wheels to the Step motor's? The wheels are radial-attached, and NodeRotate needs a node-to-node connection. You can try putting a node-attached part like this and stick the wheel to it. Edited December 30, 2019 by peteletroll Added image Quote Link to comment Share on other sites More sharing options...
peteletroll Posted February 14, 2020 Author Share Posted February 14, 2020 It works on 1.9.0. 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.