office_gzweb/.env.defaults

26 lines
998 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ================================================================
# 演示方案默认环境变量
# 容器重启后 autorun.sh 会自动加载此文件
# ================================================================
# 视觉后端模式yolo | vlm | hybrid
# yolo : YOLOv8n CPU 检测(轻量、快速)
# vlm : Qwen2.5-VL-3B GPU 检测(语义理解强)
# hybrid: YOLO 持续 + VLM 定期深度分析
export VISION_BACKEND="${VISION_BACKEND:-yolo}"
# VLM 采样间隔(秒)
export VLM_INTERVAL="${VLM_INTERVAL:-5.0}"
# VLM 模型名称(本地路径优先)
export VLM_MODEL="${VLM_MODEL:-Qwen/Qwen2.5-VL-3B-Instruct}"
# VLM 提示词(空则使用内置默认)
export VLM_PROMPT="${VLM_PROMPT:-}"
# HuggingFace / ModelScope 缓存目录
export HF_HOME="${HF_HOME:-/workspace/.cache/huggingface}"
# 默认地图路径localization 模式使用)
export NAV2_MAP_PATH="${NAV2_MAP_PATH:-/workspace/turtlebot3_simulations/turtlebot3_gazebo/map/office_map.yaml}"