Installation¶
This guide covers the installation of Dobot Quad SDK for both high-level (gRPC) and low-level (DDS) control.
1. Prerequisites¶
- OS: Ubuntu 22.04
- Python: 3.10+
- CMake: 3.16+
- Compiler: GCC/G++ 9+
- OpenCV: 4.5.4 (tested)
Network Connection¶
| Method | Robot IP | Subnet | Notes |
|---|---|---|---|
| Wired (Ethernet) | 192.168.5.2 |
Set your PC to 192.168.5.xxx/24 |
Required for DDS (low-level) |
WiFi (Rover-*, password 12345678) |
192.168.1.6 |
Auto | gRPC (high-level) only |
2. High-Level Setup (gRPC)¶
Python¶
C++¶
sudo apt-get install -y libgrpc++-dev protobuf-compiler-grpc libprotobuf-dev pkg-config
cd high_level/cpp && mkdir -p build && cd build
cmake .. && make -j
3. Low-Level Setup (DDS)¶
Wired Connection Required
DDS only works over wired Ethernet (192.168.5.0/24).
Install DDS Middleware¶
Configure DDS Network Interface¶
Edit cyclonedds.xml (place this file from the project onto the machine using the SDK, and replace <USER_PORT_INTERFACE> with your network interface name such as enp2s0):
Python¶
C++¶
sudo apt install -y libboost-dev libopencv-dev libyaml-cpp-dev cmake build-essential
cd low_level/cpp && mkdir -p build && cd build
cmake .. && make -j
4. Docker Setup (Optional)¶
Inside the container, configure DDS as above:
cd /root/dobot_quad_sdk
vim cyclonedds.xml
export CYCLONEDDS_URI=file:///root/dobot_quad_sdk/cyclonedds.xml
Next Steps¶
- Quick Start - Run your first example
- High-Level API Reference - Learn the High-Level API
- Low-Level API Reference - Learn the Low-Level API