OpenCPN Partial API docs
Loading...
Searching...
No Matches
PluginNavdata Struct Reference

Basic navigation data structure. More...

#include <ocpn_plugin.h>

Public Attributes

double lat
 Latitude in decimal degrees.
 
double lon
 Longitude in decimal degrees.
 
double sog
 Speed over ground in knots.
 
double cog
 Course over ground in degrees.
 
double var
 Magnetic variation in degrees.
 
double hdt
 True heading in degrees.
 
time_t time
 UTC timestamp of data.
 

Detailed Description

Basic navigation data structure.

Contains essential navigation data available to plugins including position, course, speed and heading information.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5559 of file ocpn_plugin.h.

Member Data Documentation

◆ cog

double PluginNavdata::cog

Course over ground in degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5563 of file ocpn_plugin.h.

◆ hdt

double PluginNavdata::hdt

True heading in degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5565 of file ocpn_plugin.h.

◆ lat

double PluginNavdata::lat

Latitude in decimal degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5560 of file ocpn_plugin.h.

◆ lon

double PluginNavdata::lon

Longitude in decimal degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5561 of file ocpn_plugin.h.

◆ sog

double PluginNavdata::sog

Speed over ground in knots.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5562 of file ocpn_plugin.h.

◆ time

time_t PluginNavdata::time

UTC timestamp of data.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5566 of file ocpn_plugin.h.

◆ var

double PluginNavdata::var

Magnetic variation in degrees.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 5564 of file ocpn_plugin.h.


The documentation for this struct was generated from the following file: