Skip to content

Commit 8f1748d

Browse files
[clearpath_robot] Added getting the robot.yaml file to the grab-diagnostics script. (#244)
1 parent d99ae4d commit 8f1748d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clearpath_robot/scripts/grab-diagnostics

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
# Create a temporary folder
3131
temp_folder=$(mktemp -d)
3232

33+
# Get robot yaml file
34+
if [ -e /etc/clearpath/robot.yaml ]; then
35+
sudo cp /etc/clearpath/robot.yaml "$temp_folder/robot.yaml"
36+
fi
37+
38+
3339
# CPR service logs
3440
sudo journalctl -b 0 -u clearpath-platform >> $temp_folder/platform.log
3541
sudo journalctl -b 0 -u clearpath-sensors >> $temp_folder/sensors.log

0 commit comments

Comments
 (0)