Code Monkey home page Code Monkey logo

Comments (4)

VoreckLukas avatar VoreckLukas commented on August 24, 2024 1

Thanks for the suggestion.

Just to clearly understand what you'd like to achieve. While stage N is still burning, you'd want to hit spacebar a few seconds before it burns out, and then activate stage N+1 using a jettison-only sequence, since its engine is still running - correct? If so, this might be a little tricky to implement, because staging events are tied to burn-out times of each stage. I'm currently reworking the event handler routine however, so I'll give this some consideration (another reason to decouple event handling from the staging sequence).

Sorry, havent looked in here for a while

I've got an experimental solution working: check out d085c66.

This adds a new ullage mode, "hot", which simply causes jettison and ignition to swap places. I've tested it with one vehicle and it seems to be working, but would be cool if someone confirmed it in their use case - @Voreck do you think you could?

I can see one place where this could go wrong: if the preceding stage burns out faster than it should, and there's no thrust anymore when the staging sequence starts. It would be relatively straightforward to correct on the vehicle side: simply reduce massFuel by a bit to convince PEGAS that the stage should burn out a little earlier. To fix this "properly" on PEGAS side, I'd have to implement some sort of negative delay on a hot-ignited stage, and a look-ahead to deal with such stages. Arguably more hassle than making just a little tweak in vehicle.

EDIT: I'll close this for now. If there are any problems with this, please reopen/comment and we'll have a look.

Thank you for doing this, I actually didn't expect this project to be alive. I'll try it out once I can

from pegas.

Noiredd avatar Noiredd commented on August 24, 2024

Thanks for the suggestion.

Just to clearly understand what you'd like to achieve. While stage N is still burning, you'd want to hit spacebar a few seconds before it burns out, and then activate stage N+1 using a jettison-only sequence, since its engine is still running - correct?
If so, this might be a little tricky to implement, because staging events are tied to burn-out times of each stage. I'm currently reworking the event handler routine however, so I'll give this some consideration (another reason to decouple event handling from the staging sequence).

from pegas.

Noiredd avatar Noiredd commented on August 24, 2024

I've got an experimental solution working: check out d085c66.

This adds a new ullage mode, "hot", which simply causes jettison and ignition to swap places. I've tested it with one vehicle and it seems to be working, but would be cool if someone confirmed it in their use case - @Voreck do you think you could?

I can see one place where this could go wrong: if the preceding stage burns out faster than it should, and there's no thrust anymore when the staging sequence starts. It would be relatively straightforward to correct on the vehicle side: simply reduce massFuel by a bit to convince PEGAS that the stage should burn out a little earlier. To fix this "properly" on PEGAS side, I'd have to implement some sort of negative delay on a hot-ignited stage, and a look-ahead to deal with such stages. Arguably more hassle than making just a little tweak in vehicle.

EDIT: I'll close this for now. If there are any problems with this, please reopen/comment and we'll have a look.

from pegas.

Noiredd avatar Noiredd commented on August 24, 2024

Yeah, sorry about the long delay but that's how it is with this project... half a year passes as I have zero free time to even touch it, and then suddenly find myself on a week long coding spree sorting out issues backlogged years ago. This time I want to get them all done, put a "v1.3" tag on it, release and call it finished.

from pegas.

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.