-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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 fix in gazebo_sitl_multiple_run.sh #15392
Conversation
Change location of where PX4_SIM_MODEL is set to avoid mixer issues. Before, the change px4 would start all models as `iris` whilst gazebo was spawning in the correct meshes. This resulted in both `plane` and `standard_vtol` running with the `quad_w` mixer.
@iwishiwasaneagle do you want to include any of the files from our slack convo (one that I found mixer issue in) and then another one showing the correct vehicle rcS/mixer after the fix? Makes it easier for people to understand the issue. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Seems like this slipped through the testing I did for my previous change
Minor change requested to set defaults more explicitly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Describe problem solved by this pull request
Change location of where
$PX4_SIM_MODEL
is set to avoid mixer issues. Before, the change px4 would start all models asiris
whilst gazebo was spawning in the correct meshes. This resulted in bothplane
andstandard_vtol
running with thequad_w
mixer.Describe your solution
Define
$PX4_SIM_MODEL
withinspawn_model()
based on$MODEL
, so that when-s
is used the correct targets are used.Tests
-s plane:1,iris:1
- spawns 1 plane, 1 iris-m iris -n 3
- spawns 3 iris-n 3
-> spawns 3 iris