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

Feat/air resistance #7

Merged
merged 7 commits into from
Jul 31, 2024
Merged

Feat/air resistance #7

merged 7 commits into from
Jul 31, 2024

Conversation

1-Bart-1
Copy link
Collaborator

Add a working example with air resistance. Similar air resistance model to KiteModels.jl.

@1-Bart-1 1-Bart-1 requested a review from ufechner7 July 30, 2024 11:44
@ufechner7
Copy link
Owner

Can you update the comments at the top of the examples where required? Like ... with calculation of the aerodynamic drag

@@ -9,8 +9,12 @@ G_EARTH::Vector{Float64} = [0.0, 0.0, -9.81] # gravitational acceleration
@variables acc(t)[1:3]=[0.0, 0.0, -9.81]
D = Differential(t)

eqs = vcat(D.(pos) ~ vel,
D.(vel) ~ acc,
pos = collect(pos)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in most cases collect is not needed

@ufechner7 ufechner7 merged commit 6cd1bca into main Jul 31, 2024
1 check passed
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 this pull request may close these issues.

2 participants