baoyufuyou / cupoch

Robotics with GPU computing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robotics with GPU computing

Build Status PyPI version PyPI - Python Version Downloads

Cupoch is a library that implements rapid 3D data processing and robotics computation using CUDA.

The goal of this library is to process the input of 3D sensors rapidly and use it to control the robot. This library is based on the functionality of Open3D, with additional features for integration into robot systems.

Core Features

Installation

This software is tested under 64 Bit Ubuntu Linux 18.04 and CUDA 10.0/10.1/10.2. You can install cupoch using pip.

pip install cupoch

Or install cupoch from source.

git clone https://github.com/neka-nat/cupoch.git --recurse
cd cupoch
mkdir build
cd build
cmake ..; make install-pip-package -j

Installation for Jetson

You can also install cupoch using pip on Jetson. Please set up Jetson using jetcard and install some packages with apt.

sudo apt-get install libxinerama-dev libxcursor-dev libglu1-mesa-dev
pip3 install https://github.com/neka-nat/cupoch/releases/download/v0.0.9/cupoch-0.0.9.0-cp36-cp36m-linux_aarch64.whl

Results

The figure shows Cupoch's point cloud algorithms speedup over Open3D. The environment tested on has the following specs:

  • Intel Core i7-7700HQ CPU
  • Nvidia GTX1070 GPU
  • OMP_NUM_THREAD=1

You can get the result by running the example script in your environment.

cd examples/python/basic
python benchmarks.py

speedup

Visual odometry with intel realsense D435

vo

Occupancy grid with intel realsense D435

og

Path finding

pf

Visual odometry with ROS + D435

This demo works in the following environment.

  • ROS melodic
  • Python2.7
# Launch roscore and rviz in the other terminals.
cd examples/python/ros
python realsense_rgbd_odometry_node.py

vo

Visualization

Point Cloud Triangle Mesh Voxel Grid
Occupancy Grid Graph Image

References

About

Robotics with GPU computing

License:MIT License


Languages

Language:C++ 51.5%Language:Cuda 43.4%Language:C 2.8%Language:CMake 1.3%Language:GLSL 0.7%Language:Python 0.2%