- The
?
operator can now also be used onOption<T>
in functions that return aResult<T>
- Example:
pub fn main_flight(vessel: Vessel) -> Result<Unit> = { const target = vessel.target? // <-- Will fail with error if vessel has no target }
- Example:
- VSCode extension now tries to read
reference.json
from the currently installed version ofKontrolSystem2
- It will no longer be necessary to update the extension with every release to make a (small) API change visible in
VSCode
- It will no longer be necessary to update the extension with every release to make a (small) API change visible in
- Add
.is_empty
and.is_not_empty
to arrays - Basic bindings for waypoints
- Add
body.waypoints
- Add
ksp::orbit::find_waypoint(name: string)
- Add
- Fix:
WheelThrottleManager
is now doing what its name suggests - Make cleaner distinction between orbit and orbit patch:
ksp::orbit::Orbit
is not more (or less) then a standalone Kepler orbit that can be used for orbital calculationksp::orbit::OrbitPatch
is a section of a Kepler orbit that is part of aksp::orbit::Trajectory
of a vesselvessel.trajectory
now returns aksp::orbit::Trajectory
, for compatibilityksp::orbit::Trajectory
can be used
(almost) like aksp::orbit::OrbitPatch[]
(i.e. it can be used in afor
loop andvessel.trajectory[0]
still works)- Properties ein
vessel.maneuver
have been updated accordingly
- Add
true_anomaly_at_ut(ut: float)
toksp::orbit::Orbit