Giter VIP home page Giter VIP logo

Comments (5)

tavert avatar tavert commented on September 27, 2024

I've seen this on small craft where the pod torque (maybe combined with structural flexing) results in significant orbital perturbations, so the last 0.5 m/s of the circularization maneuver can never finish since the node direction wanders around endlessly as MJ tries to hunt it. Would have to test with tiny correction maneuvers to see the effect there, but maybe just say "close enough" and declare the node finished if the remaining delta-V is a small enough percentage of the original maneuver and the node direction is wandering? Or for circularization specifically you could bring back the old vspeed->0 PID for the final few m/s.

from mechjeb2.

asmi84 avatar asmi84 commented on September 27, 2024

As far as I understand that is a problem of maneuver node "executer" so it manifests every time it executes a preplanned maneuver, be it created by MJ or the manual one. I think there should be an input field "precision threshold" in maneuver node planner window, so you could specify some sensible value there, or MJ could be made to automatically detect such condition and abort execution. Strictly speaking, this effect is a bug in KSP's physical engine as it's mere presence violates the most basic law of physics - energy conservation principle, but it looks like we're stuck with it for a good while so we'll have to deal with it.

from mechjeb2.

Anatid avatar Anatid commented on September 27, 2024

Added a tolerance field for the node executor in dfb8115. This should let you tell MJ how close is "good enough" so that you can fix this sort of problem if it starts happening.

Try it out in the next release; I'll close this now.

from mechjeb2.

tavert avatar tavert commented on September 27, 2024

I think you mean 9f9ba53

from mechjeb2.

Anatid avatar Anatid commented on September 27, 2024

That I did! :)

from mechjeb2.

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.