Skip to main content
Open topic with navigation CAPL Functions » J1939 » GNSS NL » GNSSAddWp

GNSSAddWp

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword GNSSAddWp( double latitude, double longitude, double altitude )

Description

This function inserts a new waypoint at the end of the waypoint list. The unit of the altitude parameter depends on the system of measurement units selected with the GNSSSetUnits function.

Parameters

  • latitude: latitude of the new waypoint in degrees
  • longitude: longitude of the new waypoint in degrees
  • altitude: altitude of the new waypoint (in m or ft)

Return Values

error code

Example

GNSSAddWp( 48.46, 9.11, 225.0 );