NIGPS_TRAJECTORY_MODE

NI GNSS Simulation Toolkit Help

Edition Date: April 2013

Part Number: 372446D-01

»View Product Info
Download Help (Windows Only)

Data Type: int32
Access:read/write
Functions:niGPS_SetScalarAttributeI32
niGPS_GetScalarAttributeI32
Description: Specifies the format used for specifying the trajectory.

The following is an example of valid syntax in a trajectory script when the NIGPS_TRAJECTORY_SCRIPT_CLIMB_ENABLED attribute is set to NIGPS_VAL_FALSE.

begin

straight heading_type distance duration

arc turn_radius turn_angle duration

halt heading_type duration

waypoint heading_type latitude longitude altitude speed

waypoint heading_type latitude longitude altitude duration=duration_time

end

The following is an example of valid syntax in a trajectory script when the NIGPS_TRAJECTORY_SCRIPT_CLIMB_ENABLED attribute is set to NIGPS_VAL_TRUE.

begin

straight heading_type distance duration altitude_change

arc turn_radius turn_angle duration altitude_change

halt heading_type duration

waypoint heading_type latitude longitude altitude speed

waypoint heading_type latitude longitude altitude duration=duration_time

end

Refer to the Trajectory Script Syntax topic for more information about the valid syntax to use in trajectory script files for each trajectory command.

Refer to the Velocity Formats topic for more information about the allowed velocity formats based on the trajectory mode.

The default value is NIGPS_VAL_TRAJECTORY_MODE_SIMPLE.
Values:
NIGPS_VAL_TRAJECTORY_MODE_SIMPLE (0)Set the trajectory mode to NIGPS_VAL_TRAJECTORY_MODE_SIMPLE when there is no predefined path. You must specify the receiver location, velocity, and acceleration. Otherwise, the toolkit uses the default values for these attributes.
NIGPS_VAL_TRAJECTORY_MODE_SCRIPT (1)Set the trajectory mode to NIGPS_VAL_TRAJECTORY_MODE_SCRIPT if there is a predefined path or list of waypoints to simulate. Set the NIGPS_RECEIVER_VELOCITY_FORMAT attribute to NIGPS_VAL_RECEIVER_VELOCITY_FORMAT_LTP_SPEEDHEADING, if the NIGPS_TRAJECTORY_SCRIPT_CLIMB_ENABLED attribute is set to NIGPS_VAL_FALSE. Otherwise, set it to any format supported by the toolkit. However, do not set the NIGPS_RECEIVER_ACCELERATION_FORMAT attribute. The acceleration values are internally computed based on a provided trajectory script file, which must be specified in a text file.

WAS THIS ARTICLE HELPFUL?

Not Helpful