/** \file
 *
 *  Specifies the interface details for the AHRS_3DMGX3 component in the
 *  SensorModule.
 *
 *  AHRS_3DMGX3.h should only be included by AHRS_3DMGX3.cpp
 *  Other classes should include AHRS_3DMGX3IF.h
 *
 *  Copyright (c) 2007,2008,2009 MBARI
 *  MBARI Proprietary Information.  All Rights Reserved
 */

#ifndef AHRS_3DMGX3IF_H_
#define AHRS_3DMGX3IF_H_


#include "data/ElementURI.h"

/**
 *  Specifies the interface details for the AHRS_3DMGX3 component in the
 *  SensorModule.
 *
 *  AHRS_3DMGX3.h should only be included by AHRS_3DMGX3.cpp
 *  Other classes should include AHRS_3DMGX3IF.h
 *
 *  \ingroup modules_sensor
 */
namespace AHRS_3DMGX3IF
{
/// Static const for component name
/// (Can be used by other components)
static const Str NAME( "AHRS_3DMGX3" );

// Include common ConfigURIs -- must be in namespace and follow definition of NAME
#include "component/HasLoadAtStartupIF.h"
#include "component/HasHardwareIF.h"
#include "component/HasLoadControlIF.h"
#include "component/HasPowerIF.h"
#include "component/HasUartIF.h"

static const ConfigURI MAG_DEVIATION_CFG( NAME, "magDeviation", Units::RADIAN );
static const ConfigURI PITCH_OFFSET_CFG( NAME, "pitchOffset", Units::RADIAN );
static const ConfigURI ROLL_OFFSET_CFG( NAME, "rollOffset", Units::RADIAN );

static const DataURI COMPASS_ORIENTATION_READING( NAME, "CompassOrientation", Units::DEGREE );

}

#endif /*AHRS_3DMGX3IF_H_*/
