Skip to content

Commit d04f987

Browse files
committed
Launch + user-friendly
1 parent 0f0523d commit d04f987

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

launch/dll.launch

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
<param name="use_sim_time" value="true" />
99

1010
# Bag file
11-
<node name="bag_player" type="play" pkg="rosbag" args="$(arg bag_file) --clock -s 0 -r 1.0 -l" />
11+
<node name="bag_player" type="play" pkg="rosbag" args="$(arg bag_file) --clock -s 0 -r 1.0 -l" >
12+
<remap from="/tf" to="/tf_fake"/>
13+
</node>
1214

1315
# Frames
1416
<include file="$(find nix_launchers)/launch/frames.launch" />
@@ -23,6 +25,7 @@
2325
<arg name="initial_z" default="0"/>
2426
<arg name="initial_a" default="0.18"/>
2527
<arg name="map" default="marsella_5cm_full.bt" />
28+
<arg name="map_path" default="$(find dll)/maps/$(arg map)"/>
2629

2730
# 2020-06-25-15-10-43_0.bag
2831
<!--arg name="initial_x" default="6.23"/>
@@ -32,10 +35,10 @@
3235
<arg name="map" default="basement_2.bt"/-->
3336

3437
# Odom to TF
35-
<!--node pkg="odom_to_tf" type="odom_to_tf.py" name="odom_to_tf">
38+
<node pkg="odom_to_tf" type="odom_to_tf.py" name="odom_to_tf">
3639
<param name="laser_frame" value="base_link"/>
3740
<param name="rotate_90" value="false"/>
38-
</node-->
41+
</node>
3942

4043
# Launch DLL
4144
<node name="dll_node" type="dll_node" pkg="dll" output="screen">
@@ -46,7 +49,7 @@
4649
<param name="global_frame_id" value="$(arg global_frame_id)" />
4750

4851
<param name="rate" value="10.0" />
49-
<param name="map_path" value="$(find dll)/launch/$(arg map)" />
52+
<param name="map_path" value="$(arg map_path)" />
5053
<param name="sensor_dev" value="0.02" />
5154
<param name="publish_point_cloud" value="true" />
5255
<param name="update_min_d" value="0.1" />

0 commit comments

Comments
 (0)