From fee0c7c1872b32141612ad0b3730b865e7e4dace Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期二, 22 三月 2022 13:00:18 +0800
Subject: [PATCH] optimization for auto slam
---
TEST_SlamAuto.bat | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/TEST_SlamAuto.bat b/TEST_SlamAuto.bat
index a56d66b..8c5bcd8 100644
--- a/TEST_SlamAuto.bat
+++ b/TEST_SlamAuto.bat
@@ -14,8 +14,9 @@
@REM pre-defined parameters
set port=COM11
-set speed=100
+set speed=200
set degree_step=5
+set time_delay=5
set alpha=0
set beta=20
set gamma=auto
@@ -26,12 +27,13 @@
@REM re-defined parameters
set /p port=Please input the serial port of rotation machine (example: COM11):
-set /P speed=Please input the speed of rotation machine (example: 100):
-set /P degree_step=Please input the degree step of rotation machine (example: 5):
+set /P speed=Please input the speed of rotation machine (example: 200):
+@REM set /P degree_step=Please input the degree step of rotation machine (example: 5):
+set /P time_delay=Please input the delay time of rotation machine (example: 5):
set /P alpha=Please input the alpha degree of microwave device (example: 0/-20/auto):
set /P beta=Please input the beta degree of microwave device (example: 0/-20/auto):
set /P gamma=Please input the gamma degree of microwave device (example: 0/-20/auto):
-set /p udp_packets=Please input the udp packets num (example: 1000):
+@REM set /p udp_packets=Please input the udp packets num (example: 1000):
set /p saveFolder=Please input the folder to save the data (example: ./data/run_test/):
set PLYfile=%saveFolder%/data.ply
@@ -41,6 +43,7 @@
echo port :%port%
echo speed :%speed%
echo degree_step :%degree_step%
+echo time_delay :%time_delay%
echo alpha :%alpha%
echo beta :%beta%
echo gamma :%gamma%
@@ -56,7 +59,7 @@
echo change to path: %cd%
if %choice% == y (
- %aerialpython% ./src/auto_slam.py %port% %speed% %degree_step% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder%
+ %aerialpython% ./src/auto_slam.py %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder%
@REM -------------- Usage: plot_ply.py [PLYfile]"
%aerialpython% ./src/utils/plot_ply.py %PLYfile%
) else (
--
Gitblit v1.9.1