add dora_ulite6 standalone node with command lifecycle status
Migrates the ulite6 Python dora node from dora_littlehand into a
self-contained repository following the dora-zed structure. Adds
command lifecycle state ("started"/"done"/"failed") and type
("command"/"error") to the status output so coordinator nodes can
reliably sequence robot actions without polling.
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Install dependencies for dora-ulite6.
|
||||
# Requires: Python >=3.8
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
REPO_DIR="${SCRIPT_DIR}/.."
|
||||
|
||||
# Install uv if not present
|
||||
if ! command -v uv &>/dev/null; then
|
||||
echo ">>> Installing uv..."
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
fi
|
||||
|
||||
# Create venv and install
|
||||
echo ">>> Installing dora-ulite6 in editable mode..."
|
||||
cd "$REPO_DIR"
|
||||
uv venv --seed --allow-existing
|
||||
uv pip install -e ".[dev]"
|
||||
|
||||
echo ">>> Done. Activate with: source .venv/bin/activate"
|
||||
Reference in New Issue
Block a user