After fiddling around with vs-additions, I was able to successfully make a recharging station that consistently connects and disconnects. Then I added a few functions to my ship controller to make it easy to add docking points.
Does that mean its path algorithm will now be able to determine the most efficient route of docking ports to get from a to b?
This is indeed the LQR ship controller, however the issue of getting from point a to b is a separate one, which I’ve been working on.
I’ve implemented some naive path following, but really the problem is actually two parts: find an obstacle-free path between two points (very hard, will require a functional raycaster from SomePeripherals, or a working world scanner), and then forming a feasible trajectory along that path (move along it at a given velocity, without exceeding max accelerations, etc)
I’m tackling the second part of that problem now.
Thanks! I’m using clockwork (propellers), CC:Tweaked + CC:VS (getting ship info and handling all the maths), Create: Crafts and Additions (electricity stuff), Tweaked Controllers (gamepad controller)
Those are the relevant ones
@lugia831999 hey so, small question, how’d you figure out the thrust of the propellers to control them accordingly?
You definitely do need to take them into account! I decompiled the clockwork mod jar and looked at the code for how propeller thrust is calculated, and then just refactored it into Lua
Not on my computer, but this is the decompiled code
https://discord.com/channels/244934352092397568/1088199254658523289/1251236711107923998
just asking can somebody send the link for VS Additions i can’t seem to find it
are you going to publish the LQR controller you have used in some previous videos?
I plan to, I just want to make the controller as robust and simple to configure and use as possible first. One of the last big hurdles was trajectory following though, so I think I’m almost at that point
This conversation is on Discord · Reply there