Skip to content

Commit

Permalink
Update launch (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToshikiNakamura0412 committed Jun 22, 2024
1 parent 968d62c commit a4a1462
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion launch/scan_to_pcl.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0"?>
<launch>
<arg name="output" default="log" doc="screen or log"/>
<arg name="frame_id" default="base_scan"/>
<arg name="cloud_topic" default="/cloud"/>
<node pkg="scan_to_pcl_ros" type="scan_to_pcl_node" name="scan_to_pcl" output="screen">
<node pkg="scan_to_pcl_ros" type="scan_to_pcl_node" name="scan_to_pcl" output="$(arg output)">
<param name="frame_id" value="$(arg frame_id)"/>
<remap from="/cloud" to="$(arg cloud_topic)"/>
</node>
Expand Down
4 changes: 3 additions & 1 deletion launch/test.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<launch>
<arg name="rviz_path" default="$(find scan_to_pcl_ros)/launch/rviz.rviz"/>

<include file="$(find scan_to_pcl_ros)/launch/scan_to_pcl.launch"/>
<include file="$(find scan_to_pcl_ros)/launch/scan_to_pcl.launch">
<arg name="output" value="screen"/>
</include>

<include file="$(find turtlebot3_gazebo)/launch/turtlebot3_world.launch"/>
<node pkg="rviz" type="rviz" name="rviz" args="-d $(arg rviz_path)"/>
Expand Down

0 comments on commit a4a1462

Please sign in to comment.