Giter Site home page Giter Site logo

Comments (9)

erendrake avatar erendrake commented on August 13, 2024

If i remember correctly the prograde vector is relative to your orbit and the steering vector is relative to the surface. It might account for the difference, ill check it out and maybe expose the surface vector too.

from kos.

unixunion avatar unixunion commented on August 13, 2024

Ok, It could be that, however I am trying to follow the navball prograde in my code. Ill check steering out. But when I launch and use SAS to head as straight up as possible ( navball confirms that ), I get a reading of prograde:yaw: 83.2. should this not be closer to 180?

/K

from kos.

jcramb avatar jcramb commented on August 13, 2024

I am having a big problem with this also. Trying to implement a real gravity turn as opposed to just "turn at 10km etc.", I need to lock the roll and yaw, but allow pitch to change naturally under gravity and kOS is failing pretty hard. The steering variable doesn't allow me to lock roll/yaw while keeping pitch unlocked... and so I try to lock it to the prograde vector, but the one displayed by the navball (which is correct) is not even close to what is displayed by kOS.

Hope this can be fixed soon, because kOS is kickass and I would like my launch script to be able to do proper gravity turns.

Is there ever a reason why the prograde vector in kOS should not be the same as the navball?

from kos.

erendrake avatar erendrake commented on August 13, 2024

Im pretty sure that locking prograde locks to orbital prograde, and you are trying to get surface prograde?

from kos.

jcramb avatar jcramb commented on August 13, 2024

That would explain it :) Is there anyway I can access my surface prograde? I am pretty keen to be able to lock/unlock on a member basis too, how difficult do you think that would be to implement. If it is simple enough to do I will try to code it up.

from kos.

bshepherdson avatar bshepherdson commented on August 13, 2024

You can't lock on a member basis, but you can write expressions for the
components instead of single values. Then the values will be updated every
tick, and your rocket will follow a smooth curve.

On Saturday, February 8, 2014 3:19:23 AM, John Cramb <
[email protected]> wrote:

That would explain it :) Is there anyway I can access my surface prograde?
I am pretty keen to be able to lock/unlock on a member basis too, how
difficult do you think that would be to implement. If it is simple enough
to do I will try to code it up.

Reply to this email directly or view it on GitHubhttps://github.com//issues/292#issuecomment-34538473
.

from kos.

dcrockwell avatar dcrockwell commented on August 13, 2024

Accessing surface prograde as a rotation rather than a vector is essential for allowing the proper euler rotation of the craft while following surface prograde on the navbal..

Without it, we're forced to use LOCK STEERING TO R(0,0,0) + VELOCITY:SURFACE which returns a vector that you cannot rotate.

from kos.

erendrake avatar erendrake commented on August 13, 2024

just FYI, this is the repo for the old version from 2013. if we dont have this issue in the new repo https://github.com/KSP-KOS/KOS i would appreicate you adding it so we can discuss it

from kos.

dcrockwell avatar dcrockwell commented on August 13, 2024

Oh Sorry! Thank you very much Eren!

from kos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.