Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/source/telesurgery_viewport.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 27 additions & 3 deletions holoscan_i4h/operators/clarius_solum/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,34 @@ execute_process(

# Download Clarius library and header files
if(NOT EXISTS "${LIB_DIR}/clarius_solum/libsolum.so")
set(SOLUM_URL "https://github.com/clariusdev/solum/releases/download/v12.0.2/solum-12.0.2-linux.x86_64-gcc_ubuntu_${UBUNTU_VERSION}.zip")
set(SOLUM_ZIP_PATH "${LIB_DIR}/clarius_solum/solum.zip")

message(STATUS "Downloading Clarius Solum library from: ${SOLUM_URL}")

# Download the zip file with error checking
file(DOWNLOAD
"https://github.com/clariusdev/solum/releases/download/v12.0.2/solum-12.0.2-linux.x86_64-gcc_ubuntu_${UBUNTU_VERSION}.zip"
"${LIB_DIR}/clarius_solum/solum.zip"
)
"${SOLUM_URL}"
"${SOLUM_ZIP_PATH}"
STATUS DOWNLOAD_STATUS
TIMEOUT 600
SHOW_PROGRESS
)

# Check download status
list(GET DOWNLOAD_STATUS 0 DOWNLOAD_ERROR_CODE)
list(GET DOWNLOAD_STATUS 1 DOWNLOAD_ERROR_MESSAGE)

if(NOT DOWNLOAD_ERROR_CODE EQUAL 0)
message(FATAL_ERROR "Failed to download Clarius Solum library: ${DOWNLOAD_ERROR_MESSAGE}")
endif()

# Verify the downloaded file exists and has reasonable size
if(NOT EXISTS "${SOLUM_ZIP_PATH}")
message(FATAL_ERROR "Downloaded file does not exist: ${SOLUM_ZIP_PATH}")
endif()

message(STATUS "Successfully downloaded Clarius Solum library to ${SOLUM_ZIP_PATH}")
# Unzip the file
execute_process(
COMMAND unzip solum.zip
Expand Down
14 changes: 13 additions & 1 deletion tools/env_setup/bash_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@
check_conda_env() {
if [ -z "$CONDA_DEFAULT_ENV" ]; then
echo "Error: No active conda environment detected"
echo "Please activate a conda environment before running this script"
echo ""
echo "To resolve this, you can either:"
echo "1. Install miniconda if you don't have it:"
echo " - Download from: https://docs.conda.io/en/latest/miniconda.html"
echo " - Or run: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh"
echo ""
echo "2. If conda is already installed, initialize it:"
echo " - Run: conda init"
echo ""
echo "3. Create and activate a conda environment:"
echo " - Run: conda create -n i4h python=3.10"
echo " - Then: conda activate i4h"
echo ""
exit 1
fi
echo "Using conda environment: $CONDA_DEFAULT_ENV"
Expand Down
9 changes: 8 additions & 1 deletion tools/env_setup/install_clarius.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ HOLOSCAN_I4H_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd ../../holoscan_i4
(
cd $HOLOSCAN_I4H_ROOT
cmake . -B build && cmake --build build && cmake --install build
echo "Successfully built Clarius libs"

# Check if install folder was created successfully
if [ -d "install" ]; then
echo "Successfully built Clarius libs!"
else
echo "ERROR: Install folder not found - build may have failed"
exit 1
fi
)
2 changes: 1 addition & 1 deletion tools/env_setup/install_isaac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mkdir -p "$PROJECT_ROOT/third_party"
# ---- Install IsaacSim ----
echo "Installing IsaacSim..."
pip install 'isaacsim[all,extscache]==4.5.0' \
git+ssh://[email protected]/isaac-for-healthcare/[email protected].0rc2 \
git+ssh://[email protected]/isaac-for-healthcare/[email protected].0rc3 \
--extra-index-url https://pypi.nvidia.com

ISAACLAB_DIR="$PROJECT_ROOT/third_party/IsaacLab"
Expand Down
1 change: 1 addition & 0 deletions tools/env_setup/install_lerobot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ git checkout 6674e368249472c91382eb54bb8501c94c7f0c56
sed -i 's/pyav/av/' pyproject.toml

$PYTHON_EXECUTABLE -m pip install -e .
$PYTHON_EXECUTABLE -m pip install "datasets<4.0.0"
popd

echo "Lerobot installed successfully!"
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This tutorial shows how to teleoperate the [Virtual Incision MIRA](https://virtu
This tutorial requires the following dependencies:
- [IsaacSim 4.5.0](https://docs.isaacsim.omniverse.nvidia.com/4.5.0/index.html)
- [IsaacLab 2.1.0](https://isaac-sim.github.io/IsaacLab/v2.1.0/index.html)
- [i4h_asset_helper](https://github.com/isaac-for-healthcare/i4h-asset-catalog/blob/main/docs/catalog_helper.md)
- [i4h_asset_helper](https://github.com/isaac-for-healthcare/i4h-asset-catalog/blob/v0.2.0rc3/docs/catalog_helper.md)

Please ensure these are installed.

Expand Down
Loading
Loading