Skip to content

[Bug] Setting launch altitude to a value higher than models can handle throws exception #2677

@JoePfeiffer

Description

@JoePfeiffer

(reported on openrocket-bugs mailing list by user "B K")

Describe the bug

As described in the title. The particular .ork file showing the behavior has the launch altitude set to 50,000 feet. This is higher than the 36,090 ft (11,000 m) limit of the Troposphere - see ExtendedISAModel.java which throws an exception in the constructor if altitude >= layer[1].

To Reproduce

  1. Open the .ork
  2. Run the sim.

...

Screenshots / .ork file

Two things ought to be done
1. The launch site altitude window isn't wide enough to display a four, let alone five, digit altitude. It needs to be wider
2. It should either be impossible to enter an altitude higher than the model can handle (which seems preferable to me), or there should be an error if a user tries to do it.

OpenRocket version

24.12 beta, probably older

What platform are you running on?

Linux

Additional context

2024-10-10 Level III 4.25 inch Sustainer.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions