Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Open topic with navigation
CAPL Functions » J1939 » GNSS NL » GNSSGetCurGradient
GNSSGetCurGradient
Valid for: CANoe DE • CANoe4SW DE
Function Syntax
double GNSSGetCurGradient();
Description
This function returns the current gradient in degrees at which the GNSS receiver is moving.
If a value of 0.0 is returned, the GNSSGetLastError function must be used to check whether the value is valid (see error codes).
Parameters
—
Return Values
current gradient in degrees
Example
double gradient;
gradient = GNSSGetCurGradient();
write("Gradient = %lf degree", gradient);