You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
547 B
23 lines
547 B
#!/bin/bash
|
|
set -e
|
|
|
|
# Source virtual environment and ROS2
|
|
source ${HOME}/venv/bin/activate
|
|
source /opt/ros/humble/setup.bash
|
|
export ROS_LOCALHOST_ONLY=1
|
|
|
|
# Install external dependencies
|
|
echo "Current directory: $(pwd)"
|
|
echo "Installing dependencies..."
|
|
|
|
# Install Unitree SDK and LeRobot
|
|
if [ -d "external_dependencies/unitree_sdk2_python" ]; then
|
|
cd external_dependencies/unitree_sdk2_python/
|
|
uv pip install -e . --no-deps
|
|
cd ../..
|
|
fi
|
|
|
|
# Install project
|
|
if [ -f "pyproject.toml" ]; then
|
|
UV_GIT_LFS=1 uv pip install -e ".[dev]"
|
|
fi
|