Skip to content

j-marple-dev/slambox-sdk

Repository files navigation

SLAMBOX SDK

SLAMBOX SDK is a C++ library specifically designed for seamless communication with the SLAMBOX device, aligning with the SLAMBOX Protocol documentation. The SLAMBOX device empowers LiDAR devices with simultaneous localization and mapping (SLAM) algorithms. SLAMBOX SDK allows developers to effortlessly integrate and control SLAMBOX functionality in their C++ applications, offering advanced spatial awareness and navigation capabilities.

1. Getting started

1.1. Prerequisites

  • Linux system (tested on Ubuntu 22.04)

  • CMake (>= 3.0.2)

  • glog (>=v0.6.0)

    • How to install:
    git clone https://github.com/google/glog.git -b v0.6.0
    cd glog
    cmake -S . -B build -G "Unix Makefiles"
    cmake --build build
    sudo cmake --build build --target install
  • libserial (>= 1.0.0)

    • How to install(Ubuntu >=20.04):
    sudo apt-get install libserial-dev
    • How to install manually:
    sudo apt-get install libboost-dev libboost-test-dev
    git clone https://github.com/crayzeewulf/libserial.git
    cd libserial
    git checkout f1504de092d94148e2ec690bbb1e7ee21889ede7
    mkdir build
    cd build
    cmake ..
    make -j
    sudo make install

1.2. Installiation

  1. Clone the SLAMBOX SDK repository:
git clone https://github.com/j-marple-dev/slambox-sdk.git
  1. Build and install SLAMBOX SDK:
mkdir -p slambox-sdk/build
cd slambox-sdk/build
cmake ..
make -j
sudo make install

2. Examples

Check the examples directory for sample code. Each subdirectory within examples contains an example demonstrating the usage of SLAMBOX SDK in different scenarios.

3. Contributing

  • We welcome contributions from the community. If you find a bug or have an enhancement in mind, please open an issue or submit a pull request. Check our contribution guidelines for more information.

4. External resources

  • glog - Google Logging Library
  • libserial - Serial Communication Library
  • ducker - Docker Helper CLI application

5. Contact

For any inquiries or support, please contact us at limjk@jmarple.ai