OpenCPN Partial API docs
Loading...
Searching...
No Matches
altitude.cpp File Reference

Dashboard Plugin, display altitude trace. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include "altitude.h"

Go to the source code of this file.

Variables

int g_iDashDepthUnit
 
int m_aDataHeight
 
int x_alabel
 
int y_alabel
 
int a_plotdown
 
int a_plotup
 
int a_plotheight
 

Detailed Description

Dashboard Plugin, display altitude trace.

Derived from Jean-Eudes Onfray's depth.cpp by Andreas Merz.

Since not every vessel is always on sea level, I found it sometimes interesting to observe the GPS altitude information. It can be extracted from the GGA nmea message.

Besides showing a rolling plot, the grid will auto-rescale to keep the plot within the visible range. The top line shows mean altitude and its standard deviation.

Definition in file altitude.cpp.

Variable Documentation

◆ a_plotdown

int a_plotdown

Definition at line 44 of file altitude.cpp.

◆ a_plotheight

int a_plotheight

Definition at line 44 of file altitude.cpp.

◆ a_plotup

int a_plotup

Definition at line 44 of file altitude.cpp.

◆ g_iDashDepthUnit

int g_iDashDepthUnit
extern

Definition at line 82 of file dashboard_pi.cpp.

◆ m_aDataHeight

int m_aDataHeight

Definition at line 43 of file altitude.cpp.

◆ x_alabel

int x_alabel

Definition at line 44 of file altitude.cpp.

◆ y_alabel

int y_alabel

Definition at line 44 of file altitude.cpp.