diff --git a/builder/image-ros.sh b/builder/image-ros.sh index afa369b5..d6eb06f7 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -112,7 +112,7 @@ my_travis_retry pip3 install wheel my_travis_retry pip3 install -r /home/pi/catkin_ws/src/clover/clover/requirements.txt source /opt/ros/${ROS_DISTRO}/setup.bash # Don't build simulation plugins for actual drone -catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo +sudo -u pi catkin_make -j2 -DCMAKE_BUILD_TYPE=RelWithDebInfo source devel/setup.bash echo_stamp "Install clever package (for backwards compatibility)"