Giter Club home page Giter Club logo

cuulee / rtk-streamserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roice/rtk-streamserver

0.0 1.0 0.0 740 KB

Modified from str2str, a CUI AP of RTKLIB 2.4.2. The strsvrstat loop in the main function was modified by ddding some code to update the system time. Thus every time when the strsvrstat ( show stream server status ) executed, the GPS time in the GPS raw message will be extracted and be utilized to update the system time. If the difference between GPS time and system time is not big ( er than 1sec ), the system time will not update.

License: GNU General Public License v2.0

Makefile 0.17% C 99.83%

rtk-streamserver's Introduction

rtk-streamserver

Modified from str2str, a CUI AP of RTKLIB 2.4.2. The strsvrstat loop in the main function was modified by ddding some code to update the system time. Thus every time when the strsvrstat ( show stream server status ) executed, the GPS time in the GPS raw message will be extracted and be utilized to update the system time. If the difference between GPS time and system time is not big ( er than 1sec ), the system time will not update.

Details: (1) For S1315F receiver support modified decode_stqtime function in skytraq.c file. This function decodes the gps time info, a line "TimeStamp = raw->time" is added at the end of this function. (1) For RTCM3 support modified decode_type1019 function in rtcm3.c file. This function decodes the gps ephemerides, a line "TimeStamp = rtcm->time" is added at the end of this function. (3) For uBlox support modified decode_rxmraw function in ublox.c file. This function decodes the ubx raw measurement data, a line "TimeStamp = rtcm->time" is added at the end of this function.

Compile Note: if define the macro TSDEBUG, then the unixtime acquired will print every 5 sec.

Usage example: (1) For S1315F-Raw receiver ./str2str -in serial://ttyUSB0:115200:8:n:1:off#stq -out ntrips://:[email protected]:2101/BASE1 -out serial://ttyS1:115200:8:n:1:off#rtcm3 or ./str2str -in serial://ttyUSB0:115200:8:n:1:off#stq -out ntrips://:[email protected]:2101/BASE1#rtcm3 (2) For OEMV2 receiver ./str2str -in serial://ttyUSB0:115200:8:n:1:off#rtcm3 -out ntrips://:[email protected]:2101/BASE1#rtcm3 (3) For ublox receiver ./str2str -in serial://ttyUSB0:115200:8:n:1:off#ubx -out ntrips://:[email protected]:2101/BASE1#rtcm3

The last -out option is used to make sure this program execute the strconv function, which contains the time extracting routine, since this function only executes when message format conversion is needed.

rtk-streamserver's People

Contributors

roice avatar

Watchers

 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.