Skip to content

Commit 75d00e1

Browse files
committed
updated installation guide for windows
1 parent b218d50 commit 75d00e1

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

setup_conda.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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"
2724
else
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

0 commit comments

Comments
 (0)