Skip to content

wwtx9/AVP_Binding

Repository files navigation

Table of Contents
  1. About The Project
  2. Prerequisites
  3. Building AVP library
  4. Testing

About The Project

This project aims to address the problem of mapping an underwater structure by a team of co-robots. Our approach includes underwater state estimation, 3D motion planning underwater and limited bandwidth communications We use stereo camera and sonar as the primary sensors.

Prerequisites

We have tested the library in Ubuntu 16.04 and 18.04, but it should be easy to compile in other platforms. This is an example of how to list things you need to use the software and how to install them.

C++11 or C++0x Compiler

We use the new thread and chrono functionalities of C++11.

CMAKE

sudo apt install cmake

OpenCV

We use OpenCV to manipulate images and features. Download and install instructions can be found at: http://opencv.org. Required at leat 2.4.3. Tested with OpenCV 2.4.11 and OpenCV 3.2.

pybind11

We use pybind11 to creat Python bindings of existing c++ code. Download and install instructions can be found at:: https://github.com/pybind/pybind11.

Eigen

sudo apt install libeigen3-dev

Anaconda

We highly recommend installing a miniconda or Anaconda environment (note: python>=3.6 is required). Once you have Anaconda installed, here are the instructions.

Building AVP library

  1. Clone the repository:
git clone https://github.com/wwtx9/AVP_Binding.git AVP_Binding
  1. Build and compire AVP library
cd AVP_Binding
mkdir build
cmake ..
make 
  1. Setup python virtual environment with conda
# We require python>=3.6 and cmake>=3.10
   conda create -n AVP python=3.6 cmake=3.14.0
   conda activate AVP
  1. Install the AVP Library for your python project to import
pip install .
#After that, now your can import AVP_Binding as m in your python script

Testing

KITTI Dataset

  1. Download the dataset (grayscale images) from http://www.cvlibs.net/datasets/kitti/eval_odometry.php

  2. Run test script

# Assuming we're still within AVP conda environment
    python test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published