Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
FirstGPS Starter Kit User Guide
81
Using the FirstGPS API
A
1.7.20
navPutInitPosition
Input initial LLA position.
Description
The navPutInitPosition function allows the user to enter a known
position on startup to minimize the time needed for a first fix. The
initial position is an array of doubles, in the order of latitude, longitude
and altitude. The fltAccuFlag field determines whether or not the
input parameters are accurate.
Included Header File
#include npStdIface.h
Format
npRetCode navPutInitPosition (DBL pdblPosLLA[ ], FLT
fltAccuFlag);
Input Parameters
Return Values
Data Type Parameter Description
DBL* pdblPosLLA Initial position from user. This is an
array of three doubles, which has the
following order: latitude, longitude, and
altitude.
FLT fltAccuFlag Indicates the accuracy in meters. Value
0 means do not change, and all
negative values indicate not accurate.
Value Description
NAV_OK The initialization of position is
successful.
NAV_ERROR The initialization of position is not
successful.