-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
197 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Generic ROS1 launch file --> | ||
<!-- Read: https://mvsimulator.readthedocs.io/en/latest/mvsim_node.html --> | ||
|
||
<launch> | ||
<!-- Arguments --> | ||
<arg name="world_file" /> | ||
<arg name="headless" default="False" /> | ||
<arg name="do_fake_localization" default="True" /> | ||
<arg name="publish_tf_odom2baselink" default="True" /> | ||
<arg name="force_publish_vehicle_namespace" default="False" /> | ||
<arg name="use_rviz" default="True" /> | ||
<arg name="rviz_config_file" default="$(find mvsim)/mvsim_tutorial/demo_depth_camera.rviz" /> | ||
|
||
<!-- mvsim Node --> | ||
<node pkg="mvsim" type="mvsim_node" name="mvsim" output="screen"> | ||
<param name="world_file" value="$(arg world_file)"/> | ||
<param name="headless" value="$(arg headless)"/> | ||
<param name="do_fake_localization" value="$(arg do_fake_localization)"/> | ||
<param name="publish_tf_odom2baselink" value="$(arg publish_tf_odom2baselink)"/> | ||
<param name="force_publish_vehicle_namespace" value="$(arg force_publish_vehicle_namespace)"/> | ||
</node> | ||
|
||
<!-- RViz Node (conditional launch based on use_rviz argument) --> | ||
<group if="$(arg use_rviz)"> | ||
<node pkg="rviz" type="rviz" name="rviz" args="-d $(arg rviz_config_file)"/> | ||
</group> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.