Jump to content

[1.9.*, 1.10.*, 1.11.*] DockRotate - lightweight robotics - rotational control on docking ports (plus NodeRotate, make any part rotate)


peteletroll
 Share

Recommended Posts

I rarely have an issue with DockRotate but currently a craft that has worked for DR fine isn't working now.  I haven't made any changes.  The "rotate clockwise (+)" and "rotate counterclockwise (-)" are not appearing in the Part Action Window, but all other DR related things are there; the enable/disable rotate works "clicks" fine for example.

I did find these in the log, but other than these there are no DR relate errors or warnings.  Any ideas?

[WRN 00:43:08.150] Cannot create config from file '/home/marty/ksp1.11.2/KSP_linux/GameData/DockRotate/DockRotate-Realism.cfg'.
[WRN 00:43:08.150] Cannot create config from file '/home/marty/ksp1.11.2/KSP_linux/GameData/DockRotate/NodeRotate.cfg'.
 

Link to comment
Share on other sites

9 hours ago, darthgently said:

I rarely have an issue with DockRotate but currently a craft that has worked for DR fine isn't working now.  I haven't made any changes.  The "rotate clockwise (+)" and "rotate counterclockwise (-)" are not appearing in the Part Action Window, but all other DR related things are there; the enable/disable rotate works "clicks" fine for example.

I did find these in the log, but other than these there are no DR relate errors or warnings.  Any ideas?

[WRN 00:43:08.150] Cannot create config from file '/home/marty/ksp1.11.2/KSP_linux/GameData/DockRotate/DockRotate-Realism.cfg'.
[WRN 00:43:08.150] Cannot create config from file '/home/marty/ksp1.11.2/KSP_linux/GameData/DockRotate/NodeRotate.cfg'.
 

Have you checked read/write permissions on ../GameData/DockRotate/ folder ? Assuming that it is your personal computer, it should be safe to put 777 mod on that folder. Otherwise, it might be issue with DLL not being loaded properly and to confirm that you should provide full log to see what is going on. Some plugins fail to load properly if some other plugin from other mod failed to load before DockRotate and following mods.

Link to comment
Share on other sites

44 minutes ago, kcs123 said:

Have you checked read/write permissions on ../GameData/DockRotate/ folder ? Assuming that it is your personal computer, it should be safe to put 777 mod on that folder. Otherwise, it might be issue with DLL not being loaded properly and to confirm that you should provide full log to see what is going on. Some plugins fail to load properly if some other plugin from other mod failed to load before DockRotate and following mods.

I can't imagine what would have changed the perms there.  I'm on linux and haven't type "chmod" or "chgrp" in about a year.  Can module manager or other change perms?

[Edit]  Neither of us read the WRN message close enough.  It isn't a perm error, it is the fact that both files end in .cfg and yet neither file has any config statements as they are example files and completely commented out.  So there are zero WRN, EXC, or ERR msg in KSP log for DR.  Hmmm.  I'll try rebooting later as that is the path of least effort and nothing has been updated or altered install-wise since it worked fine.  Probably spurious inductance from a cosmic ray hitting a bit that stuck up too far above the rest

Edited by darthgently
Link to comment
Share on other sites

3 hours ago, darthgently said:

I can't imagine what would have changed the perms there.  I'm on linux and haven't type "chmod" or "chgrp" in about a year.  Can module manager or other change perms?

[Edit]  Neither of us read the WRN message close enough.  It isn't a perm error, it is the fact that both files end in .cfg and yet neither file has any config statements as they are example files and completely commented out.  So there are zero WRN, EXC, or ERR msg in KSP log for DR.  Hmmm.  I'll try rebooting later as that is the path of least effort and nothing has been updated or altered install-wise since it worked fine.  Probably spurious inductance from a cosmic ray hitting a bit that stuck up too far above the rest

Yes, WRN might be harmless, but lately I saw similar of those warning in other people logs when it happened after some plugins (assemblies) failed to load properly. So, check if you have some of those errors, most often within 1/3 from begining of log file.

Edited by kcs123
typo
Link to comment
Share on other sites

  • 1 month later...

