Signal K
    Preparing search index...

    Interface CourseApi

    Course REST API provides the following functions for use by plugins.

    interface CourseApi {
        activateRoute(dest: null | RouteDestination): Promise<void>;
        clearDestination(): Promise<void>;
        getCourse(): Promise<CourseInfo>;
        setDestination(
            dest:
                | null
                | (PointDestination & { arrivalCircle?: number | undefined; }),
        ): Promise<void>;
    }

    Hierarchy

    Index

    Course API

    • Follow a route in the specified direction and starting at the specified point.

      Parameters

      • dest: null | RouteDestination

        Object containing route information.

        • returns: Resolved Promise on success.

      Returns Promise<void>

    • Cancels navigation to the current point or route being followed.

      Returns Promise<void>

    • Set course to a specified position / waypoint.

      Parameters

      • dest: null | (PointDestination & { arrivalCircle?: number | undefined; })

        Object containing destination position information.

      Returns Promise<void>