File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if errorlevel 1 (
8181 set isaacsim_exe = !isaac_path! \isaac-sim.bat
8282) else (
8383 rem if isaac sim installed from pip
84- set isaacsim_exe = isaacsim
84+ set isaacsim_exe = isaacsim omni.isaac.sim
8585)
8686rem check if there is a python path available
8787if not exist " %isaacsim_exe% " (
Original file line number Diff line number Diff line change @@ -90,8 +90,14 @@ extract_isaacsim_exe() {
9090 local isaacsim_exe=${isaac_path} /isaac-sim.sh
9191 # check if there is a python path available
9292 if [ ! -f " ${isaacsim_exe} " ]; then
93- echo " [ERROR] No Isaac Sim executable found at path: ${isaacsim_exe} " >&2
94- exit 1
93+ # check for installation using Isaac Sim pip
94+ if [ $( python -m pip list | grep -c ' isaacsim-rl' ) -gt 0 ]; then
95+ # Isaac Sim - Python packages entry point
96+ local isaacsim_exe=" isaacsim omni.isaac.sim"
97+ else
98+ echo " [ERROR] No Isaac Sim executable found at path: ${isaac_path} " >&2
99+ exit 1
100+ fi
95101 fi
96102 # return the result
97103 echo ${isaacsim_exe}
You can’t perform that action at this time.
0 commit comments