9 lines
700 B
Bash
Executable file
9 lines
700 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
colcon build --packages-select full_topology && \
|
|
source install/setup.bash && \
|
|
TRACE_ID=$(taskset -c 2,3 ros2 launch full_topology trace_full_topology.launch.py length:=100 | \
|
|
grep -oP '(?<=Writing tracing session to: /home/niklas/ROS-Dynamic-Executor-Experiments/analysis/tracing/full_topology_tracing-)\d+') && \
|
|
ros2 trace-analysis convert "/home/niklas/ROS-Dynamic-Executor-Experiments/analysis/tracing/full_topology_tracing-${TRACE_ID}/ust" && \
|
|
scp -r "analysis/tracing/full_topology_tracing-${TRACE_ID}/" 192.168.162.249:/home/niklas/dataflow-analysis/traces/ && \
|
|
echo "Trace analysis \"${TRACE_ID}\" complete and copied to remote server."
|