bag file lesen neu

This commit is contained in:
Florian Zirker 2019-01-15 17:13:48 +01:00
parent a8b91943b8
commit 8c65a29ac1
3 changed files with 48 additions and 29 deletions

11
launch/export-data.launch Normal file
View file

@ -0,0 +1,11 @@
<launch>
<param name="use_sim_time" value="true" />
<!-- <arg name="bagfile" value="/home/flo//Nextcloud/Studium/Master/2-IM/AMR_Autonome-Mobile-Roboter/Wifi-Pioneer/bag-files/wlan_pioneer_2018-12-18-18-43-47.bag" /> -->
<arg name="bagfile" value="/home/flo//Nextcloud/Studium/Master/2-IM/AMR_Autonome-Mobile-Roboter/Wifi-Pioneer/bag-files/wlan_pioneer_2018-12-17-17-14-03.bag" />
<node pkg="wlan_pioneer" type="export-data.py" name="export_data" args="$(arg bagfile)" />
<node pkg="rosbag" name="rosbag" type="play" args="--clock $(arg bagfile)" required="true"/>
</launch>

View file

@ -1,13 +0,0 @@
<launch>
<param name="use_sim_time" value="true" />
<include file="$(find p2os_launch)/launch/gmapping.launch" />
<node name="rviz" pkg="rviz" type="rviz" />
<node pkg="rosbag" name="rosbag" type="play" args="--clock /home/pioneer/Desktop/bagfiles/wlan_pioneer_2018-12-18-18-43-47.bag"/>
<node pkg="rosbag" type="record" name="rosbag_record_gmapping_post"
args="record -o /tmp/wlan_pioneer_postprocessing /pose /scan /tf /wlan_signal /map" />
</launch>