jbakes
Members-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by jbakes
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I thought I tried that but thanks it works!- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I have't learned PID controllers and Vectors yet. I've taken calc 1-3 so I understand the math just not the koS code. I was going to look into those next but for now all I'm doing is getting a craft vertical to 500m and then falling back down and landing but I want the throttle to turn off when it altitude starts increasing and turn back on when it starts decreasing again.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Hey guys so I'm trying to write a simple hover script. My main problem is that I need a way to turn off the thrust if the ship starts increasing in altitude and then turn back on when it starts to decrease again. I have my steering locked to velocity:surface*-1 so whenever it starts to increase in altitude it starts flipping around but if I could turn off the throttle till it starts falling again then it would fix the problem. if ship:surface:velocity:vector < 1 lock thrott to 1. if ship:surface:velocity:vector > 1 lock thrott to 0 Basically something like that. Is there any code that can tell if my ship velocity is negative or positive?- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Awesome, thank you! I have another question. I'm trying to set an ascent profile based on time and pitch. Basically I want it to change the pitch by 0.2 degrees every 0.2 seconds. The script runs with no problems but the pitch is locked at 90 and never updates. Any ideas why? Clearscreen. wait 2. Print "Ascent Script Loaded!". wait 2. Clearscreen. Print "Launching!". wait 1.5. Clearscreen. stage. WHEN MAXTHRUST = 0 THEN { PRINT "Staging". WAIT 0.5. STAGE. WAIT 0.5. PRESERVE. } LOCK THROTTLE TO thrott. LOCK STEERING TO HEADING(steeringDir,shipPitch). SET steeringDir to 90. SET shipPitch to 90. SET thrott TO 1. if shipPitch > 1 { WAIT 0.2. SET shipPitch to shipPitch-0.2. } WAIT UNTIL apoapsis > 85000.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Okay so today I wrote some other scripts and it works fine. Yes the fps drop only happens when running a script, the IPS is set to default. This is the script that keeps lowering the fps. I'm guessing my problem lies in the pitch change script. Probably something to do with it continuously looping that's bogging down my computer. Clearscreen. wait 2. Print "Ascent Script Loaded!". wait 2. Clearscreen. Print "Launching!". wait 1.5. Clearscreen. lock throttle to 1. stage. WHEN MAXTHRUST = 0 THEN { PRINT "Staging". WAIT 0.5. STAGE. WAIT 0.5. PRESERVE. //Means to keep checking if thrust is = 0 } until Apoapsis > 75000 { lock targetPitch to 88.963-1.03287 * alt:radar^0.409511. set targetDirection to 90. lock steering to heading(targetDirection, targetPitch). } SET SHIP:CONTROL:PILOTMAINTHROTTLE TO 0. SAS ON.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I'm having a major issue where my frames gradually drop from 100 fps to 5 fps in about 15 seconds. I'm running a simple as you can get script with no mods on the latest version of KOS and KSP. Any ideas? It was not happening a few days ago and I haven't changed anything.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[Old Thread] KRE - Kerbal Reusability Expansion
jbakes replied to EmbersArc's topic in KSP1 Mod Releases
Anyway I can modify the tolerance of the falcon landing legs? It says the impact tolerance is 14.0 m/s but mine seem to be breaking at around 6 m/s -
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I'm trying to run your logger or at least parts of it and things like position and pitch aren't working.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Wow thank you!!! I've been trying to write a script that can at least log pitch and position. I can't adjust my ascent profile unless I know whats going on.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I can only get my log to keep running if its outside my ascent loop but it either runs the entire time of flight and never gets to my ascent profile script or it only runs once if I put it after the script. Is it possible to have a script run within my script like run the log script within my ascent script so it can go on to the rest of the code? That didn't work for me every time my ascent loop runs it cuts the cuts the log loop off. Can I run two scripts at once? Basically run a log script inside my ascent script? That way the log loop wont get skipped over the ascent loop.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I put that command at the end 4 times and it logged it 4 times but all at the same time so all the numbers are the same. How do I create an interval for the log to run on?- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Ya I found it, idk if you saw my edit but it only logged it once. How would I get it to log throughout the entire flight? Also can I set intervals for the log such as time or altitude? Ya I found it, it only logs it once though, How do I get to log throughout the entire flight?- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
I'm new to KOS and programming in general so I don't really understand these commands. I'm guessing LOG ALTITUDE + "," + SHIP:VELOCITY:SURFACE:MAG TO "0:/log/ascent.csv". is going to log my data to some file. Where would that file be located? Edit: I actually found a file named "ascent" in a folder called "log" I entered that line of code at the end of my script and it logged the numbers but it did it only once. How do I get it to log throughout the flight? Also can I get it to log at certain intervals of time or altitude?- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
jbakes replied to Dunbaratu's topic in KSP1 Mod Releases
Can anyone tell me how to log some flight data? I'm creating an ascent profile script and I need to log some data to tell how efficient I am. For instance knowing like my pitch and altitude throughout the flight or even velocity. Just so I can graph it. Thanks in advance.- 1,361 replies
-
- autopilot
- programming
-
(and 1 more)
Tagged with:
-
[1.2, 1.3] KW Rocketry Redux 3.1.1.1 released
jbakes replied to linuxgurugamer's topic in KSP1 Mod Releases
No big deal. Thanks for everything you do! -
[1.2, 1.3] KW Rocketry Redux 3.1.1.1 released
jbakes replied to linuxgurugamer's topic in KSP1 Mod Releases
Same with me. I've tried reinstalling a few times and nothing. -
I also checked in game and still nothing. I know it's a simple install. Download, extract, place files in gamedata but it simply isn't working for me. I've installed this mod plenty of times and have had no issues. before :/
-
No clouds in the main menu. EnvironmentalVisualEnhancements BoulderCo scatterer
-
I have scatterer for 1.2 installed. I also installed both EVE files and put them in the GameData folder (AnyCPU-EVE-Release and AnyCPU-Config-Release) and I can't get it to work When I press alt + 0 The menu tells me I have no configs.
-
[1.1.2][1-1-2] May 13-2016 EnvironmentalVisualEnhancements
jbakes replied to rbray89's topic in KSP1 Mod Releases
I have scatterer for 1.2 installed. I also installed both of Waz's EVE files (AnyCPU-EVE-Release and AnyCPU-Config-Release) and I can't get it to work. Could someone please point me in the right direction, I followed all steps correctly or so I thought When I press alt + 0 The menu tells me I have no configs. -
[1.3.0] Kerbal Engineer Redux 1.1.3.0 (2017-05-28)
jbakes replied to cybutek's topic in KSP1 Mod Releases
Relax I didn't expect it to work but I saw in the post above me that someone got it semi-working. Thanks for the advice on the experimental version I must have missed that. -
[1.3.0] Kerbal Engineer Redux 1.1.3.0 (2017-05-28)
jbakes replied to cybutek's topic in KSP1 Mod Releases
I downloaded the lastest KER 1.1.1.0 and launched on 1.2 on the latest build and it doesnt show up for me at all. -
[1.8.0-1.12.5] AtmosphereAutopilot 1.6.1
jbakes replied to Boris-Barboris's topic in KSP1 Mod Releases
This mod is absolute gold! I didn't test out much but it holds my aircraft exactly where I pointed it last. The stability is what I've been looking for the entire time while flying in KSP. If you have a good designed plane it makes landing a breeze and I use FAR. Never have I had such a smooth landing. Sometimes I would have problems of breaking up during re-entry because of instabilities but this mod makes the controls so smooth. -
[1.0.2] B9 Aerospace | Procedural Parts 0.40 | Updated 09.06.15
jbakes replied to bac9's topic in KSP1 Mod Development
Ksp version 1.1.2 Mod version PP-040 The wings appear in the parts catalog and I can select them and attach them but when I press J on them to resize them nothing happens. Let me know what other information you might need.