appenz / kerbal2 Goto Github PK
View Code? Open in Web Editor NEWAutomation for KSP2 written with KontrolSystem2.
License: Apache License 2.0
Automation for KSP2 written with KontrolSystem2.
License: Apache License 2.0
Very large ships need a lot more than the 10 seconds default time to line up correctly. Need to add logic that either detects when they have oriented.
Hi,
I just starting with TO2, and your code seems to be a good starting point.
Unfortunatly, It seems to be issue in the glib.
I can't boot KS2
Rebooted in 00:00:01.7258968
ERROR: [glib\transfer.to2(61, 132)] IncompatibleTypes
Cannot BitXor a float with a int
ERROR: [glib\transfer.to2(61, 45)] ArgumentMismatch
Argument d of 'sqrt' has to be a float, but Unit was given
ERROR: [glib\transfer.to2(67, 78)] IncompatibleTypes
Cannot BitXor a float with a float
ERROR: [glib\transfer.to2(67, 18)] IncompatibleTypes
Cannot Mul a float with a Unit
ERROR: [glib\transfer.to2(67, 122)] IncompatibleTypes
Cannot BitXor a Unit with a float
ERROR: [glib\transfer.to2(66, 5)] IncompatibleTypes
Function 'hohmannTime' returns Unit but should return float
I try to make some change, with no succes. I have to read the TO2 specs ;)
The first line in error :
sync fn hohmannPhaseAngle(self, alt_start: float, alt_end: float, o: Orbit) -> float = {
return 180*(1-(1/(2*sqrt(float2))*sqrt((1+(alt_start+o.reference_body.radius)/(alt_end+o.reference_body.radius))^3)))
}
Maybe each number have to be cast as Float ?
Thx for your help,
DimiBD
The ejection burn from Kerbal for transfers to Mun and Minimums is wrong for patch 0.2.0 and the spacecraft never reaches the SoI of the other body.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.