Giter Club home page Giter Club logo

quicktle's Introduction

QuickTle

Version 2.0.0

1 Summary

QuickTle library is created to be useful and fast tool for the following operations with TLE data sets:

  • IO-operations with 2- and 3-lines TLE-files
  • storing TLE data set
  • searching for the nearest data to the given date and time
  • converting TLE data to geocentric coordinates

2 Installation

To build and install QuickTle cmake build system is used. Make sure that cmake v2.8 or later is installed create, unpack some temporary directory and type make and make install:

tar -xzvf quicktle-2.0.0-src.tar.gz
cd quicktle-2.0.0
mkdir build
cd build
make
sudo make install

3 Quick start

QuickTle provides three classes for operating with TLE data: Node, Stream and DataSet. All of them are available in the quicktle namespace.

3.1 quicktle::Node

An object of quicktle::Node type stores the data about satellite position at some time moment. This data is provided by two lines (or three lines if the first one contains the satellite name) of TLE format.

There are two ways to manipulate with data, stored in an object of quicktle::Node type: to use the getters and setters for each orbit element (such as mean motion, eccentricity, mean anomaly etc.), and to assign the data via TLE strings using the corresponding constructor or assign method. Have a look at the first two samples in the "samples" directory for more details.

3.2 quicktle::Stream

The quicktle::Stream class is developed to simplify the reading TLE files. It provides the wrapper for std::istream class. You can find example of how to use it in the third sample in the "samples" directory.

3.3 quicktle::DataSet

If it is necessary to store the big volume of data about satellite positions and to search for the position, nearest to the given moment of time, it is convenient to use quicktle::DataSet class. Have a look at fourth sample in the "samples" directory.

4 Unit-testing

For unit-testing the Google C++ Testing Framework (a.k.a GoogleTest) is used. So you should install this framework to be able to build the unit-testing program. Make sure also, that you defined the 'GTEST_DIR' environment variable in your system.


Copyright © 2011-2015 Sergei Fundaev

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.