-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"/> | ||
<arg name="namespace" default="taluy" /> | ||
<arg name="velocity_control" default="true" /> | ||
<arg name="joy_id" default="0" /> | ||
|
@@ -16,8 +16,9 @@ | |
<arg name="verbose" value="true" /> | ||
</include> | ||
|
||
<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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
output="screen"> | ||
<rosparam command="load" file="$(find auv_sim_bringup)/config/world_models.yaml" /> | ||
</node> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<env name="GAZEBO_MODEL_PATH" value="$(find auv_sim_description)/models:${GAZEBO_MODEL_PATH}"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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="namespace" default="taluy" /> | ||
<arg name="control_rate" default="20.0" /> | ||
<arg name="use_ned_frame" default="false" /> | ||
<arg name="reference_frame" value="world" /> | ||
|
||
<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" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
<arg name="velocity_control" default="true" /> | ||
<arg name="joy_id" default="0" /> | ||
|
||
|
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.
We already specify the default world in the main launch file. Why choose a default one here again? Deleted.