| 1 |
|
| 2 |
// Copyright (c) 2003-2019 Xsens Technologies B.V. or subsidiaries worldwide. |
| 3 |
// All rights reserved. |
| 4 |
// |
| 5 |
// Redistribution and use in source and binary forms, with or without modification, |
| 6 |
// are permitted provided that the following conditions are met: |
| 7 |
// |
| 8 |
// 1. Redistributions of source code must retain the above copyright notice, |
| 9 |
// this list of conditions, and the following disclaimer. |
| 10 |
// |
| 11 |
// 2. Redistributions in binary form must reproduce the above copyright notice, |
| 12 |
// this list of conditions, and the following disclaimer in the documentation |
| 13 |
// and/or other materials provided with the distribution. |
| 14 |
// |
| 15 |
// 3. Neither the names of the copyright holders nor the names of their contributors |
| 16 |
// may be used to endorse or promote products derived from this software without |
| 17 |
// specific prior written permission. |
| 18 |
// |
| 19 |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
| 20 |
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 21 |
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
| 22 |
// THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 |
// SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
| 24 |
// OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 25 |
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR |
| 26 |
// TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 27 |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.THE LAWS OF THE NETHERLANDS |
| 28 |
// SHALL BE EXCLUSIVELY APPLICABLE AND ANY DISPUTES SHALL BE FINALLY SETTLED UNDER THE RULES |
| 29 |
// OF ARBITRATION OF THE INTERNATIONAL CHAMBER OF COMMERCE IN THE HAGUE BY ONE OR MORE |
| 30 |
// ARBITRATORS APPOINTED IN ACCORDANCE WITH SAID RULES. |
| 31 |
// |
| 32 |
|
| 33 |
#ifndef XSSTRINGOUTPUTTYPE_H |
| 34 |
#define XSSTRINGOUTPUTTYPE_H |
| 35 |
|
| 36 |
/*! \addtogroup enums Global enumerations |
| 37 |
@{ |
| 38 |
*/ |
| 39 |
//! String output types |
| 40 |
enum XsStringOutputType { |
| 41 |
XSOT_None = 0x0000 |
| 42 |
,XSOT_HCHDM = 0x0001 //!< NMEA string with Magnetic Heading |
| 43 |
,XSOT_HCHDG = 0x0002 //!< NMEA string with Heading and Magnetic Variation |
| 44 |
,XSOT_TSS2 = 0x0004 //!< Proprietry string with Heading, Heave, Roll and Pitch |
| 45 |
,XSOT_PHTRO = 0x0008 //!< Proprietry NMEA string with Pitch and Roll |
| 46 |
,XSOT_PRDID = 0x0010 //!< Proprietry NMEA string with Pitch, Roll and Heading |
| 47 |
,XSOT_EM1000 = 0x0020 //!< Binary format suitable for use with Simrad EM1000 mulitibeam sounders with Roll, Pitch, Heave and Heading |
| 48 |
,XSOT_PSONCMS = 0x0040 //!< NMEA string with Xsens Compass Motion Sensor information |
| 49 |
,XSOT_HCMTW = 0x0080 //!< NMEA string with (water) Temperature |
| 50 |
,XSOT_HEHDT = 0x0100 //!< NMEA string with True Heading |
| 51 |
,XSOT_HEROT = 0x0200 //!< NMEA string with Rate of Turn |
| 52 |
,XSOT_GPGGA = 0x0400 //!< NMEA string with Global Positioning system fix data |
| 53 |
,XSOT_PTCF = 0x0800 //!< NMEA string with motion data |
| 54 |
,XSOT_XSVEL = 0x1000 //!< Proprietry NMEA string with velocity data |
| 55 |
,XSOT_GPZDA = 0x2000 //!< NMEA string with date and time |
| 56 |
,XSOT_GPRMC = 0x4000 //!< NMEA string with recommended minimum specific GPS/Transit data |
| 57 |
}; |
| 58 |
/*! @} */ |
| 59 |
typedef enum XsStringOutputType XsStringOutputType; |
| 60 |
|
| 61 |
#endif |