Code Monkey home page Code Monkey logo

ntrip's Introduction

Ntrip

Simple NTRIP caster/client/server example programs, support the NTRIP 1.0/2.0 protocol;

Quick Start

This assumes you are running Ubuntu 16.04

Clone and run the build:

$ git clone https://github.com/hanoi404/ntrip && cd ntrip
$ make all

First step, run the ntrip_caster_exam:

$ ./ntrip_caster_exam

Second step, run the ntrip_server_exam:

$ ./ntrip_server_exam

Third step, run the ntrip_client_exam:

$ ./ntrip_client_exam

After the above steps are completed, you can see that the example data sent by NtripServer flows to NtripClient through NtripCaster.

CMake

Linux

Configure and compile:

$ mkdir build && cd build
$ cmake .. -DNTRIP_BUILD_EXAMPLES=ON
$ make

Output executable file:

build/examples/ntrip_caster_exam
build/examples/ntrip_client_exam
build/examples/ntrip_client_to_ntrip_server_exam
build/examples/ntrip_server_exam

Windows

VS2019

Configure and compile:

$ mkdir build && cd build
$ cmake .. -G "Visual Studio 16" -DNTRIP_BUILD_EXAMPLES=ON
$ cmake --build . --config Release

Or open build/ntrip.sln with VS2019 after the configuration is complete.

Output executable file:

build/examples/Release/ntrip_caster_exam.exe
build/examples/Release/ntrip_client_exam.exe
build/examples/Release/ntrip_client_to_ntrip_server_exam.exe
build/examples/Release/ntrip_server_exam.exe

MinGW

Configure and compile:

$ mkdir build && cd build
$ cmake -G "Unix Makefiles" .. -DNTRIP_BUILD_EXAMPLES=ON
$ make

Output executable file:

build/examples/ntrip_caster_exam
build/examples/ntrip_client_exam
build/examples/ntrip_client_to_ntrip_server_exam
build/examples/ntrip_server_exam

for using NtripCaster, Add configuration option -DNTRIP_BUILD_CASTER=ON.

ntrip's People

Contributors

sevensx 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.