CelestialObject.FixedVelocityOfObject(Vehicle) Method

Top 

Description

Returns an Array containing the components of the velocity vector of targetVehicle relative to the calling CelestialObject, in its body-fixed coordinate frame.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

CelestialObject.FixedVelocityOfObject(

Vehicle targetVehicle)

 

 

Arguments

targetVehicle


Description:

Vehicle whose velocity relative to the calling CelestialObject will be returned.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

Return Value

Type:

Array of number (size = 3)

 

 

Returns an Array containing the components of the velocity vector of the target object relative to the prefix object, expressed in the body-fixed coordinate system of the prefix object.

 

Syntax

myArray1 = myCelestialObject1.FixedVelocityOfObject(myVehicle1);

 

 

See also

CelestialObject Object

CelestialObject.FixedVelocityOfObject

CelestialObjects Guide