Is "rotate to snap" supposed to always achieve perfect alignment?  It mostly does for me, but often doesn't and instead gets somewhere below 0.2 degrees, but not zero.
Also, does the stock dock rotation in 1.12.x play well with DR?  I'm having an issue where ports that were aligned, are misaligning somewhere < 0.2d within the same scene (no leaving scene and coming back etc)

 

Link to comment
Share on other sites

On 6/28/2021 at 4:06 AM, peteletroll said:

After some testing in 1.12, it looks like it's working. I'll release a recompiled version soon™.

It has some problems when used together with the new stock rotation: if you rotate with DR then with stock, or vice versa, you get weird results. So, until I find a workaround, please use just one of them at a time!

Is there a setting to turn off 1.12 stock rotation functionality?  It seems to be interfering even if I don't touch it in the PAW

Link to comment
Share on other sites

1 hour ago, darthgently said:

Is there a setting to turn off 1.12 stock rotation functionality?  It seems to be interfering even if I don't touch it in the PAW

Nvrmnd, further searching led me to the mod that fixes a lot of this.  Trying it now.  If I'm behind the curve and this mod doesn't work I won't be offended if you delete this post with the link to it. 

Thanks for all the work, very much appreciated.

https://github.com/KSPModdingLibs/KSPCommunityFixes

Edited by darthgently
Link to comment
Share on other sites

19 hours ago, darthgently said:

Nvrmnd, further searching led me to the mod that fixes a lot of this.  Trying it now.  If I'm behind the curve and this mod doesn't work I won't be offended if you delete this post with the link to it. 

Thanks for all the work, very much appreciated.

https://github.com/KSPModdingLibs/KSPCommunityFixes

There is another community fix for same issue. You might want to try that one if KSP Community fixes does not solve issue.

 

Link to comment
Share on other sites

3 hours ago, kcs123 said:

There is another community fix for same issue. You might want to try that one if KSP Community fixes does not solve issue.

 

I tried that one and it also disappeared the DockRotate (the mod, not the stock rotation) options from the PAW and too many of the craft in my current game require dock rotate (dock port mounted engine pods etc) where alignment is critical.  I also tend to lean to solution that are hosted on CKAN for maintenance sanity reasons.

But how does DockRotate avoid the magic accelerations?  Or sure seems to avoid them in my game

 

Edited by darthgently
Link to comment
Share on other sites

22 hours ago, darthgently said:

I tried that one and it also disappeared the DockRotate (the mod, not the stock rotation) options from the PAW and too many of the craft in my current game require dock rotate (dock port mounted engine pods etc) where alignment is critical.  I also tend to lean to solution that are hosted on CKAN for maintenance sanity reasons.

But how does DockRotate avoid the magic accelerations?  Or sure seems to avoid them in my game

 

DockRotate seems to use an entirely different ~~and better~~ rotation system than Stock.

Link to comment
Share on other sites

  • 4 months later...
On 11/10/2021 at 6:46 AM, darthgently said:

The "rotate clockwise (+)" and "rotate counterclockwise (-)" are not appearing in the Part Action Window, but all other DR related things are there; the enable/disable rotate works "clicks" fine for example.

Did you resolve this issue?  I am having the same problem.  I'm using 1.10.3, and have no warnings that I've spotted!

Thanks

Link to comment
Share on other sites

4 minutes ago, eatU4myT said:

Did you resolve this issue?  I am having the same problem.  I'm using 1.10.3, and have no warnings that I've spotted!

Thanks

As I recall, exiting/reentering the game did it at the time.  But it might also have been in combination with this mod to address stock dock rotation issues. https://github.com/KSPModdingLibs/KSPCommunityFixes .  Do not mix usage of stock rotation and DR.  Disable stock rotation in the PAW for each port.  But honestly, I can't remember what caused that issue to come and go at this point.

Link to comment
Share on other sites

  • 1 month later...

Have used this excellent mod for some time now, but something's recently gone wrong with it. When I rotate to snap a docking port, the rotation angle changes as usual on the docking port pop-up but nothing actually rotates. Then the whole vessel suddenly starts to spin wildly. Now the mod is unusable. I've tried uninstalling and reinstalling it. No change.

Has this been seen before and there's a simple fix I'm missing, or do I need to provide a list of mods, etc. please?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...