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

BUG: Problem with heading parameter definition #717

Open
Inazillo opened this issue Oct 24, 2024 · 1 comment
Open

BUG: Problem with heading parameter definition #717

Inazillo opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working Environment Enviroment Class related features Flight Flight Class related features

Comments

@Inazillo
Copy link

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

@Gui-FernandesBR Gui-FernandesBR changed the title Problem with heading parameter definition BUG: Problem with heading parameter definition Oct 24, 2024
@Gui-FernandesBR Gui-FernandesBR added Bug Something isn't working Flight Flight Class related features labels Oct 24, 2024
@Gui-FernandesBR
Copy link
Member

There's something wrong with the wind_u definition, for sure.
But it seems that this behavior has been present since v1.0 or even more.

So I have to check it deeper to properly understand it. Let me see what I can get during the next weeks.

@Gui-FernandesBR Gui-FernandesBR self-assigned this Oct 29, 2024
@Gui-FernandesBR Gui-FernandesBR added the Environment Enviroment Class related features label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Environment Enviroment Class related features Flight Flight Class related features
Projects
Status: Backlog
Development

No branches or pull requests

2 participants