AttitudeConvert(Variable, Variable, GroundVehicle, Array) Function

Top 

Description

Converts the from3Vector from the fromAttitude reference system to the toAttitude reference system, using referenceGroundVehicle as the reference GroundVehicle.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

AttitudeConvert(

Variable fromAttitude,


Variable toAttitude,


GroundVehicle referenceGroundVehicle,


Array from3Vector)

 

Arguments

fromAttitude


Description:

Attitude system of input state.

Valid Values:

Value

Label

0

Mean of J2000 inertial reference system

8

GroundVehicles's current velocity-local tangent (VLT) reference system

9

GroundVehicles's current Earth-North-Up (ENU) reference system

 

toAttitude


Description:

Attitude system of output state.

Valid Values:

Value

Label

0

Mean of J2000 inertial reference system

8

GroundVehicles's current velocity-local tangent (VLT) reference system

9

GroundVehicles's current Earth-North-Up (ENU) reference system

 

referenceGroundVehicle


Description:

The GroundVehicle object to which the attitude frames are referenced.

 

from3Vector


Description:

A three-element array containing the position vector in the input attitude system.

Required Size:

At least 3

 

 

Return Value

Type:

Array of number (size = 3)

 

Returns a three-element array containing the converted vector in the output attitude system.

 

Syntax

myArray1 = AttitudeConvert(myVariable1, myVariable2, myGroundVehicle1, myArray2);

 

See also

AttitudeConvert