Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

OCELLIMAV-Project

OCELLIMAV Project data and scripts.

Information

This project contains OCELLIMAV Project data and scripts. This project was partially supported by MINECO (Spain) grant OCELLIMAV (TEC-61708-EXP). For more information about this work please check paper:

Bioinspired Direct Visual Estimation of Attitude Rates with Very Low Resolution Images using Deep Networks by M.Mérida-Floriano, F.Caballero, D.Acedo, D.García-Morales, L.Casares and L.Merino. Accepted for publication in the 2019 IEEE International Conference on Robotics and Automation (ICRA 2019)

Data processing was computed with Numpy and OpenCV on Python2.7. Neural Network was trained and tested using Keras2.0 with Theano 0.9 backend. Important: in order to reproduce the same results, it is necessary to run the scripts in these versions, otherwise results may vary.

Resume

In this work we present a bioinspired visual system sensor to estimate angular rates in unmanned aerial vehicles (UAV) using Neural Networks. We have conceived a hardware setup to emulate Drosophila's ocellar system, three simple eyes related to stabilization. This device is composed of three low resolution cameras with a similar spatial configuration as the ocelli.

We have recreated this device in a simulated environment using Airsim to capture synthethic data. Experiments were recorded by hand performing rotations on three axis.

Real (left) and synthetic (right) outdoor experiments

There have been previous approaches based on this ocellar system, most of them considering assumptions such as known light source direction or a punctual light source. In contrast, here we present a learning approach using Artificial Neural Networks in order to recover the system's angular rates indoors and outdoors without previous knowledge. About network structure, we propose a CNNBiGRU architecture.

CNNBiGRU architecture escheme

With this network we are able to recover angular rates in three axis both with synthetic and real data.

Temporal evolution of angular rates, real (red) and predicted by CNNBiGRU network (blue), of a testing synthetic dataset with `synthetic_model.hdf5`.

A classical computer vision based method is also derived to be used as a benchmark for the learning approach. The method is validated with a large dataset of images (more than 500M samples) including synthetic and real data.

Structure and contents

In the following folders you will find data and scripts to reproduce our experiments and results. About folders and its contents:

./data:

We realease our more than 500M samples dataset. In the following link you will find the original and processed data for both real and synthetic environments: https://robotics.upo.es/datasets/ocellimav . Pre-processing data script and links to real and synthetic datasets can be found in this folder. In README file sets and processed data are explained.

./scripts:

In this folder you will find four Python scripts: one for training from the scratch the CNNBiGRU network proposed in the paper with synthetic datasets (simulation_training.py) and the corresponding testing script, to test the model with synthetic data (simulation_testing.py); another one (fine_tune_training.py) for re-training the synthetic model with real data and the last script (fine_tune_testing.py) to test the final model. In order to execute these scripts you only need to write in the terminal: python script_name.py.

./models:

Two trained networks in .hdf5 format: synthetic_model.hdf5 is the network trained from scratch only with synthetic data sets and real_model.hdf5, the previous model fine-tuned with real sets.

./geometry_approach:

This folder contains ROS Kinetic module that implements a non-linear optimizer to estimate the Ocelli rotation based on direct observation of the pixels.

./BIAS_estimation:

A folder with scripts to reproduce BIAS estimation experiment described in the paper.

About

OCELLIMAV Project data and scripts

Resources

Releases

No releases published

Packages

No packages published