Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gauss_ros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
GAUSS_project
gauss_ros
Commits
eac72088
Commit
eac72088
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
scripts
parent
180d4735
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/bag2csv_rpa.sh
+25
-0
25 additions, 0 deletions
scripts/bag2csv_rpa.sh
scripts/multi_launch_positioning_rosbag.sh
+16
-0
16 additions, 0 deletions
scripts/multi_launch_positioning_rosbag.sh
with
41 additions
and
0 deletions
scripts/bag2csv_rpa.sh
0 → 100755
+
25
−
0
View file @
eac72088
#!/bin/bash
BAG_PATH
=
"/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected/GAUSS_solution"
cd
$BAG_PATH
echo
"In folder
$PWD
there are the following rosbags of rpa_output:"
ls
rpa_output
*
.bag
FILES
=
"rpa_output*.bag"
for
f
in
$FILES
do
echo
"Processing
$f
file..."
# remove extension .bag
#f2=${f:11: -4}
#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"
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"
echo
"Creating the file
$fs
"
rostopic
echo
-b
$f
-p
/wolf_ros_node/rpa_state_info
>
$fs
done
This diff is collapsed.
Click to expand it.
scripts/multi_launch_positioning_rosbag.sh
0 → 100644
+
16
−
0
View file @
eac72088
#!/bin/bash
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
)
BAF_PATH
=
"/media/jvallve/DADES/bags/GAUSS/second_field_inta/selected/sensors"
for
experiment
in
"
${
EXPERIMENTS
[@]
}
"
do
for
config
in
"
${
CONFIGS
[@]
}
"
do
echo
"Launch TDCP_ROS with
$experiment
in mode
$config
..."
roslaunch gauss_ros rpa_positioning_rosbag_second_field.launch flight:
=
$experiment
conf_gnss:
=
$config
rviz:
=
false
bag_path:
=
$BAG_PATH
>
log.txt
done
done
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment