TrajectoryPhase.ResampleNodes(Array, Array) Method

Top 

Description

Re-interpolates the TrajectoryPhase's nodes using independent uniform distributions of TrajectoryNodes within user-defined barriers. The numberOfPoints Array argument must have one less element than the barriers Array argument. Additionally, the barriers Array argument must begin with 0 and end with 1.

 

Example:

ResampleNodes({10, 20}, {0, 0.5, 1});

This will resample such that there are 10 nodes in the first half of the trajectory and 20 nodes in the second half.

 

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

TrajectoryPhase.ResampleNodes(

Array numberOfPointsArray,


Array barriers)

 

 

Arguments

numberOfPointsArray


Description:

The array containing the number of node points to place within each set of barriers.

Required Size:

At least 1

 

 

barriers


Description:

The array containing the barriers. This array must start with 0 and end with 1.

Required Size:

At least 2

 

 

 

Syntax

myTrajectoryPhase1.ResampleNodes(myArray1, myArray2);

 

 

See also

TrajectoryPhase Object

TrajectoryPhase.ResampleNodes