ソースを参照

1.提升机构除进载车板车位,其余进库一律下降

gf 1 年間 前
コミット
c210486dd3
1 ファイル変更7 行追加0 行削除
  1. 7 0
      MPC/navigation.cpp

+ 7 - 0
MPC/navigation.cpp

@@ -815,6 +815,13 @@ bool Navigation::execute_InOut_space(NavMessage::NewAction action) {
                 printf(" Enter space | lifter rise failed. line:%d\n",__LINE__);
             }
         }
+        else{
+            //否则下降
+            if (lifter_down() == false){
+                printf(" Enter space | lifter down failed. line:%d\n",__LINE__);
+            }
+
+        }
 //
 //        //移动到预入库点位,较高精度
 //        NavMessage::PathNode pre_target;