Skip to main content

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 » GNSSGetCurCourse

GNSSGetCurCourse

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

double GNSSGetCurCourse( void )

Description

This function returns the current course in degrees along 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 course in degrees

Example

double course;
course = GNSSGetCurCourse();
write("Course = %lf degree", course);