GENERAL INFO
- Successors 1 craft(s)
- Created On: iOS
- Game Version: 0.8.402.0
- Price: $50k
- Number of Parts: 1
- Dimensions: 5 m x 20 m x 15 m
PERFORMANCE
- Total Delta V: 0m/s
- Total Thrust: 0N
- Engines: 0
- Wet Mass: 20kg
- Dry Mass: 20kg
STAGES
Stage | Engines | Delta V | Thrust | Burn | Mass |
---|
6 Comments
- Log in to leave a comment
-
-
-
1,155 huuminberd
@pedro16797 All good points Pedro, I'll put out a V1.1 later, bit busy right now, unless you want to do that...
-
Dev Pedro
An improvement in the condition for setting the integral to 0 could be
Err*pErr<0 -
Dev Pedro
I would place the set variable prev Err after the wait dt or else you're using the uninitialised err in the first iteration
4 Upvotes
Log in in to upvote this post.
There's a good reason to place the derivative on the measured variable rather than the error. It turns out it's a mirror image so must be subtracted, rather than added, from the total. Look up derivative kick if anyone interested. I'm not sure how big a deal it is in this simulation but it's certainly a big deal in real life so maybe get used to it.
I've kept the form as simple as possible here to make it easier to understand (hopefully).