Giter Club home page Giter Club logo

dns's Introduction

DNS

Drone Navigation System

Develop a Drone Navigation System (DNS) to locate a databank to upload a data keeping in mind following things
● each observed sector of the galaxy has unique numeric SectorID assigned to it
● each sector will have at least one DNS deployed
● each sector has different number of drones deployed at any given moment

A. Dependencies

Golang IDE
Docker

Dependency management using go module - go mod init

B.
Run docker daemon on host OS
Build docker image using following command:
docker build -t "drone_navigation_system:1.0" .

Run docker container using following command:
docker run -p 8000:8000 --env SECTOR_ID=1 drone_navigation_system:1.0

C. Sample DNS Request

set Content-type = application/json

POST http://localhost:8000/v1/dns

{
"x": "123.12",
"y": "456.56",
"z": "789.89",
"vel": "20.0"
}

Sample DNS Response
{
"loc": 1389.5700000000002
}

dns's People

Contributors

vishals11 avatar

Watchers

James Cloos avatar  avatar

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.