Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computation failed with error 4 when extending flight plan #3483

Closed
ghost opened this issue Dec 24, 2022 · 1 comment · Fixed by #3783
Closed

Computation failed with error 4 when extending flight plan #3483

ghost opened this issue Dec 24, 2022 · 1 comment · Fixed by #3783
Milestone

Comments

@ghost
Copy link

ghost commented Dec 24, 2022

Error message "Computation failed with error 4" appears when I extend a flight plan similar to the usual TLI maneuver to 10-20 days.
Steps to replicate:

  • enter the VAB, simulate any craft in 200km orbit,
  • create flight plan with max steps 4096, tolerance 10m, plan length 4 days
  • add maneuver with t initial = 1h 1m, dV = 3150 prograde, inertially fixed, instant impulse
  • extend flight plan from 4 days to 14 days or similar (entered 14 instead of 4 in the field, without moving the slider)

screenshot

persistent.zip

INFO.20221224-112749.6464.log

WARNING.20221224-112749.6464.log

ERROR.20221224-112749.6464.log

Another screenshot (different craft, same issue)

screenshot19

@pleroy
Copy link
Member

pleroy commented Dec 24, 2022

We are running into this limit:

static constexpr std::int64_t max_ephemeris_steps_per_frame = 1000;

The right fix is probably to make the computation of the flight plan asynchronous, but that's a bit of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant