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

Atmosphere changes for high-angle shots #8

Open
dbookstaber opened this issue Dec 30, 2023 · 4 comments
Open

Atmosphere changes for high-angle shots #8

dbookstaber opened this issue Dec 30, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dbookstaber
Copy link
Owner

When shooting at high angles the bullet will travel through atmosphere with varying density. We can use standard models of how density changes with elevation to incorporate this variable into each step of the trajectory calculation.

@dbookstaber dbookstaber added the enhancement New feature or request label Dec 30, 2023
@dbookstaber
Copy link
Owner Author

Actually this might already be implemented via the atmo.get_density_factor_and_mach_for_altitude() line in _trajectory().

@dbookstaber dbookstaber self-assigned this Feb 10, 2024
@dbookstaber
Copy link
Owner Author

dbookstaber commented Feb 14, 2024

Yep, it is implemented that way. But we still need to validate this. (#9 is related/relevant.)

Possible tests:

  • Lag-time at given time t should be smaller on high-angle shot than flat-fire trajectory.
  • Velocity at the same time t should be higher for a high-angle shot than flat trajectory.

@dbookstaber
Copy link
Owner Author

We did confirm it while working on #11 (comment)

@gambon2010
Copy link

It could also be interesting to estimate wind speeds when shooting at high angles, in theory the higher the bullet goes, the higher the wind speed will be. For example by using the 'Wind profile power law', but I'm not sure how this could be implemented.

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

No branches or pull requests

2 participants