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

GNSSOnWpBeforeLastReached

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void GNSSOnWpBeforeLastReached();

Description

This function is called when the next-to-last waypoint of the waypoint list has been reached. This makes it possible to insert an additional waypoint before the GNSS receiver comes to a stop.

Parameters

Return Values

Example

// Implementation of a loop
void GNSSOnWpBeforeLastReached()
{
  GNSSAddWpRel( 20.0, 0.0, 0.0 );
}