File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if errorlevel 1 (
81
81
set isaacsim_exe = !isaac_path! \isaac-sim.bat
82
82
) else (
83
83
rem if isaac sim installed from pip
84
- set isaacsim_exe = isaacsim
84
+ set isaacsim_exe = isaacsim omni.isaac.sim
85
85
)
86
86
rem check if there is a python path available
87
87
if not exist " %isaacsim_exe% " (
Original file line number Diff line number Diff line change @@ -90,8 +90,14 @@ extract_isaacsim_exe() {
90
90
local isaacsim_exe=${isaac_path} /isaac-sim.sh
91
91
# check if there is a python path available
92
92
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
95
101
fi
96
102
# return the result
97
103
echo ${isaacsim_exe}
You can’t perform that action at this time.
0 commit comments