mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-23 08:52:10 +01:00
6589e55019
This is not tested in Windows yet - I will do this on another machine ASAP. It might break the serial mode as well, I just lack time to test everything but I will eventually do it. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1498 ebee16cc-31ac-478f-84a7-5cbb03baadba
56 lines
1.7 KiB
C++
56 lines
1.7 KiB
C++
/**
|
|
******************************************************************************
|
|
*
|
|
* @file nmeaparser.h
|
|
* @author Edouard Lafargue & the OpenPilot team Copyright (C) 2010.
|
|
* @addtogroup GCSPlugins GCS Plugins
|
|
* @{
|
|
* @addtogroup GPSGadgetPlugin GPS Gadget Plugin
|
|
* @{
|
|
* @brief A gadget that displays GPS status and enables basic configuration
|
|
*****************************************************************************/
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef TELEMETRYPARSER_H
|
|
#define TELEMETRYPARSER_H
|
|
|
|
#include <QObject>
|
|
#include <QtCore>
|
|
#include "extensionsystem/pluginmanager.h"
|
|
#include "uavobjects/uavobjectmanager.h"
|
|
#include "uavobjects/uavobject.h"
|
|
#include "gpsparser.h"
|
|
|
|
|
|
class TelemetryParser: public GPSParser
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TelemetryParser(QObject *parent = 0);
|
|
~TelemetryParser();
|
|
|
|
public slots:
|
|
void updateGPS(UAVObject* object1);
|
|
void updateTime(UAVObject* object1);
|
|
void updateSats(UAVObject* object1);
|
|
|
|
};
|
|
|
|
#endif // TELEMETRYPARSER_H
|