Skip to content

Commit

Permalink
Remove isaac_sim from Ubuntu20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangGiang93 committed Feb 7, 2025
1 parent 64eb609 commit 708de96
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_multiverse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ else
. $virtualenvwrapper
mkvirtualenv --system-site-packages multiverse -p $PYTHON_EXECUTABLE
$PYTHON_EXECUTABLE -m pip install -U pip build setuptools packaging distro
$PYTHON_EXECUTABLE -m pip numpy==1.26.4 # Fix numpy version
$PYTHON_EXECUTABLE -m pip install numpy==1.26.4 # Fix numpy version
fi

# Build multiverse
Expand Down
3 changes: 2 additions & 1 deletion build_third_parties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ if [ $BUILD_MUJOCO = true ]; then
ln -sf $MUJOCO_BUILD_DIR/bin/simulate $BIN_DIR
fi

if [ $BUILD_ISAACLAB = true ]; then
UBUNTU_VERSION=$(lsb_release -rs)
if [ $BUILD_ISAACLAB = true ] && [ $UBUNTU_VERSION != "20.04" ]; then
echo "Building IsaacLab..."

# Download IsaacLab
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ else
$PYTHON_EXECUTABLE -m pip install -r $MULTIVERSE_DIR/modules/multiverse_connectors/src/multiverse_simulators/src/mujoco_connector/requirements.txt
fi

if [ $INSTALL_ISAACLAB = true ]; then
if [ $INSTALL_ISAACLAB = true ] && [ $UBUNTU_VERSION != "20.04" ]; then
$PYTHON_EXECUTABLE -m pip install -r $MULTIVERSE_DIR/modules/multiverse_connectors/src/multiverse_simulators/src/isaac_sim_connector/requirements.txt
fi
fi
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,11 @@ endif()

add_subdirectory(src/mujoco_connector)

add_subdirectory(src/isaac_sim_connector)
execute_process(
COMMAND lsb_release -rs
OUTPUT_VARIABLE UBUNTU_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if (NOT UBUNTU_VERSION STREQUAL "20.04")
add_subdirectory(src/isaac_sim_connector)
endif()

0 comments on commit 708de96

Please sign in to comment.