File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,15 @@ This project provides a framework for controlling robots in robot hardware and M
2424 bash setup_conda.sh --install
2525 ` ` `
2626
27- If installing on system python
27+ If installing on system python (Ubuntu only):
2828 ` ` ` bash
2929 bash setup.sh
3030 ` ` `
3131
32+ ** Note:** The ` setup_conda.sh` script is currently only supported on Ubuntu. For Windows users, please follow these steps:
33+ 1. Manually build the [` xrobotookit_sdk` ](https://github.com/XR-Robotics/XRoboToolkit-PC-Service-Pybind).
34+ 2. Then, install this package using ` pip install -e .` in your activated Conda environment or system Python.
35+
3236# # Usage
3337
3438# ## Running the MuJoCo Simulation Demo
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ if [[ "$OS_NAME" == "Linux" ]]; then
2121 exit 1
2222 fi
2323 fi
24- elif [[ " $OS_NAME " == " MINGW" * || " $OS_NAME " == " CYGWIN" * || " $OS_NAME " == " MSYS" * ]]; then
25- OS_VERSION=" Windows"
26- echo " Windows detected"
2724else
2825 echo " Unsupported operating system: $OS_NAME "
2926 exit 1
@@ -121,12 +118,7 @@ elif [[ "$1" == "--install" ]]; then
121118
122119 git clone https://github.com/XR-Robotics/XRoboToolkit-PC-Service-Pybind.git
123120 cd XRoboToolkit-PC-Service-Pybind
124- if [[ " $OS_NAME " == " Linux" ]]; then
125- cp ../XRoboToolkit-PC-Service/RoboticsService/PXREARobotSDK/build/libPXREARobotSDK.so lib/ || { echo " Failed to copy libPXREARobotSDK.so" ; exit 1; }
126- elif [[ " $OS_NAME " == " MINGW" * || " $OS_NAME " == " CYGWIN" * || " $OS_NAME " == " MSYS" * ]]; then
127- cp ../XRoboToolkit-PC-Service/RoboticsService/PXREARobotSDK/build/PXREARobotSDK.dll lib/ || { echo " Failed to copy PXREARobotSDK.dll" ; exit 1; }
128- cp ../XRoboToolkit-PC-Service/RoboticsService/PXREARobotSDK/build/PXREARobotSDK.lib lib/ || { echo " Failed to copy PXREARobotSDK.lib" ; exit 1; }
129- fi
121+ cp ../XRoboToolkit-PC-Service/RoboticsService/PXREARobotSDK/build/libPXREARobotSDK.so lib/ || { echo " Failed to copy libPXREARobotSDK.so" ; exit 1; }
130122 python setup.py install || { echo " Failed to install xrobotoolkit_sdk" ; exit 1; }
131123 cd ..
132124 rm -rf XRoboToolkit-PC-Service
You can’t perform that action at this time.
0 commit comments