Skip to content

Raggey/satellite-cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

satellite-cs

Build Status

C# Implementation of Satellite-JS library

Satellite.js

C# Library for orbit propagation and tracking

Features:

  • Parse Lines into variables
  • Calculate relative position (Lat Long, azimuth Elevation etc)
  • Implement date/ time functionality.

Sample Usage

string line1 = "1 25544U 98067A   20206.38292522 -.00000985  00000-0 -95291-5 0  9998";
string line2 = "2 25544  51.6430 164.3636 0001088 140.8410 323.1994 15.49511774237787";

Sat_Io io = new Sat_Io();
Satrec satrec = io.twoline2satrec(line1,line2);

Sgp4 sgp4 = new Sgp4();
PositionAndVelocity positionAndVelocity = sgp4.sgp4(satrec, 0);



// Set the Observer at 122.03 West by 36.96 North, in RADIANS
Geodetic observerGd = new Geodetic();
Transform tf = new Transform();

observerGd.longitude = tf.degreesToRadians(-122.0308);
observerGd.latitude = tf.degreesToRadians(36.9613422);
observerGd.height = 0.370;

...

About

C# SGP4 Library, ported from Satellite.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages