BUG: Problem with heading parameter definition

Offen
#717 2 Kommentare 1 Reaktion 2 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

@MateusStano arbeitet bereits daran.

Seit 23.11.2024.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

Bug Environment Flight

I'm trying to simulate how the cross wind affects to the trajectory, this way I want to analyze in the extreme cases if the rocket will go out of the safe zone. For that I'm defining a wind_u of 30 m/s and wind_v of 0 m/s, moreover, the heading (angle relative to the north) of 11.6°.
The problem comes when I try to simulate it, as you can see on the attached figure that rocketpy is launching towards the west, instead of doing that towards the north with the defined angle. You can find a simplified code attached, so that you can review it and see if it's a bug or my error.
Thank you very much in advance!
Cross_wind_heading_11 6
Airfoil.CSV
CD_power_off.CSV
CD_power_on.CSV
Wind_cross_flight.txt

Vorherrschende Sprache
Python
Sterne
1.1k
Forks
280
Ø Merge
3 T. 2 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus RocketPy-Team/RocketPy

Alle Issues in RocketPy-Team/RocketPy

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.