1.4k
u/Elise211212 Jun 26 '22
Why are you wasting time on space stations with skills like that, you should be building the Iron Giant
480
1.6k
u/Electrical_Prior_374 Jun 26 '22
This is entirely under appreciated. This is some of the coolest engineering i have ever seen, and with fantastic programmong to boot. Good job
17
343
u/karantza Super Kerbalnaut Jun 26 '22
Right? I see how it's being done (though I wish I knew which autopilot!) and that makes it all the more impressive. It's like Penn & Teller's clear cups and balls trick.
→ More replies (1)189
u/LeHopital Jun 26 '22 edited Jun 26 '22
I don't see how it's being done. How is it being done?
EDIT: Just read one of the later comments. Very cool! Why does this not have thousands of upvotes?
327
u/lodurr_voluspa Jun 26 '22
Short answer is kOS and vector math.
59
u/LeHopital Jun 26 '22
Also, would this process continue if you switched focus to another craft while it was assembling? Could you just start the process, go do something else, and then come back and have it be assembled?
79
u/lodurr_voluspa Jun 26 '22
As long as the craft you switched to was inside physics range of the other pods it will continue apace. Get out of physics range and it will suspend everything.
→ More replies (2)→ More replies (4)66
u/LeHopital Jun 26 '22
Got it. Are those Vernor engines? Do you get those from a mod? I'm playing an earlier version so maybe I just don't have them.
→ More replies (2)88
u/lodurr_voluspa Jun 26 '22
Mosty ants and spiders with an occasional cub. All stock parts other than the kOS control part.
23
0
140
u/norsebeast Jun 26 '22
Clearly he must have been distracting the Kraken on the far side of the planet by jingling some keys or something.
62
u/lodurr_voluspa Jun 26 '22
Kraken is still trying to figure this out: https://www.reddit.com/r/KerbalSpaceProgram/comments/sa4jg9/why_did_the_picasso_design_team_only_land_a_3200/
Haven't seen it since.
2
→ More replies (2)17
194
u/No_Guidance1953 Jun 26 '22
Is it possible to lean this power?
148
u/lodurr_voluspa Jun 26 '22
KOS official documentation and youtube have some great tutorials to get started with.
0
201
13
34
u/Magdalus7 Jun 26 '22
So awesome .. but how do the parts know where to go?
83
u/lodurr_voluspa Jun 26 '22
It uses kos tags on each pod to set a control from dock and a target dock. Right after staging it searches all neighboring pods for its named target dock.
18
48
u/Arcadius274 Jun 26 '22
....well I can get to the mun like 90 percent of the time so there.
30
u/lodurr_voluspa Jun 26 '22
Hey, that's nothing to scoff at. KSP is hard.
18
u/Arcadius274 Jun 26 '22
Lol I joke I been playing since before release but this I could never pull this off. This is impressive as hell
20
u/wookiee_goldberg Jun 26 '22
Did you have to program in collision-avoidance logic for the initial break-up-and-organize phase so the swarm didn't RUD itself before starting the dockings?
20
u/lodurr_voluspa Jun 26 '22
Yep, though the collision avoidance logic is pretty elementary. Since they aren't moving quickly relative to each other I could keep it simple.
2
u/3636373536333662 Jun 27 '22
I'm curious how it works, as I don't remember anything in KOS for checking for nearby vessels. Do they transmit their positions to eachother?
5
u/lodurr_voluspa Jun 27 '22
There is an API call that will give you a list of ships nearby. Once you have a reference to the ship you can get the ships position and that position reference will keep getting updated with each physics slice.
→ More replies (2)
14
Jun 26 '22
Can you share that on the workshop? I'd love to see it in action on my machine. It's beautiful!
10
u/lodurr_voluspa Jun 26 '22
Going to put the scripts out on github. May upload the ship as well, but it will require knowing how kOS and boot scripts work and tying them back together.
11
6
u/SpaceHub Jun 26 '22
You'll probably have to individually tag the parts and dock though, this looks like a custom main script for this specific station with reusable functions (docking etc.)
→ More replies (1)
10
10
u/YourNetworkIsHaunted Jun 26 '22
...This may be the first recorded case of Rapid Planned Assembly.
2
9
u/manticore116 Jun 26 '22
I want to know how much monoprop you used lmao. Probably 2km/s in dV in rcs lol
Still though, cool af and definitely an awesome project!
17
u/lodurr_voluspa Jun 26 '22
Not an ounce of monoprop if you can believe it. The engines are mostly ants and spiders. Once assembled it can fly itself around like one of my eggships.
4
u/manticore116 Jun 26 '22
Still though, that's a lot of propellant lost during tracking. Out of curiosity, I've never messed with the kerbal programming, could you sequence it to just maintain a standoff until a previous component has docked? So you have a core and instead of all trying to dock at the same time, they go in order?
4
u/lodurr_voluspa Jun 26 '22
It's fuel use isn't as dramatic as it looks since most of the activity you see is at single digit percent of thrust limit.
I was looking more for rapid assembly rather than efficient assembly though there are multiple ways to make it use less fuel if that's desired too. Most efficient would be for it to hold at a somewhat fixed distance from the station and have the station rotate each docking port towards the next in line.
7
u/CasualBrit5 Jun 26 '22
Now that’s cool. How long did it take to program?
Also I expect someone to use this for a stickbug meme.
8
u/lodurr_voluspa Jun 26 '22
7 or 8 hours but its built on a lot of knowledge from my previous projects.
6
Jun 26 '22
How the hell are you getting that many frames? My standard RP1 install slaughters my PC.
7
5
u/skillie81 Jun 26 '22
This is insane! Time to download and learn KOS. You deserve a million upvotes. Coolest thing ive ever seen in ksp
1
5
u/SilkieBug Kerbonaut Jun 26 '22
Beautifully done, the skill required to accomplish this is off the charts.
You’re the person I’ve seen upload those eggships?
5
u/lodurr_voluspa Jun 26 '22
Thanks!
Yes, the eggships are mine as well. The code driving the pods is derived from the eggships.
→ More replies (1)
5
u/amalgam_reynolds Jun 26 '22
Kessler syndrome called, they want their collisional cascade back.
7
u/lodurr_voluspa Jun 26 '22
The ship can fly itself using the combined engines. So when doing it "for real" it can be assembled in a collision path with the atmosphere and then pull itself back up. That way the debris will burn up on reentry.
→ More replies (1)
4
3
u/thegovortator Jun 26 '22
I will literally cash app you $20 to show me your scripts for this I’m guessing this is KOS mod
1
3
u/niks_15 Jun 26 '22
50% of the ship is RCS thrusters
4
u/lodurr_voluspa Jun 26 '22
Ants and spiders. Not a single RCS thruster on it. :)
→ More replies (1)
3
u/LikesBreakfast Jun 26 '22
Well, if you want something to improve, that solar panel arrangement is kinda poor. In almost all attitudes (except two), you'll be getting less than full power at all times... I believe your best case static attitude would get you an average of about 70% throughout a year.
I recommend placing your panels so that they all rotate along the same axis. That way you can get close to 100% (except on a couple of days) throughout an entire year.
1
3
3
u/Nix_Frame Jun 26 '22
How did you make them assemble? I would love to do something like this on a much smaller scale haha
5
3
Jun 26 '22
Craft file?
3
u/lodurr_voluspa Jun 26 '22
Going to put the scripts out on github. May upload the ship as well, but it will require knowing how kOS and boot scripts work and tying them back together.
3
u/concorde77 Jun 26 '22
With all that debris from the fairing, I guess it's a self Kesslering space station too
2
u/lodurr_voluspa Jun 26 '22
Since the station can fly itself using all the small engines it can disassemble on a collision path with the atmosphere and then pull itself back up when complete.
3
u/phrogdontcare Jun 27 '22
is this kind of space station technology being considered in real life? it seems like a really good way of building space stations without needing a skilled astronaut onboard each compartment to control docking
→ More replies (1)3
u/lodurr_voluspa Jun 27 '22
Not that I am aware of, but it's completely technologically feasible.
→ More replies (1)
3
u/UnitatoPop Jun 27 '22
How'd you ensure the docking port alignment to be accurate?
2
u/lodurr_voluspa Jun 27 '22 edited Jun 27 '22
The "direction" that kOS gives me for where the target dock is pointing also includes rotational information. So I'm telling the ship to match the "direction" towards the target dock which will include rotating the ship to match the target dock rotation.
3
u/UnitatoPop Jun 27 '22
Oh wow really ? Is it dead on precise? Or there's a smidge of rotation ?
2
u/lodurr_voluspa Jun 27 '22
Seems to be pretty close. I've never been able to visually notice it being off.
→ More replies (2)
3
2.0k
u/vonbrauneye Jun 26 '22
This guy's out here playing Kerbal 3 while we're all still waiting for 2 to drop.
→ More replies (1)238
194
u/ShadowFiendSashimi Jun 26 '22
what are you iron man?
71
u/ChiefBroady Jun 26 '22
Was about to say, that’s some iron man level shit right there.
→ More replies (1)9
2
2
2
u/avalisk Jun 26 '22
I landed on the moon yesterday and walked around with a strut of accomplishment until this video.
1
u/lodurr_voluspa Jun 26 '22
My first moon landing is still my second favorite kerbal achievement in terms of how awesome it felt.
2
2
Jun 26 '22
This is so well executed, been watching this over and over picking up little details each time. Good excuse for me to jump back on and stress myself out for hours without ever leaving the launch pad, thanks for the inspiration!
1
2
u/bagginsses Jun 26 '22
Are you a control engineer IRL? This is above all else the coolest thing I've seen in KSP! Great work! I hope to even be able to dock two ships with kOS some day.
1
u/lodurr_voluspa Jun 26 '22
No, I should probably learn some because I think I am reinventing the wheel a lot.
2
2
Jun 26 '22
What happens to all the debris?
4
u/lodurr_voluspa Jun 26 '22
Heads back down into the atmosphere while the station uses the engines to pull itself back to full orbit.
2
2
u/caelorcaaaa Jun 26 '22
Okay…..now how the F@$&# did you build that perfection of kerbal engineering
1
2
2
u/Ali_Army107 Jun 27 '22
How do you control multiple ships at once?
2
u/lodurr_voluspa Jun 27 '22
The pods are controlling themselves via kOS scripts. Only thing I'm doing in the video is hitting the spacebar to set it off.
2
2
u/ap2patrick Jun 27 '22
Have you played From the Depths?
1
u/lodurr_voluspa Jun 27 '22
Nope, don't have much gaming time these days so mostly just play Kerbal when I have a spare leisure minute.
2
2
u/QueenOrial Jun 27 '22
It seemed so chaotic at first. I can't believe it's actually works how it intented and smooth. Did you use some sort of script and mod for those?
2
u/lodurr_voluspa Jun 28 '22
kOS which allows me to write some scripts to control the individual pods.
2
u/QueenOrial Jun 28 '22 edited Jun 28 '22
Can I use this to launch stuff from mothership plane? or it won't work for stuff in atmosphere an/or outside of physics loading rage?
2
u/lodurr_voluspa Jun 28 '22
Atmospheric docking and/or docking in a gravity well is considerably harder and requires loads more fuel to pull off. It's not impossible, but this particular script won't do it.
It will also only work in physics loading range, but kOS can set physics loading range for individual craft to make it longer than normal (be warned of strange consequences though!)
2
2
2
2
60
58
54
101
20
u/gerusz Jun 26 '22
And here I am, being proud of my self-deploying relays that just use Smart Parts and basic robotics. Good job!
8
19
18
17
u/kasmith2020 Jun 26 '22
I haven’t played KSP since 1.0 finally launched. When I left the modding community was going nuts (in a good way), the asteroids had been added, and the career mode was new. I put 500 hours into the sandbox before that.
THIS fucking blows my mind.
13
11
7
u/that_baddest_dude Jun 26 '22
Holy fucking shit, dude. This is straight up the most insane thing I've ever seen in this game, bar none.
And I've seen some insane things. What the fuck?
7
7
u/147896325987456321 Jun 26 '22
I swear, if we put the top 10% of Kerbal space players in NASA, we would have a Metroplex Transformer on the moon, Gundams on Mars and unlimited resources on earth within 5 years.
6
6
6
6
6
6
u/snake8head Jun 26 '22
Some serious proto-molecule vibes here. Thing explodes into pieces and reassembles itself into something else.
6
2
u/_ara Jun 26 '22
Best build and some of the worst camera work
6
u/lodurr_voluspa Jun 26 '22
Every time you dock it resets the camera. So not a lot that can be done there.
→ More replies (1)
5
5
5
5
u/Radprosium Jun 26 '22
Great job man, every so often, someone in here just pushes the limit of what we thought could be done in this game and inspire us all, today it's you, huge kudos !
GG
5
u/s1hrlpmysanity Jun 27 '22
I cant even dock shit in orbit and people be out here automating that shit🥹🔫
4
u/HODOR00 Jun 26 '22
How the fuck did you do this?
13
u/that_baddest_dude Jun 26 '22
There's a mod called kOS that lets you write your own scripts to automate ships and whatnot. They used that.
Which of course is a gross oversimplification, but that's the gist.
→ More replies (1)14
u/GoBuffaloes Jun 26 '22
Step one: install kOS
Step two: ???
Step three: self-assembling space station
→ More replies (1)
4
4
u/no-parachutes Jun 26 '22
Loved the final solar panel extension. Like a final flourish with a Tadaaaaaaa!
4
u/Starchaser_WoF Jun 26 '22
It's like watching an explosion and then all the fragments come back together to form something new
4
4
4
u/Apache_Sobaco Jun 26 '22
This is possible with Kos and actually not that hard, just takes time. You need to compute trajectories and make kos code that shifts you to the position. Then just pass (time; waypoint) data to each part and it will work.
3
3
3
3
3
u/Elektriman Jun 26 '22
At first i thought you decoupled you station and reversed the footage. But this is real ! Omg that is sooo cool !
3
3
u/Dedboy Jun 26 '22
I haven’t played this game in years cause it makes my brain hurt but my god y’all get up to some of the wildest shit, it’s always a joy to watch
3
3
3
3
3
u/QuebecLimaSierra Jun 27 '22
I accidentally got into orbit the last time I played and felt like a rocket scientist... You might actually be a rocket scientist.
3
u/woolywoo Jun 27 '22
This is really fucking impressive, and furthermore I have no idea how it was done despite being at 1500+ hours in KSP.
3
u/LucifersViking Jun 27 '22 edited Jun 27 '22
What kind of Adderall do I have to take to make this.
Damn it's impressive
3
3
3
3
3
3
u/Comfortable-Gas4425 Jun 27 '22
Me: most of the time doesn't get my rockets into orbit. Other players: Building working Dyson spheres in their lunch break.
3
979
u/lodurr_voluspa Jun 26 '22
My latest science station has a full crew compliment of 40, replete with a fuel depot, communications pod, and docking zone. The hab area doubles as life rafts, as they can each detach and survive re-entry.
Also, it puts itself together for me, which is nice.The assembly is sped up to be respectful of the viewers time.
Actual assembly is about 6 minutes. One of the biggest issues was that the physics engine seems to impart some excess energy to the docking vessels immediately after they are docked. Normal physics don't seem to affect it, as even very clean docks to large objects result in some violent rocking motion. So the pods had to be able to account for that and reset if their path was interrupted by the reaction of another pod docking.