Giter Site home page Giter Site logo

chronorobotics-project's Introduction

Map Management System for Visual Teach and Repeat

Setting up the database

  1. cd into project/.

  2. run docker-compose up

Database should be up running on http://localhost:9090/. Login credentials can be set in the .env file present in the same directory.

a) Efficient management of maps

MinIO db is used as the database service. Once the service is up and running, the tool uploads maps to map bucket. The corresponding metadata for the maps for an environment is uploaded to env bucket in the db.

  1. cd into project/scripts/Map_management/.

  2. To upload a particular map for an environment from ~/.ros,

         python main.py -e <environment-name> -u <map-name> -snode <starting-node> -enode <end_node>
    

The tool can fetch maps from the db. Fetches the zipped map files from the db and then extracts them to ~/.ros/fetched_maps directory.

  1. To fetch a particular map for an environment,

         python main.py -e <environment-name> -m <map-name>            
    
  2. To fetch all the maps for an environment for the db,

         python main.py -e <environment-name>
    
  3. To fetch only environment details (for eg map metadata). The details are saved as json in project/results/ directory.

         python main.py -oe <environment-name> 
    

Maps can also be deleted from the db.

  1. To delete a specific map from an environment,

         python main.py -e <environment-name> -delamap <name-of-the-map>
    
  2. To delete all the maps for a particular environment,

         python main.py -delmaps <name-of-the-environment>
    

b) Finding an optimum sequence of maps

Using the results of spectral anaylsis of the data in the db and metadata stored in env bucket, the mathematical model of the environment is used to plan a path between any two nodes of the environment optimising for a number of criteria.

  1. cd into project/scripts/Map_management/.

  2. To find an optimum path between two nodes,

         python main.py -e <environment-name> -findpath <first-node> <second-node>
    

The maps corresponding to the optimum path are fetched from the db into ~/.ros/fetched_maps/

Code from https://github.com/Zdeeno/Siamese-network-image-alignment.git is used for Neural Network related tasks for calculating likelihood of images.

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.