IO.Astrodynamics
2.0.0-alpha
See the version list below for details.
dotnet add package IO.Astrodynamics --version 2.0.0-alpha
NuGet\Install-Package IO.Astrodynamics -Version 2.0.0-alpha
<PackageReference Include="IO.Astrodynamics" Version="2.0.0-alpha" />
paket add IO.Astrodynamics --version 2.0.0-alpha
#r "nuget: IO.Astrodynamics, 2.0.0-alpha"
// Install IO.Astrodynamics as a Cake Addin #addin nuget:?package=IO.Astrodynamics&version=2.0.0-alpha&prerelease // Install IO.Astrodynamics as a Cake Tool #tool nuget:?package=IO.Astrodynamics&version=2.0.0-alpha&prerelease
IO.Astrodynamics.Net
Presentation
IO.Astrodynamics.Net is a .Net astrodynamics framework based on cspice toolkit(N 67) developped by the JPL and IO.Astrodynamics native library, it provides the best of both worlds :
C++ Velocity + .Net productivity = ❤️
This framework provides the following features :
- Work with JPL Spice kernels and stars
- Export simulation to Cosmographia
- PDS Archive management
- Generate archive from object
- Generate object from archive
- Validate archive from Xml schemas
- Compute and convert orbital parameters
- State vector
- Two lines elements
- Equinoctial
- Keplerian elements
- Compute and convert coordinates system
- Equatorial
- Horizontal
- Planetodetic
- Planetodentric
- Manipulate celestial items
- Stars
- Planets
- Moons
- Barycenters
- Lagrange points
- Comets and asteroids
- Transform frames
- ICRF / J2000
- Ecliptic_J2000
- Ecliptic_B1950
- Galactic
- B1950
- FK4
- Body fixed frames and ITRF93 (High accuracy earth fixed frame)
- Configure spacecraft
- Clock
- Fuel tank
- Engines
- Instrument
- Propagate spacecraft
- Impulse maneuvers :
- Apogee height
- Perigee height
- Plane alignment
- Combined maneuver
- Apsidal alignment
- Phasing
- Fuel balance
- Attitudes
- Instrument pointing toward an object (Surface site, celestial body, spacecraft,...)
- Nadir
- Zenith
- Prograde
- Retrograde
- Impulse maneuvers :
- Manipulate surface site on any celestial body
- Evaluate launch opportunities
- Use or convert different time referential (TDB, UTC, Local)
- Get celestial item information based on Naif kernels
- Find time windows based on distance constraints from spacecraft, celestial body or ground site
- Find time windows based on occultation constraints from spacecraft, celestial body or ground site
- Find time windows based on coordinate constraints from spacecraft, celestial body or ground site
- Find time windows based on illumination constraints from ground site.
- Find time windows when an object is in instrument field of view.
- Manipulate kernel files
- Math tools
- Vector
- Matrix
- Quaternion
- Lagrange interpolation
- ...
Concept
IO.Astrodynamics is based on Spice concept
To work, this framework needs data (Ephemeris, Planetary constants, leap seconds, mission data, ...) these data can be found here
To use these data in the framework, just call this function :
//Load required kernels for computation
API.Instance.LoadKernels(new DirectoryInfo("<your path containing data>"));
When you use the propagation functionalities, you will have to provide an output path to reuse, if necessary, the data generated in another software.
Installation
This package is hosted by Nuget here. You can install it in your project with this command :
dotnet add package IO.Astrodynamics
Quick start
//LET'S GO !
//In this example we'll get the moon state vector in ICRF frame relative to the earth without aberration
//Load required kernels for computation
API.Instance.LoadKernels(new DirectoryInfo("/home/spacer/Sources/SDK.Net/IO.Astrodynamics.Tests/Data/SolarSystem"));
//Create moon object
var moon = new CelestialBody(PlanetsAndMoons.MOON.NaifId);
//Get moon ephemeris
var ephemeris = moon.GetEphemeris(DateTimeExtension.J2000, moon.InitialOrbitalParameters.CenterOfMotion, Frame.ICRF, Aberration.None).ToStateVector();
//Display some informations
Console.WriteLine($"Position : {ephemeris.Position.ToString()}");
Console.WriteLine($"Velocity : {ephemeris.Velocity.ToString()}");
//You should have the following result :
// Position : Vector3 { X = -291608384.6334355, Y = -266716833.39423338, Z = -76102487.09990202 }
// Velocity : Vector3 { X = 643.5313877190328, Y = -666.0876840916304, Z = -301.32570498227307 }
You can find more advanced examples here
Documentation
For more information you can read the wiki
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- AutoMapper (>= 12.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.3.0 | 111 | 12/12/2024 |
6.2.0 | 133 | 11/15/2024 |
6.1.2 | 137 | 10/11/2024 |
6.1.1 | 96 | 10/11/2024 |
6.1.0 | 97 | 10/10/2024 |
6.1.0-preview-1 | 80 | 10/2/2024 |
6.0.0-preview-9 | 78 | 9/30/2024 |
6.0.0-preview-8 | 75 | 9/30/2024 |
6.0.0-preview-7 | 78 | 9/30/2024 |
6.0.0-preview-6 | 79 | 9/28/2024 |
6.0.0-preview-5 | 87 | 9/27/2024 |
6.0.0-preview-4 | 78 | 9/27/2024 |
6.0.0-preview-3 | 115 | 9/16/2024 |
6.0.0-preview-2 | 93 | 9/12/2024 |
6.0.0-preview-10 | 77 | 10/2/2024 |
6.0.0-preview-1 | 102 | 9/11/2024 |
5.0.0 | 143 | 9/6/2024 |
4.1.0 | 124 | 8/30/2024 |
4.0.0 | 118 | 8/28/2024 |
4.0.0-preview-3 | 97 | 8/28/2024 |
4.0.0-preview-2 | 98 | 8/27/2024 |
4.0.0-alpha | 114 | 8/23/2024 |
3.5.0 | 125 | 8/20/2024 |
3.4.0 | 115 | 8/19/2024 |
3.3.1 | 75 | 8/3/2024 |
3.3.0 | 85 | 8/2/2024 |
3.2.3 | 96 | 8/1/2024 |
3.2.2 | 305 | 6/1/2024 |
3.2.1 | 110 | 5/27/2024 |
3.2.0 | 99 | 5/27/2024 |
3.1.0 | 121 | 5/21/2024 |
3.0.4 | 156 | 5/3/2024 |
3.0.3 | 122 | 4/30/2024 |
3.0.2 | 127 | 4/27/2024 |
3.0.1 | 130 | 4/26/2024 |
3.0.0 | 119 | 4/22/2024 |
2.2.0 | 119 | 4/17/2024 |
2.1.0 | 214 | 3/15/2024 |
2.0.0 | 196 | 3/8/2024 |
2.0.0-alpha | 187 | 3/5/2024 |
1.10.0 | 333 | 2/2/2024 |
1.9.10 | 361 | 12/23/2023 |
1.9.2 | 410 | 12/5/2023 |
1.9.1 | 402 | 11/25/2023 |
1.9.0 | 358 | 11/22/2023 |
1.8.0 | 478 | 9/29/2023 |
1.7.0 | 586 | 7/31/2023 |
1.6.1 | 518 | 7/27/2023 |
1.6.0 | 585 | 7/24/2023 |
1.5.0 | 612 | 7/18/2023 |
1.4.0 | 606 | 7/16/2023 |
1.3.0 | 596 | 7/13/2023 |
1.2.0 | 580 | 7/11/2023 |
1.1.0 | 546 | 7/4/2023 |
1.0.2 | 621 | 7/3/2023 |