Coder Social home page Coder Social logo

aholinch / sgp4 Goto Github PK

View Code? Open in Web Editor NEW
58.0 3.0 29.0 442 KB

SGP4 implementations in multiple languages

License: The Unlicense

C 17.37% C++ 0.85% Java 9.14% HTML 0.19% JavaScript 9.25% MATLAB 6.34% Python 8.04% R 6.14% C# 9.19% Fortran 8.96% Ruby 8.34% Rust 7.18% Swift 8.99%
sgp4 tle orbital-simulation elsets rust

sgp4's People

Contributors

aholinch avatar wojciech-graj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sgp4's Issues

[C language]Some questions about WGS72 and WGS84

Hello, dear author, I have some questions I'd like to ask. In the C implementation part of your project, could you please explain the differences between WGS72 and WGS84 in the SGP4 code and why WGS72 is used in the code instead of WGS84?

ANSI C Compliance

Hey, what are your thoughts on making the C library ANSI (C90) compliant?

The following changes would be required:

  • Replace C++-style comments (//) with C-style comments (/**/)
  • Move declarations to the start of code blocks (already occurs in most of the code)
  • Replace %lf format specifier with %f in printf in TestSGP4.c

I'd be happy and make these changes, so feel free to assign the issue to me.

False ID Mismatch Parse Error

Hello, on line

if(objectID != line2.substring(2,7).trim()) addParseError("ids don't match");
the comparison was made with != but it should be .equals() because it is a string. This comparison flags a false parse error.

C code clean-up

Suggest some clean-ups to remove compiler warnings... I applied this locally in a "c-code_clean-up" branch...
In file: SGP4.c line 245
if (fabs(xnoh - rec->nodep) > pi) {
if (rec->nodep < xnoh)
{
rec->nodep = rec->nodep + twopi;
}
else
{
rec->nodep = rec->nodep - twopi;
}
}

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.