Skip to content

FANG-Xiaolin/rby1-sdk

 
 

Repository files navigation

rby1-sdk

License

Prerequisites

  • 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

Installation

Clone the repository with submodules:

git clone --recurse-submodules [email protected]:RainbowRobotics/rby1-sdk.git

Configure

Configure Conan dependencies and build settings:

conan install . -s build_type=Release -b missing -of build

Build

Build the project using CMake:

cmake --preset conan-release -D BUILD_EXAMPLES=ON
cmake --build --preset conan-release

Usage

Run the examples:

  • C++ Example:

    ./build/examples/example_demo_motion [RPC IP]:50051
  • Python Example:

    poetry shell
    python examples_python/demo_motion.py 

ARM Intellisense Issue

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

Resources and Support

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 46.5%
  • Python 26.4%
  • HTML 26.1%
  • Other 1.0%