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

Make wind plugin a world plugin #467

Merged
merged 1 commit into from
Jul 1, 2020
Merged

Make wind plugin a world plugin #467

merged 1 commit into from
Jul 1, 2020

Conversation

Jaeyoung-Lim
Copy link
Member

Previously, wind was a gazebo model plugin since wind was simulated by applying "force" on a link. Since wind was a element inside the model, models could have different wind simulated even if they are in the same world.

However, this has changed since #462. Therefore, we can make the wind a property of the "world" and make different vehicles be affected to this no matter which vehicle is spawned in the world.

This PR enables the following

  • Define wind as a property of the world
  • Enable SITL simulation to switch wind situations without editing the model.sdf. Simply run:
make px4_sitl gazebo_plane__windy

Copy link
Member

@LorenzMeier LorenzMeier left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@LorenzMeier
Copy link
Member

Could you please rebase?

@Jaeyoung-Lim Jaeyoung-Lim force-pushed the pr-wind-worldplugin branch 2 times, most recently from 698135f to 4e37b2c Compare April 26, 2020 13:03
@Jaeyoung-Lim
Copy link
Member Author

@LorenzMeier Thanks! Done!

@Jaeyoung-Lim Jaeyoung-Lim force-pushed the pr-wind-worldplugin branch from 4e37b2c to 013d0a0 Compare May 21, 2020 13:01
@TSC21
Copy link
Member

TSC21 commented Jun 30, 2020

@Jaeyoung-Lim can you rebase?

@Jaeyoung-Lim Jaeyoung-Lim force-pushed the pr-wind-worldplugin branch from 013d0a0 to afb649a Compare July 1, 2020 15:50
@Jaeyoung-Lim
Copy link
Member Author

@TSC21 Thanks! Rebased!

@TSC21 TSC21 merged commit 4ec5caa into master Jul 1, 2020
@TSC21 TSC21 deleted the pr-wind-worldplugin branch July 1, 2020 16:18
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.

3 participants