CMake: Version 3.30 or higher
Install using snap:
snap install cmake
Conan: C++ package manager required for dependency management
Install using pip:
pip install conan
Poetry: Python dependency management and packaging tool
Install using curl:
curl -sSL https://install.python-poetry.org | python3 -
source ~/.profile
Clone the repository with submodules:
git clone --recurse-submodules git@github.com:RainbowRobotics/rby1-sdk.git
Configure Conan dependencies and build settings:
conan install . -s build_type=Release -b missing -of build
Build the project using CMake:
cmake --preset conan-release -D BUILD_EXAMPLES=ON
cmake --build --preset conan-release
Run the examples:
C++ Example:
./build/examples/example_demo_motion [RPC IP]:50051
Python Example:
poetry shell
python examples_python/demo_motion.py
For issues with ARM Intellisense, refer to the following GitHub Issue.
To fix the Intellisense problem, add the following code at the top of your source file:
// Add this at the top of your source file
#if __INTELLISENSE__
#undef __ARM_NEON
#undef __ARM_NEON__
#endif