Refactor Docker and Local Setup Commands
- Enhanced the docker_setup.py to streamline image building and pulling processes with improved logging and error handling. - Introduced a new LogScreen for better user feedback during long-running tasks. - Updated local_setup.py to utilize logging for installation steps and improved error handling. - Refactored robot_setup.py to simplify configuration saving and user interaction. - Added a new LogScreen class in tui.py for consistent logging across different setup processes. - Modified install.sh to adjust the installation directory for better organization.
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ BOLD='\033[1m'
|
||||
|
||||
PYTHON_VERSION="3.11"
|
||||
REPO_URL="https://gitverse.ru/daniel-robotics/lightweight-cobot.git"
|
||||
INSTALL_DIR="${COBOT_INSTALL_DIR:-$HOME/.lwc/ros2_iiwa7}"
|
||||
INSTALL_DIR="${COBOT_INSTALL_DIR:-$HOME/.lwc}"
|
||||
|
||||
# Определяем интерактивный режим: при запуске через curl | bash stdin не является терминалом
|
||||
if [ -t 0 ]; then IS_INTERACTIVE=true; else IS_INTERACTIVE=false; fi
|
||||
|
||||
Reference in New Issue
Block a user