Spacecraft.OrbitWizardInterplanetarySetup(String, TimeSpan, Variable, Variable, Variable, Variable, Variable, Variable) Method

Top 

Description

Initializes the state of a spacecraft with an orbit centered around the specified CelestialObject.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Spacecraft.OrbitWizardInterplanetarySetup(

String centralBody,


TimeSpan epoch,


Variable semiMajorAxis,


Variable eccentricity,


Variable inclination,


Variable raan,


Variable argumentOfPerigee,


Variable trueAnomaly)

 

 

Arguments

centralBody


Description:

Name of the Central Body to use for defining the orbit.

 

 

epoch


Description:

Epoch of the orbit state.

 

 

semiMajorAxis


Description:

Semi-Major axis of the orbit.

Valid Range:

semiMajorAxis ≥ 0

 

 

eccentricity


Description:

Eccentricity of the orbit.

Valid Range:

eccentricity ≥ 0

 

 

inclination


Description:

Inclination of the orbit.

Valid Range:

-180 ≤ inclination ≤ 180

 

 

raan


Description:

Right Ascension of Ascending Node of the orbit.

Valid Range:

-360 ≤ raan ≤ 360

 

 

argumentOfPerigee


Description:

Argument of Perigee of the orbit.

Valid Range:

-360 ≤ argumentOfPerigee ≤ 360

 

 

trueAnomaly


Description:

True Anomaly of the orbit.

Valid Range:

-360 ≤ trueAnomaly ≤ 360

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the interplanetary orbit was initialized successfully. Returns a 0 if orbit initialization failed.

 

Syntax

myVariable1 = mySpacecraft1.OrbitWizardInterplanetarySetup(myString1, myTimeSpan1, myVariable2, myVariable3, myVariable4, myVariable5, myVariable6, myVariable7);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide