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

Better world launch #89

Closed
wants to merge 2 commits into from
Closed

Conversation

eminmeydanoglu
Copy link

No description provided.

@@ -2,7 +2,7 @@
<launch>
<arg name="gui" default="true" />
<arg name="debug" default="false" />
<arg name="world_name" default="$(find auv_sim_description)/worlds/seabed.world" />
<arg name="world_name"/>
Copy link
Author

Choose a reason for hiding this comment

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

We already specify the default world in the main launch file. Why choose a default one here again? Deleted.

<node name="publish_world_models" pkg="uuv_assistants" type="publish_world_models.py"
output="screen">
<node if="$(eval arg('world_name') == '$(find auv_sim_description)/worlds/seabed.world')"
name="publish_world_models" pkg="uuv_assistants" type="publish_world_models.py"
Copy link
Author

Choose a reason for hiding this comment

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

This node is only relevant to the seabed world. Dont need it at times we run a world that is not the seabed world.

@@ -1,13 +1,14 @@
<?xml version="1.0"?>
<launch>
<env name="GAZEBO_MODEL_PATH" value="$(find auv_sim_description)/models:${GAZEBO_MODEL_PATH}"/>
Copy link
Author

@eminmeydanoglu eminmeydanoglu Dec 7, 2024

Choose a reason for hiding this comment

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

Set gazebo model path automatically for everyone for convenience. Works as intended 👍

<arg name="use_gui" default="true" />
<arg name="debug" default="false" />
<arg name="world_name" default="$(find auv_sim_description)/worlds/seabed.world" />
<arg name="world_name" default="$(find auv_sim_description)/worlds/pool.world" />
Copy link
Author

Choose a reason for hiding this comment

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

Under normal circumstances, it is preferable to set the pool world as default.

@eminmeydanoglu eminmeydanoglu marked this pull request as draft December 7, 2024 19:49
@eminmeydanoglu eminmeydanoglu deleted the emin/better_world_launch branch December 7, 2024 21:13
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.

1 participant