Description
SGP4 propagator interface.
Public Methods
Propagate | Propagates the satellite's path using the specified time interval. |
Public Properties
Interfaces
CoClasses that Implement IAgVePropagatorSGP4
Example
Set the satellite to use the SGP4 propagator
[C#] |
---|
// Set propagator to SGP4
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4);
// Get the SGP4 propagator
IAgVePropagatorSGP4 propagator = satellite.Propagator as IAgVePropagatorSGP4;
|
|
Configure the SGP4 propagator with file source
[C#] |
---|
// Configure propagator's TLE file path
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath);
// Propagate
propagator.Propagate();
|
|
Configure the SGP4 propagator with online source
[C#] |
---|
// Configure time period
propagator.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000");
propagator.Step = 60.0;
// Add segments
propagator.CommonTasks.AddSegsFromOnlineSource("25544");
// Propagate
propagator.Propagate();
|
|
Configure the SGP4 propagator with file source
[Visual Basic .NET] |
---|
' Configure propagator's TLE file path
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath)
' Propagate
propagator.Propagate()
|
|
Configure the SGP4 propagator with online source
[Visual Basic .NET] |
---|
' Configure time period
propagator.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000")
propagator.[Step] = 60
' Add segments
propagator.CommonTasks.AddSegsFromOnlineSource("25544")
' Propagate
propagator.Propagate()
|
|
Set the satellite to use the SGP4 propagator
[Visual Basic .NET] |
---|
' Set propagator to SGP4
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4)
' Get the SGP4 propagator
Dim propagator As IAgVePropagatorSGP4 = TryCast(satellite.Propagator, IAgVePropagatorSGP4)
|
|
Set satellite propagator to SGP4 and propagate
[Python - STK API] |
---|
# IAgSatellite satellite: Satellite object
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4)
propagator = satellite.Propagator
propagator.EphemerisInterval.SetImplicitInterval(
root.CurrentScenario.Vgt.EventIntervals.Item("AnalysisInterval")) # Link to scenario period
propagator.CommonTasks.AddSegsFromOnlineSource('25544') # International Space Station
propagator.AutoUpdateEnabled = True
propagator.Propagate()
|
|
Set satellite propagator to SGP4 and propagate
[MATLAB] |
---|
% IAgSatellite satellite: Satellite object
satellite.SetPropagatorType('ePropagatorSGP4');
propagator = satellite.Propagator;
propagator.EphemerisInterval.SetImplicitInterval( ...
root.CurrentScenario.Vgt.EventIntervals.Item("AnalysisInterval")) % Link to scenario period
propagator.CommonTasks.AddSegsFromOnlineSource('25544'); % International Space Station
propagator.AutoUpdateEnabled = true;
propagator.Propagate();
|
|