-
Notifications
You must be signed in to change notification settings - Fork 13
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
What's the goal of the launch file? #14
Comments
I think eventually we might need to use the ugly syntax like in SubT launch files to instantiate multiple almost-identical vehicles without copy-pasting all the magic hydrodynamics and lift-drag numbers in One of the things I was using from the launch file was I was changing the RTF a lot, so having the physics inspector present at startup saved testing time. Now that I'm not using it, I commented it out, but with the mission tests, I'm using it again. |
We could also dynamically add models without using templates via service calls. This could have us avoid the ruby template based madness. It would involve writing a small tool to do so probably, but its nothing too crazy. |
@arjo129 's idea of spawning sounds interesting. Also, we could look into the brand new SDF params for that: http://sdformat.org/tutorials?tut=param_passing_proposal
You can insert GUI plugins directly on the SDF world file too. But in this situation, my recommendation would be to leave the world file without any GUI plugins, so it picks up each user's local If you don't want to change your default GUI config, you can also pass a custom one with |
@chapulina , is it OK to close this issue? |
My recommendation would be to remove the launch file and use the world directly instead. The advantage would be removing one layer of abstraction that is not providing any extra functionality. But if people are already used to the current approach I think it's fine to close this issue. |
Thanks, let's keep it open then and consider it for M3 then. |
Pros of the launch file:
|
That can also be done from the SDF's
If the default config is hardcoded in the world file, we can offer alternative configs to be passed at startup as needed. See on #68 an example of having the current launch file's config as the default, and an alternative |
Signed-off-by: Arjo Chakravarty <[email protected]>
Signed-off-by: Arjo Chakravarty <[email protected]> Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Louise Poubel <[email protected]>
I noticed that the instructions use
ign-launch
:But inspecting that launch file, it doesn't seem to be doing anything that can't be done directly in the world file. In fact, running this does pretty much the same:
Is there a long term goal to expand that launch file with non-gazebo functionality? If not, I'd recommend getting rid of the extra layer of abstraction and using
ign-gazebo
directly.The text was updated successfully, but these errors were encountered: