From bacff651c74392eb795d9a7da092742258225c74 Mon Sep 17 00:00:00 2001 From: Idril Geer <igeer@iri.upc.edu> Date: Mon, 14 Feb 2022 10:02:58 +0100 Subject: [PATCH] update bash scripts --- bag/generate_trajectory_csv2.bash | 5 ++--- yaml/trajectory_analysys/E.yaml | 2 +- yaml/trajectory_analysys/G.yaml | 2 +- yaml/trajectory_analysys/T.yaml | 2 +- .../trajectory_analysys/parameters/test_laser_processor.yaml | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bag/generate_trajectory_csv2.bash b/bag/generate_trajectory_csv2.bash index 89a619f..8679bcb 100644 --- a/bag/generate_trajectory_csv2.bash +++ b/bag/generate_trajectory_csv2.bash @@ -12,8 +12,7 @@ fi # Starting with G ==> groundtruth, we extract the trajectory # Starting with E ==> experiment, we extract the poses # Starting with T ==> experiment in 3D, we extract the poses -timespanarray=("0.1" "0.5" "1.0" "2.0" "5.0" "10.0") -timespanarray=("0.1") +timespanarray=("0.1" "0.2" "0.3" "0.5" "0.7" "1.0" "2.0" "5.0" "10.0") for time_span in "${timespanarray[@]}" do for yamlfile in $(find ../yaml/trajectory_analysys -maxdepth 1 -type f -printf "%f\n") @@ -22,7 +21,7 @@ do yamlname=${yamlfile%.*} yamlname=$yamlname\-${time_span/./_} sed -i "s/.*min_time.*/ min_time: $time_span/" ../yaml/trajectory_analysys/parameters/test_laser_processor.yaml - sed -i "s/.*profiling_file.*/ profiling_file: \"~/profiling/wolf_demo_profiling_$yamlname\"/" ../yaml/trajectory_analysys/$yamlfile + sed -i "s/.*profiling_file.*/ profiling_file: \"~\/profiling\/wolf_demo_profiling_$yamlname.txt\"/" ../yaml/trajectory_analysys/$yamlfile rm recordings/trajectory_recording$yamlname.bag roslaunch wolf_demo_imu2d imu2d_analysys.launch bag:=$BAG\_filtered_notf test:=$yamlfile speed:=0.05 suffix:=$yamlname rviz:=false diff --git a/yaml/trajectory_analysys/E.yaml b/yaml/trajectory_analysys/E.yaml index 775f58a..daf073c 100644 --- a/yaml/trajectory_analysys/E.yaml +++ b/yaml/trajectory_analysys/E.yaml @@ -1,7 +1,7 @@ config: debug: profiling: true - profiling_file: "~/profiling/wolf_demo_profiling_E.txt" + profiling_file: "~/profiling/wolf_demo_profiling_E-10_0.txt" print_problem: false print_period: 2 print_depth: 4 diff --git a/yaml/trajectory_analysys/G.yaml b/yaml/trajectory_analysys/G.yaml index f537a1c..8172adf 100644 --- a/yaml/trajectory_analysys/G.yaml +++ b/yaml/trajectory_analysys/G.yaml @@ -1,7 +1,7 @@ config: debug: profiling: true - profiling_file: "~/profiling/wolf_demo_profiling_G-1_0.txt" + profiling_file: "~/profiling/wolf_demo_profiling_G-10_0.txt" print_problem: false print_period: 2 print_depth: 4 diff --git a/yaml/trajectory_analysys/T.yaml b/yaml/trajectory_analysys/T.yaml index 073a77d..b208afa 100644 --- a/yaml/trajectory_analysys/T.yaml +++ b/yaml/trajectory_analysys/T.yaml @@ -1,7 +1,7 @@ config: debug: profiling: true - profiling_file: "~/profiling/wolf_demo_profiling_T.txt" + profiling_file: "~/profiling/wolf_demo_profiling_T-10_0.txt" print_problem: false print_period: 2 print_depth: 4 diff --git a/yaml/trajectory_analysys/parameters/test_laser_processor.yaml b/yaml/trajectory_analysys/parameters/test_laser_processor.yaml index 42292ec..74089f1 100644 --- a/yaml/trajectory_analysys/parameters/test_laser_processor.yaml +++ b/yaml/trajectory_analysys/parameters/test_laser_processor.yaml @@ -3,7 +3,7 @@ keyframe_vote: min_features_for_keyframe: 10 min_dist: 999 min_angle: 999 - min_time: 10 + min_time: 10.0 min_error: 999 max_points: 0 max_new_features: 15 -- GitLab