From 3fa5a4c933933471f9447f60c58cd806cbe92330 Mon Sep 17 00:00:00 2001 From: Viktor Walter Date: Sat, 20 Apr 2024 12:42:42 +0200 Subject: [PATCH] Removing the record scripts - it shouldn't be here --- scripts/record.sh | 112 ---------------------------------------------- 1 file changed, 112 deletions(-) delete mode 100755 scripts/record.sh diff --git a/scripts/record.sh b/scripts/record.sh deleted file mode 100755 index fa3fa42e..00000000 --- a/scripts/record.sh +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/bash - -path="/home/\$(optenv USER mrs)/bag_files/latest/" - -# By default, we record everything. -# Except for this list of EXCLUDED topics: -exclude=( - -# IN GENERAL, DON'T RECORD CAMERAS -# -# If you want to record cameras, create a copy of this script -# and place it at your tmux session. -# -# Please, seek an advice of a senior researcher of MRS about -# what can be recorded. Recording too much data can lead to -# ROS communication hiccups, which can lead to eland, failsafe -# or just a CRASH. - -# Every topic containing "compressed" -'(.*)compressed(.*)' -# Every topic containing "image_raw" -# '(.*)image_raw(.*)' -# Every topic containing "theora" -'(.*)theora(.*)' -# Every topic containing "h264" -'(.*)h264(.*)' - -'(.*)/bluefox_front/camera_info' -'(.*)/bluefox_front/image_raw' -'(.*)/bluefox_front/parameter_descriptions' -'(.*)/bluefox_front/parameter_updates' - -'(.*)/blink_processor_new/uvdar_blink_visualization/compressed' -'(.*)/blink_processor_new/uvdar_blink_visualization/compressed/parameter_descriptions' -'(.*)/blink_processor_new/uvdar_blink_visualization/compressed/parameter_updates' -'(.*)/blink_processor_new/uvdar_blink_visualization/compressedDepth' -'(.*)/blink_processor_new/uvdar_blink_visualization/compressedDepth/parameter_descriptions' -'(.*)/blink_processor_new/uvdar_blink_visualization/compressedDepth/parameter_updates' -'(.*)/blink_processor_new/uvdar_blink_visualization/theora' -'(.*)/blink_processor_new/uvdar_blink_visualization/theora/parameter_descriptions' -'(.*)/blink_processor_new/uvdar_blink_visualization/theora/parameter_updates' -'(.*)/uvdar_bluefox/left/camera_info' -'(.*)/uvdar_bluefox/left/image_raw' -'(.*)/uvdar_bluefox/left/image_raw/compressed' -'(.*)/uvdar_bluefox/left/image_raw/compressed/parameter_descriptions' -'(.*)/uvdar_bluefox/left/image_raw/compressed/parameter_updates' -'(.*)/uvdar_bluefox/left/image_raw/compressedDepth' -'(.*)/uvdar_bluefox/left/image_raw/compressedDepth/parameter_descriptions' -'(.*)/uvdar_bluefox/left/image_raw/compressedDepth/parameter_updates' -'(.*)/uvdar_bluefox/left/image_raw/theora' -'(.*)/uvdar_bluefox/left/image_raw/theora/parameter_descriptions' -'(.*)/uvdar_bluefox/left/image_raw/theora/parameter_updates' -'(.*)/uvdar_bluefox/right/camera_info' -'(.*)/uvdar_bluefox/right/image_raw' -'(.*)/uvdar_bluefox/right/image_raw/compressed' -'(.*)/uvdar_bluefox/right/image_raw/compressed/parameter_descriptions' -'(.*)/uvdar_bluefox/right/image_raw/compressed/parameter_updates' -'(.*)/uvdar_bluefox/right/image_raw/compressedDepth' -'(.*)/uvdar_bluefox/right/image_raw/compressedDepth/parameter_descriptions' -'(.*)/uvdar_bluefox/right/image_raw/compressedDepth/parameter_updates' -'(.*)/uvdar_bluefox/right/image_raw/theora' -'(.*)/uvdar_bluefox/right/image_raw/theora/parameter_descriptions' -'(.*)/uvdar_bluefox/right/image_raw/theora/parameter_updates' -# '(.*)/uvdar_bluefox/back/camera_info' -# '(.*)/uvdar_bluefox/back/image_raw' -# '(.*)/uvdar_bluefox/back/image_raw/compressed' -# '(.*)/uvdar_bluefox/back/image_raw/compressed/parameter_descriptions' -# '(.*)/uvdar_bluefox/back/image_raw/compressed/parameter_updates' -# '(.*)/uvdar_bluefox/back/image_raw/compressedDepth' -# '(.*)/uvdar_bluefox/back/image_raw/compressedDepth/parameter_descriptions' -# '(.*)/uvdar_bluefox/back/image_raw/compressedDepth/parameter_updates' -# '(.*)/uvdar_bluefox/back/image_raw/theora' -# '(.*)/uvdar_bluefox/back/image_raw/theora/parameter_descriptions' -# '(.*)/uvdar_bluefox/back/image_raw/theora/parameter_updates' -) - -# file's header -filename=`mktemp` -echo "" > "$filename" -echo "" >> "$filename" -echo "" >> "$filename" - -echo -n "> "$filename" - -# if there is anything to exclude -if [ "${#exclude[*]}" -gt 0 ]; then - - echo -n " -x " >> "$filename" - - # list all the string and separate the with | - for ((i=0; i < ${#exclude[*]}; i++)); - do - echo -n "${exclude[$i]}" >> "$filename" - if [ "$i" -lt "$( expr ${#exclude[*]} - 1)" ]; then - echo -n "|" >> "$filename" - fi - done - -fi - -echo "\">" >> "$filename" - -echo "" >> "$filename" -echo "" >> "$filename" - -# file's footer -echo "" >> "$filename" -echo "" >> "$filename" -echo "" >> "$filename" - -cat $filename -roslaunch $filename