Fix ROS tools tests

This commit is contained in:
Oleg Kalachev
2022-11-10 17:56:23 +06:00
parent 3662f512a7
commit a0322c55f2

View File

@@ -71,7 +71,11 @@ if [ -z $VM ]; then
[[ $(rosversion cv_camera) == "0.5.1" ]] # patched version with init fix
fi
# determine user home directory
[ $VM ] && H="/home/clover" || H="/home/pi"
# test basic ros tool work
source $H/catkin_ws/devel/setup.bash
roscd
rosrun
rosmsg
@@ -82,8 +86,5 @@ rosservice
rosparam
roslaunch
# determine user home directory
[ $VM ] && H="/home/clover" || H="/home/pi"
# validate examples are present
[[ $(ls $H/examples/*) ]]