KSP Lalande log 3

// 60101 Mun autolander program test

Second iteration of autoland script for kOS. Script waits until over target within 10 degrees, then executes retro burn followed by pitch control to track onto landing target. Multiple failed iterations. Current script does not auto-throttle for descent phase, but managed to crash directly into the landing target. Success. Image 1, 2, 3, 4.

Full script:

// kOS semi-autoland. (c) 2016 Aaron Lahman
// Source license: http://www.wtfpl.net/txt/copying/

// this script assumes a targeted vessel/object for landing, and the
// ship is already on a flight path over the target.

print "mode: flyby".

// phase 1: target acquisition
lock shipFuturePosition to ship:position + (ship:velocity:surface * 5.0).
lock dTarget to (shipFuturePosition - target:position).
wait until VECTORANGLE(target:up:vector, dTarget) < 15.

// phace 2: retro burn to enter descent
print "mode: retro burn turn".
lock steering to ship:srfretrograde.
wait until VECTORANGLE(ship:facing:vector, ship:srfretrograde:vector) < 10.

print "mode: retro burn".
SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0. // cancel any old pilot input
lock throttle to 1.0.
wait until ship:velocity:surface:mag < 20.0.

// phase 2: controlled descent 
print "mode: final approach".
unlock throttle.
lock desiredVelocity to ship:altitude / 100.0 + 3.0.
lock dTargetCorrection to ship:up:vector - dTarget:normalized. // orientation correction
lock steering TO ship:up:vector + dTargetCorrection * 0.5.
wait until ship:status = "LANDED".

print "done".
unlock steering.
unlock throttle.

KSP Lalande log 2

// 51228 Solar Science Probe

Mun base construction lacks sufficient solar technology; rush construction of a solar science probe. Collect about 100 science for unlocking advanced electronics. 1×6 solar panels and KIS screwdriver will be essential for Munar colony mission to follow. Image

// 51228b Mun base Alpha hab dry run

Deployed the Mun base Alpha lander and hab assembly kit on Kerbin near KSC to verify proper function of KIS assembly and practice base assembly. Forgot screwdriver. Delivered screwdriver by UAV. Some glitches in assembly, but all mistakes were correctable. Crew quarters and hydroponics deployed. Need further verification to ensure sufficient electrical supply; may need supplementary solar to be delivered later. Dry run success. Image 1, 2.

// 51229 Mun base Alpha deployment

Developed new 20t lifter. 4 booster + 1 stage to orbit. Additional 2.5m x 2 fuel pod added for Mun transfer burn and orbital capture, to be left in orbit for future refueling needs. Deployment and assembly of base successful. Misunderstanding about supplies stored in inventory; will need to figure out how to resupply within 15 days. Image at Kerbin, landing, unpacking, assembled.

KSP – Lalande Server log 1

Getting back into Kerbal Space Program with some folks using the multiplayer mod. Taking mission notes to refer back to.

// 51224 Mun landing

Manned mission to Mun for science and practice. First attempt success. Touched down 1.2km from CK’s landing zone (for the bragging rights). Image 1, 2.

// 51225 Minmus probe

Unmanned probe to land on Minmus and collect science. First launch failed; insufficient batteries, became space trash. Redesigned. Successful landing. Image 1, 2.

// 51226 Minmus manned landing

Staging malfunction in first mission resulting in early return. Second mission success. Gathered samples from two biomes and some science experiments. 441.5 science gathered. Image.

// 51226b Space station science module

Adding a science module to CK’s existing station. Only had a crew report to add; should consider future mission to bring surface samples up to space for study to increase science yield. Docking a little stressful due to low FPS due to multiplayer mod, but docking was successful, no damage. Problems deorbiting main lifter; left as space trash (sorry!). Image 1, 2.

KSP – Budget (Challenge)

It’s time for another Weekly Challenge: Budget Crisis. This time, Reddit challenges us to visit a Kerbin moon in 15 parts or less.

The part about deadly reentry is real. I have an unofficial tweak to the Deadly Reentry mod, (my fork is on github). In short, all but the shallowest approaches results in breaking apart and exploding.

KSP – Falling (challenge)

The /r/kerbalspaceprogram subreddit holds a weekly Kerbal Space Program challenge. This week challenge, “Fall with style,”  is to rescue a Kerbal that’s gone EVA on a suborbital trajectory — without reentering a vehicle.

Here are my results:

Continue reading “KSP – Falling (challenge)”