OpenCPN Partial API docs
Loading...
Searching...
No Matches
own_ship.h
1
/******************************************************************************
2
*
3
* Project: OpenCPN
4
* Purpose: Position, course, speed, etc. obtained from instruments.
5
*
6
***************************************************************************
7
* Copyright (C) 2022 Alec Leamas *
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
* This program is distributed in the hope that it will be useful, *
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17
* GNU General Public License for more details. *
18
* *
19
* You should have received a copy of the GNU General Public License *
20
* along with this program; if not, write to the *
21
* Free Software Foundation, Inc., *
22
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
23
***************************************************************************
24
*/
25
26
#ifndef OWN_SHIP_H__
27
#define OWN_SHIP_H__
28
29
extern
double
gLat;
30
extern
double
gLon;
31
extern
double
gCog;
32
extern
double
gSog;
33
extern
double
gHdt;
34
extern
double
gHdm;
35
extern
double
gVar;
36
37
// Indicate whether the Global Navigation Satellite System (GNSS) has a valid
38
// position. true = OpenCPN has obtained a current position from a GNSS
39
// receiver. false = OpenCPN unable to determine position, or no GNSS receiver
40
// is connected. Note: the variable name uses the term "GPS" for historical
41
// reasons; modern GNSS receivers can acquire data from GPS and other satellite
42
// systems.
43
extern
bool
bGPSValid;
44
45
#endif
// OWN_SHIP_H__
model
include
model
own_ship.h
Generated on Sat Mar 1 2025 02:28:51 for OpenCPN Partial API docs by
1.9.8