|
@@ -28,7 +28,7 @@ catkin_make
|
|
|
|
|
|
if [ $? -eq 0 ];then
|
|
|
source ~/ros_minibot_ws/devel/setup.bash
|
|
|
- echo -e "${green}编译ROS代码完成,现在编译oled屏幕代码...${normal}"
|
|
|
+ echo -e "${green}>>> 编译ROS代码完成,现在编译oled屏幕代码...${normal}"
|
|
|
else
|
|
|
echo -e "${red}编译代码发生错误,请检查代码${normal}"
|
|
|
exit -2
|
|
@@ -40,7 +40,8 @@ rm -rf *
|
|
|
cmake ..
|
|
|
make
|
|
|
cd ../
|
|
|
-echo -e "${green}>>> 需要输入密码配置oled启动服务...${normal}"
|
|
|
+echo -e "\n"
|
|
|
+echo -e "${green}>>> 需要输入密码配置oled屏幕启动服务...${normal}"
|
|
|
sudo cp *.service /usr/lib/systemd/system/
|
|
|
echo -e "\n"
|
|
|
echo -e "${green}>>> 全部代码都已编译配置完成,下面开始使用小车...${normal}"
|