env/ExportEnv.bat
File was deleted env/JustDoubleClickMe.bat
File was deleted env/SettingEnv.bat
@@ -2,31 +2,26 @@ @REM change to the filepath cd %~dp0 @REM echo change to path: %cd% if exist ../../aerial_deploy ( echo the folder aerial_deploy is exited, removing it ... rmdir /S /Q "../../aerial_deploy" echo remove done! ) cd .. git lfs install git lfs pull @REM create the virtual env for this project @REM please make sure your machine have installed a @REM python with global env variable or select it by yourself. cd %~dp0 mkdir "../../aerial_deploy" python -m venv "../.env" echo setting the env ... tar -xzf "./aerial.tar.gz" -C "../../aerial_deploy" @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. if not exist ".env" ( mklink /j ".env" "../aerial_deploy/") @REM install some packages python -m pip install --no-index -f "requirements" -r "../requirements.txt" echo ##################################################################### python -c "import cv2, pika, flask; print('Hello World! The env is ready!')" cd %~dp0 call "../src/protos/compile.bat" echo ALL DONE! echo =========== ALL DONE ================ echo Press any key to exit this windiow. pause env/aerial.tar.gz
File was deleted env/requirements/Babel-2.10.3-py3-none-any.whlBinary files differ
env/requirements/Flask-2.1.2-py3-none-any.whlBinary files differ
env/requirements/Jinja2-3.1.2-py3-none-any.whlBinary files differ
env/requirements/MarkupSafe-2.1.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/Pygments-2.12.0-py3-none-any.whlBinary files differ
env/requirements/Send2Trash-1.8.0-py3-none-any.whlBinary files differ
env/requirements/Werkzeug-2.1.2-py3-none-any.whlBinary files differ
env/requirements/anyio-3.6.1-py3-none-any.whlBinary files differ
env/requirements/argon2_cffi-21.3.0-py3-none-any.whlBinary files differ
env/requirements/argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whlBinary files differ
env/requirements/asttokens-2.0.5-py2.py3-none-any.whlBinary files differ
env/requirements/attrs-21.4.0-py2.py3-none-any.whlBinary files differ
env/requirements/backcall-0.2.0-py2.py3-none-any.whlBinary files differ
env/requirements/beautifulsoup4-4.11.1-py3-none-any.whlBinary files differ
env/requirements/bitarray-2.5.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/bleach-5.0.0-py3-none-any.whlBinary files differ
env/requirements/certifi-2022.6.15-py3-none-any.whlBinary files differ
env/requirements/cffi-1.15.0-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/charset_normalizer-2.0.12-py3-none-any.whlBinary files differ
env/requirements/click-8.1.3-py3-none-any.whlBinary files differ
env/requirements/colorama-0.4.5-py2.py3-none-any.whlBinary files differ
env/requirements/debugpy-1.6.0-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/decorator-5.1.1-py3-none-any.whlBinary files differ
env/requirements/defusedxml-0.7.1-py2.py3-none-any.whlBinary files differ
env/requirements/deprecation-2.1.0-py2.py3-none-any.whlBinary files differ
env/requirements/entrypoints-0.4-py3-none-any.whlBinary files differ
env/requirements/executing-0.8.3-py2.py3-none-any.whlBinary files differ
env/requirements/fastjsonschema-2.15.3-py3-none-any.whlBinary files differ
env/requirements/idna-3.3-py3-none-any.whlBinary files differ
env/requirements/importlib_metadata-4.11.4-py3-none-any.whlBinary files differ
env/requirements/ipykernel-6.15.0-py3-none-any.whlBinary files differ
env/requirements/ipython-8.4.0-py3-none-any.whlBinary files differ
env/requirements/ipython_genutils-0.2.0-py2.py3-none-any.whlBinary files differ
env/requirements/ipywidgets-7.7.0-py2.py3-none-any.whlBinary files differ
env/requirements/itsdangerous-2.1.2-py3-none-any.whlBinary files differ
env/requirements/jedi-0.18.1-py2.py3-none-any.whlBinary files differ
env/requirements/json5-0.9.8.tar.gz
New file @@ -0,0 +1,3 @@ version https://git-lfs.github.com/spec/v1 oid sha256:0fa6e4d3ef062f93ba9cf2a9103fe8e68c7917dfa33519ae3ac8c7e48e3c84ff size 22562 env/requirements/jsonschema-4.6.0-py3-none-any.whlBinary files differ
env/requirements/jupyter_client-7.3.4-py3-none-any.whlBinary files differ
env/requirements/jupyter_core-4.10.0-py3-none-any.whlBinary files differ
env/requirements/jupyter_packaging-0.12.2-py3-none-any.whlBinary files differ
env/requirements/jupyter_server-1.17.1-py3-none-any.whlBinary files differ
env/requirements/jupyterlab-3.4.3-py3-none-any.whlBinary files differ
env/requirements/jupyterlab_pygments-0.2.2-py2.py3-none-any.whlBinary files differ
env/requirements/jupyterlab_server-2.14.0-py3-none-any.whlBinary files differ
env/requirements/jupyterlab_widgets-1.1.0-py3-none-any.whlBinary files differ
env/requirements/matplotlib_inline-0.1.3-py3-none-any.whlBinary files differ
env/requirements/mistune-0.8.4-py2.py3-none-any.whlBinary files differ
env/requirements/nbclassic-0.3.7-py3-none-any.whlBinary files differ
env/requirements/nbclient-0.6.4-py3-none-any.whlBinary files differ
env/requirements/nbconvert-6.5.0-py3-none-any.whlBinary files differ
env/requirements/nbformat-5.4.0-py3-none-any.whlBinary files differ
env/requirements/nest_asyncio-1.5.5-py3-none-any.whlBinary files differ
env/requirements/notebook-6.4.12-py3-none-any.whlBinary files differ
env/requirements/notebook_shim-0.1.0-py3-none-any.whlBinary files differ
env/requirements/numpy-1.22.4-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/opencv_python-4.6.0.66-cp36-abi3-win_amd64.whlBinary files differ
env/requirements/packaging-21.3-py3-none-any.whlBinary files differ
env/requirements/pandocfilters-1.5.0-py2.py3-none-any.whlBinary files differ
env/requirements/parso-0.8.3-py2.py3-none-any.whlBinary files differ
env/requirements/pickleshare-0.7.5-py2.py3-none-any.whlBinary files differ
env/requirements/pika-1.2.1-py2.py3-none-any.whlBinary files differ
env/requirements/prometheus_client-0.14.1-py3-none-any.whlBinary files differ
env/requirements/prompt_toolkit-3.0.29-py3-none-any.whlBinary files differ
env/requirements/protobuf-4.21.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/protoc_wheel_0-21.1-py2.py3-none-win_amd64.whlBinary files differ
env/requirements/psutil-5.9.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/pure_eval-0.2.2-py3-none-any.whlBinary files differ
env/requirements/pycparser-2.21-py2.py3-none-any.whlBinary files differ
env/requirements/pyparsing-3.0.9-py3-none-any.whlBinary files differ
env/requirements/pyrsistent-0.18.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/pyserial-3.5-py2.py3-none-any.whlBinary files differ
env/requirements/python_dateutil-2.8.2-py2.py3-none-any.whlBinary files differ
env/requirements/pytz-2022.1-py2.py3-none-any.whlBinary files differ
env/requirements/pywin32-304-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/pywinpty-2.0.5-cp39-none-win_amd64.whlBinary files differ
env/requirements/pyzmq-23.2.0-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/requests-2.28.0-py3-none-any.whlBinary files differ
env/requirements/setuptools-62.6.0-py3-none-any.whlBinary files differ
env/requirements/six-1.16.0-py2.py3-none-any.whlBinary files differ
env/requirements/sniffio-1.2.0-py3-none-any.whlBinary files differ
env/requirements/soupsieve-2.3.2.post1-py3-none-any.whlBinary files differ
env/requirements/stack_data-0.3.0-py3-none-any.whlBinary files differ
env/requirements/terminado-0.15.0-py3-none-any.whlBinary files differ
env/requirements/tinycss2-1.1.1-py3-none-any.whlBinary files differ
env/requirements/tomlkit-0.11.0-py3-none-any.whlBinary files differ
env/requirements/tornado-6.1-cp39-cp39-win_amd64.whlBinary files differ
env/requirements/tqdm-4.64.0-py2.py3-none-any.whlBinary files differ
env/requirements/traitlets-5.3.0-py3-none-any.whlBinary files differ
env/requirements/urllib3-1.26.9-py2.py3-none-any.whlBinary files differ
env/requirements/wcwidth-0.2.5-py2.py3-none-any.whlBinary files differ
env/requirements/webencodings-0.5.1-py2.py3-none-any.whlBinary files differ
env/requirements/websocket_client-1.3.3-py3-none-any.whlBinary files differ
env/requirements/wheel-0.37.1-py2.py3-none-any.whlBinary files differ
env/requirements/widgetsnbextension-3.6.0-py2.py3-none-any.whlBinary files differ
env/requirements/zipp-3.8.0-py3-none-any.whlBinary files differ
requirements.txt
New file @@ -0,0 +1,10 @@ numpy Flask pika protobuf tqdm opencv-python pyserial bitarray open3d protoc-wheel-0 scripts_launch/TEST_Slam.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM set folder=T:\\Data\\projects\\huaneng\\00_Docs\\slamtest @@ -43,9 +35,9 @@ if %choice% == y ( %aerialpython% ./scripts/slamManualMode.py %folder% %alpha% %beta% %gamma% %savename% python ./scripts/slamManualMode.py %folder% %alpha% %beta% %gamma% %savename% @REM -------------- Usage: plot_ply.py [PLYfile]" %aerialpython% ./scripts/plot_ply.py %PLYfile% python ./scripts/plot_ply.py %PLYfile% ) else ( echo you choose stop! exit scripts_launch/TEST_SlamAuto.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM pre-defined parameters @@ -64,9 +56,9 @@ if %choice% == y ( %aerialpython% ./scripts/slamAutoMode.py %servo_path% %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% python ./scripts/slamAutoMode.py %servo_path% %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% @REM -------------- Usage: plot_ply.py [PLYfile]" %aerialpython% ./scripts/plot_ply.py %PLYfile% python ./scripts/plot_ply.py %PLYfile% ) else ( echo you choose stop! exit scripts_launch/TEST_bin2ply.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% echo [the folder example]: ./slamdata/ @@ -21,5 +13,5 @@ @REM ---------------Usage: bin2ply.py [BINfolder] %aerialpython% ./scripts/bin2ply.py %BINfolder% python ./scripts/bin2ply.py %BINfolder% pause scripts_launch/TEST_ply_show.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% set PLYfile=./test60120.ply scripts_launch/TEST_startClient.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM set MQhost=localhost @@ -31,6 +23,6 @@ echo Client.py is running ... @REM -------- Usage: Client.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [DEVICEname] [SERVERhost] [MICROWAVEhost] @REM %aerialpython% ./src/Client.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %DEVICEname% %SERVERhost% %MICROWAVEhost% >> %LOGfile% %aerialpython% ./scripts/mqClient.py %MQhost% %MQuser% %MQpassword% %DEVICEname% %MICROWAVEhost% python ./scripts/mqClient.py %MQhost% %MQuser% %MQpassword% %DEVICEname% %MICROWAVEhost% echo Client.py has been terminited. pause scripts_launch/TEST_startServer.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM set MQhost=localhost @@ -30,7 +22,7 @@ echo the log file will be saved in the [%LOGfile%] file echo Server.py is running ... @REM -------- Usage: Server.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [WEBport] [SAVEfolder]") %aerialpython% ./scripts/mqServer.py %MQhost% %MQuser% %MQpassword% %WEBhost% %WEBport% %SAVEfolder% %SERVERname% python ./scripts/mqServer.py %MQhost% %MQuser% %MQpassword% %WEBhost% %WEBport% %SAVEfolder% %SERVERname% echo Server.py has been terminited. pause scripts_launch/TEST_udp2bin.bat
@@ -2,23 +2,15 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% echo [the UDP folder example]: ./slamdata/60/ set /p UDPfolder=Please input the UDP folder: @REM ---------------Usage: udp2bin.py [UDPfolder] %aerialpython% ./scripts/udp2bin.py %UDPfolder% python ./scripts/udp2bin.py %UDPfolder% pause scripts_launch/TEST_udp2ply.bat
@@ -2,25 +2,17 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% echo [the UDP folder example]: ./slamdata/60/ set /p UDPfolder=Please input the UDP folder: @REM ---------------Usage: udp2bin.py [UDPfolder] %aerialpython% ./scripts/udp2bin.py %UDPfolder% python ./scripts/udp2bin.py %UDPfolder% @REM ---------------Usage: bin2ply.py [BINfolder] %aerialpython% ./scripts/bin2ply.py %UDPfolder% python ./scripts/bin2ply.py %UDPfolder% pause scripts_launch/TEST_udp_get.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% set MICROWAVEhost=192.168.2.65 @@ -29,5 +21,5 @@ set folder=./%SAVEfolder%/%SUBfolder%/ echo the udp data will be saved in folder %folder% @REM ---------------Usage: udp_get.py [MICROWAVEhost] [PACKETthreshold] [DEVICEname] [SAVEfolder] %aerialpython% ./scripts/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% %SUBfolder% python ./scripts/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% %SUBfolder% pause scripts_launch/bin2ply.bat
@@ -2,23 +2,14 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM please the folder path of the bin files. @REM set BINfolder=./Manual_Microwave/pod1-2012-12-12-12-12-12/ @REM add vitrual env python to the path path ".env/Scripts/";%path% @REM ---------------Usage: bin2ply.py [BINfolder] %aerialpython% ./scripts/bin2ply.py %BINfolder% python ./scripts/bin2ply.py %BINfolder% pause scripts_launch/ply_show.bat
@@ -2,22 +2,11 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM please the folder path of the bin files. @REM set PLYfile=./Manual_Microwave/pod1-2022-02-21-15-34-45/2522.ply @REM -------------- Usage: plot_ply.py [PLYfile]" %aerialpython% ./scripts/plot_ply.py %PLYfile% python ./scripts/plot_ply.py %PLYfile% pause scripts_launch/startClient.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% set MQhost=172.17.17.206 @@ -29,6 +21,6 @@ echo the log file will be saved in the [%LOGfile%] file echo Client.py is running ... @REM -------- Usage: Client.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [DEVICEname] [SERVERhost] [MICROWAVEhost] %aerialpython% ./src/Client.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %DEVICEname% %SERVERhost% %MICROWAVEhost% >> %LOGfile% python ./src/Client.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %DEVICEname% %SERVERhost% %MICROWAVEhost% >> %LOGfile% echo Client.py has been terminited. pause scripts_launch/startServer.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% set MQhost=172.17.17.206 @@ -28,7 +20,7 @@ echo the log file will be saved in the [%LOGfile%] file echo Server.py is running ... @REM -------- Usage: Server.py [MQhost] [MQuser] [MQpassword] [QUEUEname] [WEBport] [SAVEfolder]") %aerialpython% ./src/Server.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %WEBport% %SAVEfolder% >> >> %LOGfile% python ./src/Server.py %MQhost% %MQuser% %MQpassword% %QUEUEname% %WEBport% %SAVEfolder% >> >> %LOGfile% echo Server.py has been terminited. pause scripts_launch/udp2bin.bat
@@ -2,23 +2,15 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM please the folder path of the udp files. @REM set UDPfolder=./Manual_Microwave/pod1-2012-12-12-12-12-12/ @REM ---------------Usage: udp2bin.py [UDPfolder] %aerialpython% ./scripts/udp2bin.py %UDPfolder% python ./scripts/udp2bin.py %UDPfolder% pause scripts_launch/udp2ply.bat
@@ -2,25 +2,17 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% @REM please the folder path of the udp files. @REM set UDPfolder=./Manual_Microwave/pod1-2012-12-12-12-12-12/ @REM ---------------Usage: udp2bin.py [UDPfolder] %aerialpython% ./scripts/udp2bin.py %UDPfolder% python ./scripts/udp2bin.py %UDPfolder% @REM ---------------Usage: bin2ply.py [BINfolder] %aerialpython% ./scripts/bin2ply.py %UDPfolder% python ./scripts/bin2ply.py %UDPfolder% pause scripts_launch/udp_get.bat
@@ -2,18 +2,10 @@ @REM change to the filepath cd %~dp0 @REM add vitrual env python to the path path "%~dp0/../.env/Scripts/";%path% cd .. set aerialpython=%cd%/.env/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) cd %~dp0 cd .. echo change to path: %cd% set MICROWAVEhost=192.168.2.65 @@ -21,5 +13,5 @@ SET DEVICEname=pod1 SET SAVEfolder=./Manual_Microwave @REM ---------------Usage: udp_get.py [MICROWAVEhost] [PACKETthreshold] [DEVICEname] [SAVEfolder] %aerialpython% ./scripts/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% python ./scripts/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% pause src/engine/CaptureThread.py
@@ -1,6 +1,4 @@ import sys import cv2 # NOQA: E402 import os import numpy as np import threading import time src/engine/ControllThread.py
@@ -1,5 +1,3 @@ import os, sys import queue import time import pika src/engine/DustCleanerThread.py
@@ -1,5 +1,3 @@ import sys # NOQA: E402 import os import threading import time src/engine/MessageQueueThread.py
@@ -1,5 +1,3 @@ import sys # NOQA: E402 import os import pika import threading from ctypes import sizeof src/engine/MessageThreads.py
@@ -3,13 +3,10 @@ import threading import pika import time from time import sleep import sys from datetime import datetime from typing import List import numpy as np import cv2 from tomlkit import value # # add python path of src to sys.path # src_path = os.path.join(__file__, *(['..'] * 2)) src/engine/Microwave.py
@@ -1,7 +1,4 @@ import os,sys import queue import time from datetime import datetime from typing import Union import threading src/engine/devices.py
@@ -1,19 +1,13 @@ from lib2to3.pytree import convert import cv2 import time import threading import numpy as np import os, sys from typing import List, Union import queue from datetime import datetime # # add python path of src to sys.path # src_path = os.path.join(__file__, *(['..'] * 2)) # src_path = os.path.abspath(src_path) # sys.path.insert(0, src_path) from ..protos import aerial_pb2 as pb from .DustCleaner import DustCleaner from .Microwave import micorwaveMannager from .MessageThreads import send_logs_tool, send_images_tool, send_pointcloud_tool src/microwave/demo/AutoGetUDP.bat
@@ -2,19 +2,10 @@ @REM change to the filepath cd %~dp0 echo change to path: %cd% @REM add vitrual env python to the path path "%~dp0/../../../../.env/Scripts/";%path% set aerialpython=%cd%/../../../env/aerial_deploy/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) echo All data will be save in '%cd%/saveUDPData/' folder %aerialpython% udp_test_get.py microwave python udp_test_get.py microwave echo =========== ALL DONE ================ src/microwave/demo/AutoGetUDPtest.bat
@@ -2,19 +2,12 @@ @REM change to the filepath cd %~dp0 echo change to path: %cd% set aerialpython=%cd%/../../../env/aerial_deploy/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) @REM add vitrual env python to the path path "%~dp0/../../../../.env/Scripts/";%path% echo All data will be saved in '%cd%/saveUDPData/' folder %aerialpython% udp_test_get.py test python udp_test_get.py test echo =========== ALL GET DONE ================ src/microwave/demo/AutoSendAndGetTest.bat
@@ -2,15 +2,9 @@ @REM change to the filepath cd %~dp0 echo change to path: %cd% set aerialpython=%cd%/../../../env/aerial_deploy/python.exe set envsetting=%cd%/env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) @REM add vitrual env python to the path path "%~dp0/../../../../.env/Scripts/";%path% start AutoGetUDPtest.bat start AutoSendUDPtest.bat src/microwave/demo/AutoSendUDPtest.bat
@@ -2,19 +2,12 @@ @REM change to the filepath cd %~dp0 echo change to path: %cd% set aerialpython=%cd%/../../../.env/python.exe set envsetting=%cd%/../../../env/SettingEnv.bat @REM Setting the env if not exist %aerialpython% ( call %envsetting% ) @REM add vitrual env python to the path path "%~dp0/../../../../.env/Scripts/";%path% echo All data saved in '%cd%/demoUDPData/' folder will be sent to 127.0.0.1:9911 %aerialpython% udp_test_send.py python udp_test_send.py echo =========== ALL SEND DONE ================ src/microwave/parsers.py
@@ -1,5 +1,3 @@ from tkinter import Frame from .components import * from .constants import * from ctypes import sizeof, string_at src/protos/compile.bat
@@ -3,8 +3,9 @@ @REM change to the filepath cd %~dp0 set protoc=%cd%/../../.env/Library/bin/protoc.exe path "%~dp0/../../.env/Scripts";%path% @REM call "%cd%/../../.env/Scripts/activate.bat" %protoc% aerial.proto --python_out=%cd% python -m protoc aerial.proto --python_out=%cd% echo protoc: aerial.proto compile done! src/requirements.yaml
File was deleted