Skip to content

skykongkong8/DCCA-Turtlebot3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCCA-Turtlebot3

DCCA stands for : Depth Camera Collision Avoidance,

Gathering useful information for collision avoidance for Autonomous Mobile Robot via ONLY depth camera

This repository is based on:

This repository would yield something like:

  • set_environment: shell script for building the development environment
  • RGBDRealsenseCamera: basic camera module that can be broadly used for every realsense camera that has rgb and depth frame in it
  • DCCAFilterManager: managing detailed settings for the input frame data as a preprocessing
  • DCCACamera: real-time object detection and distancing
  • dcca_relay: sample data formulation using gathered data
  • various sample codes from pyrealsense2 sdk

DCCA flow scenario (original intention)

  1. Get RGB and Depth frame as input
  2. Apply object detection on RGB frame
  3. Apply clustering algorithm on Depth frame in the same region w.r.t. detected region from RGB frame, and obtain distance
  4. Formulate sample data using detected label and obtained distance

How to use

  1. clone this repository
git clone https://github.com/skykongkong8/DCCA-Turtlebot3.git
  1. go to workspace directory
cd DCCA-Turtlebot3/workspace
  1. run dcca_relay.py
python3 dcca_relay.py
  • caution: if you want to use other modules, you might subtly change importing paths of this repository after cloning...

TODO

  1. adapt into ros-melodic
  1. conjugate with motion planning

Trivial Error Handling Notes

This section is about every trivial error that I encountered during the development of this repository, so you may skip here!

  1. installing sci-kit learn on Jetson nano
    sudo apt-get install scikit-learn

do NOT use pip

  1. almost always use waitKey(t) function while streaming via opencv
  2. realsense cameras return depth values with NaN values, so be aware (especially when you are trying to handle them with opencv, Matrix in cpp)
    Unrecognized or unsupported array type in function ‘cvGetMat’

Releases

No releases published

Packages

No packages published