Coder Social home page Coder Social logo

oakd-ros-simple's Introduction

OAK-D ROS Simple

  • OAK-D (OpenCV AI Kit camera) ROS simple codes with C++ for myself
  • Edited the original depthai-ros-examples repo from official manufacturer - link
  • Supports: OAK-D, OAK-D Lite, OAK-D PRO

Check the result video



Requirements

  • pcl
  • OpenCV, cv_bridge: manual install? refer here OpenCV, cv_bridge
  • usb-1.0-0-dev
$ sudo apt install libusb-1.0-0-dev

How to install

  • Git clone and install depthai-core first
$ cd ~/<your_workspace>/src
$ git clone --recursive [email protected]:engcang/oakd-ros-simple

$ rm -r ~/.hunter

$ cd oakd-ros-simple/depthai-core
$ mkdir build && cd build
$ cmake .. -DBUILD_SHARED_LIBS=ON

$ make install
  • Build this repo
$ cd ~/your_workspace (check directory)

$ catkin build -Ddepthai_DIR=<your_workspace>/src/oakd-ros-simple/depthai-core/build/install/lib/cmake/depthai

or

$ catkin config -Ddepthai_DIR=<your_workspace>/src/oakd-ros-simple/depthai-core/build/install/lib/cmake/depthai
$ catkin build

How to run

  • Change the parameters in the .launch file.
$ roscore
$ roscd oakd_ros && rviz -d rviz.rviz
$ roslaunch oakd_ros main.launch

oakd-ros-simple's People

Contributors

engcang avatar masonaka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.