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

Add options to spawn multiple vehicles in different worlds #14764

Merged
merged 1 commit into from Apr 27, 2020

Conversation

Jaeyoung-Lim
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim commented Apr 26, 2020

Describe problem solved by this pull request
Since SITL gazebo now has a clean separation between worlds and vehicles, we can now spawn multiple vehicles to any world we want.

Describe your solution
You can use the -w flag to specify which world the vehicle should be spawned in. If no -w flag is specified, then the script defaults to empty.world

Test data / coverage
For e.g.

 Tools/gazebo_sitl_multiple_run.sh -w baylands

Screenshot from 2020-04-26 15-21-30

Additional context
This was enabled by separating worlds with models in gazebo definitions. This will also be something useful to test multivehicle fleets in "windy" environments when such worlds are added as in #14737

Since SITL gazebo now has the ability to spawn vehicles to different worlds, this can be done for simulating multiple vehicles
@Jaeyoung-Lim Jaeyoung-Lim merged commit e669e99 into master Apr 27, 2020
@Jaeyoung-Lim Jaeyoung-Lim deleted the pr-multivehicle-world branch April 27, 2020 09:57
@TSC21 TSC21 added this to the Release v1.11.0 milestone May 4, 2020
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.

None yet

3 participants