Commit f02c0a63 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

root path

parent c6a680aa
#!/bin/bash
BAG_PATH="/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected/GAUSS_solution"
BAG_PATH="/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected"
cd $BAG_PATH
......@@ -16,10 +16,10 @@ do
#echo "without extension and 'rpa_output_' is $f2"
# take action on each file. $f store current file name
fp="rpa_positioning_info_${f:11: -4}.csv"
fp="GAUSS_solution/rpa_positioning_info_${f:11: -4}.csv"
echo "Creating the file $fp"
rostopic echo -b $f -p /wolf_ros_node/rpa_positioning_info > $fp
fs="rpa_state_info_${f:11: -4}.csv"
fs="GAUSS_solution/rpa_state_info_${f:11: -4}.csv"
echo "Creating the file $fs"
rostopic echo -b $f -p /wolf_ros_node/rpa_state_info > $fs
done
......@@ -2,7 +2,7 @@
EXPERIMENTS=('atlantic_16' 'atlantic_17' 'M600b_16_1' 'M600b_16_2' 'M600b_17_1' 'M600b_17_2' 'scrab_16' 'scrab_17')
CONFIGS=(1 2 3 4)
BAG_PATH="/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected/sensors"
BAG_PATH="/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected"
for experiment in "${EXPERIMENTS[@]}"
do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment