#ifndef _LOCATIONTELEMETRY_H
#define _LOCATIONTELEMETRY_H

#include "AcousticTelemetry.h"
#include "FloatData.h"

/*
CLASS 
LocationTelemetry

DESCRIPTION
AcousticTelemetry for vehicle location

AUTHOR
Tom O'Reilly
*/
class LocationTelemetry : public AcousticTelemetry {

 public:

  LocationTelemetry(int maxPacketBytes);
  virtual ~LocationTelemetry();

  ///////////////////////////////////////////////////////////////////
  // Data structure holds "location" telemetry
  struct Data {

    float latitudeDeg;
    float longitudeDeg;

  } data;


protected:

  ///////////////////////////////////////////////////////////////////
  // Encode this object's telemetry data structure, place into this 
  // object's encoded buffer.
  virtual void encode();

  ///////////////////////////////////////////////////////////////////
  // Decode this object's encoded buffer, place into this object's
  // telemetry data structure
  virtual void decode();

  FloatData _floatData;
};

#endif
