lib
xspublic
xstypes
xscandataidentifier.h
Go to the documentation of this file.
1
2
// Copyright (c) 2003-2021 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
34
// Copyright (c) 2003-2021 Xsens Technologies B.V. or subsidiaries worldwide.
35
// All rights reserved.
36
//
37
// Redistribution and use in source and binary forms, with or without modification,
38
// are permitted provided that the following conditions are met:
39
//
40
// 1. Redistributions of source code must retain the above copyright notice,
41
// this list of conditions, and the following disclaimer.
42
//
43
// 2. Redistributions in binary form must reproduce the above copyright notice,
44
// this list of conditions, and the following disclaimer in the documentation
45
// and/or other materials provided with the distribution.
46
//
47
// 3. Neither the names of the copyright holders nor the names of their contributors
48
// may be used to endorse or promote products derived from this software without
49
// specific prior written permission.
50
//
51
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
52
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
53
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
54
// THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
55
// SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
56
// OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR
58
// TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
59
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.THE LAWS OF THE NETHERLANDS
60
// SHALL BE EXCLUSIVELY APPLICABLE AND ANY DISPUTES SHALL BE FINALLY SETTLED UNDER THE RULES
61
// OF ARBITRATION OF THE INTERNATIONAL CHAMBER OF COMMERCE IN THE HAGUE BY ONE OR MORE
62
// ARBITRATORS APPOINTED IN ACCORDANCE WITH SAID RULES.
63
//
64
65
#ifndef XSCANDATAIDENTIFIER_H
66
#define XSCANDATAIDENTIFIER_H
67
69
#define XCDI_MAX_FREQUENCY_VAL 0x07FF
70
#define XCDI_MAX_FREQUENCY ((uint16_t) XCDI_MAX_FREQUENCY_VAL)
71
73
77
//AUTO namespace xstypes {
82
enum
XsCanDataIdentifier
83
{
84
XCDI_Invalid
= 0x00,
85
86
/* Group Information & Timestamp Messages */
87
XCDI_Error
= 0x01,
88
XCDI_Warning
= 0x02,
89
90
XCDI_SampleTime
= 0x05,
91
XCDI_GroupCounter
= 0x06,
92
XCDI_UtcTime
= 0x07,
93
94
/* Group Status Messages */
95
XCDI_StatusWord
= 0x11,
96
97
/* Group Quaternion Messages */
98
XCDI_Quaternion
= 0x21,
99
XCDI_EulerAngles
= 0x22,
100
XCDI_RotationMatrix
= 0x23,
101
102
/* Group Inertial Data Messages */
103
XCDI_DeltaV
= 0x31,
104
XCDI_RateOfTurn
= 0x32,
105
XCDI_DeltaQ
= 0x33,
106
XCDI_Acceleration
= 0x34,
107
XCDI_FreeAcceleration
= 0x35,
108
109
/* Group Magnetic Field */
110
XCDI_MagneticField
= 0x41,
111
112
/* Group Temperature & Pressure Messages */
113
XCDI_Temperature
= 0x51,
114
XCDI_BaroPressure
= 0x52,
115
116
/* Group High-Rate Data Messages */
117
XCDI_RateOfTurnHR
= 0x61,
118
XCDI_AccelerationHR
= 0x62,
119
120
/* Group Position & Velocity Messages */
121
XCDI_LatLong
= 0x71,
122
XCDI_AltitudeEllipsoid
= 0x72,
123
XCDI_PositionEcef_X
= 0x73,
124
XCDI_PositionEcef_Y
= 0x74,
125
XCDI_PositionEcef_Z
= 0x75,
126
XCDI_Velocity
= 0x76,
127
XCDI_Latitude
= 0x77,
128
XCDI_Longitude
= 0x78,
129
XCDI_GnssReceiverStatus
= 0x79,
130
XCDI_GnssReceiverDop
= 0x7A,
131
132
XCDI_EndOfGroup
,
//Keep this entry second to last.
133
XCDI_HighestIdentifier
,
//Keep this entry last. Don't assign IDs with a higher value than this.
134
};
137
typedef
enum
XsCanDataIdentifier
XsCanDataIdentifier
;
138
139
#endif
XCDI_Longitude
@ XCDI_Longitude
Definition:
xscandataidentifier.h:128
XCDI_MagneticField
@ XCDI_MagneticField
Magnetic field data in a.u.
Definition:
xscandataidentifier.h:110
XCDI_RotationMatrix
@ XCDI_RotationMatrix
Definition:
xscandataidentifier.h:100
XCDI_RateOfTurn
@ XCDI_RateOfTurn
Definition:
xscandataidentifier.h:104
XCDI_Acceleration
@ XCDI_Acceleration
Definition:
xscandataidentifier.h:106
XCDI_EulerAngles
@ XCDI_EulerAngles
Definition:
xscandataidentifier.h:99
XCDI_PositionEcef_X
@ XCDI_PositionEcef_X
Definition:
xscandataidentifier.h:123
XCDI_StatusWord
@ XCDI_StatusWord
Definition:
xscandataidentifier.h:95
XCDI_RateOfTurnHR
@ XCDI_RateOfTurnHR
Definition:
xscandataidentifier.h:117
XCDI_FreeAcceleration
@ XCDI_FreeAcceleration
Definition:
xscandataidentifier.h:107
XCDI_GnssReceiverStatus
@ XCDI_GnssReceiverStatus
Definition:
xscandataidentifier.h:129
XCDI_Quaternion
@ XCDI_Quaternion
Definition:
xscandataidentifier.h:98
XCDI_LatLong
@ XCDI_LatLong
Definition:
xscandataidentifier.h:121
XCDI_GnssReceiverDop
@ XCDI_GnssReceiverDop
Definition:
xscandataidentifier.h:130
XCDI_Error
@ XCDI_Error
Definition:
xscandataidentifier.h:87
XCDI_Invalid
@ XCDI_Invalid
Definition:
xscandataidentifier.h:84
XsCanDataIdentifier
XsCanDataIdentifier
Defines the data identifiers for CAN messages.
Definition:
xscandataidentifier.h:82
XCDI_DeltaV
@ XCDI_DeltaV
DeltaV SDI data output.
Definition:
xscandataidentifier.h:103
XCDI_UtcTime
@ XCDI_UtcTime
Definition:
xscandataidentifier.h:92
XCDI_GroupCounter
@ XCDI_GroupCounter
Definition:
xscandataidentifier.h:91
XCDI_BaroPressure
@ XCDI_BaroPressure
Pressure output recorded from the barometer.
Definition:
xscandataidentifier.h:114
XCDI_SampleTime
@ XCDI_SampleTime
Sample Time in us.
Definition:
xscandataidentifier.h:90
XCDI_PositionEcef_Y
@ XCDI_PositionEcef_Y
Definition:
xscandataidentifier.h:124
XCDI_AltitudeEllipsoid
@ XCDI_AltitudeEllipsoid
Definition:
xscandataidentifier.h:122
XCDI_Warning
@ XCDI_Warning
Definition:
xscandataidentifier.h:88
XCDI_DeltaQ
@ XCDI_DeltaQ
DeltaQ SDI data.
Definition:
xscandataidentifier.h:105
XCDI_Velocity
@ XCDI_Velocity
Definition:
xscandataidentifier.h:126
XCDI_EndOfGroup
@ XCDI_EndOfGroup
Definition:
xscandataidentifier.h:132
XCDI_AccelerationHR
@ XCDI_AccelerationHR
Definition:
xscandataidentifier.h:118
XCDI_Temperature
@ XCDI_Temperature
Temperature.
Definition:
xscandataidentifier.h:113
XCDI_Latitude
@ XCDI_Latitude
Definition:
xscandataidentifier.h:127
XCDI_HighestIdentifier
@ XCDI_HighestIdentifier
Definition:
xscandataidentifier.h:133
XCDI_PositionEcef_Z
@ XCDI_PositionEcef_Z
Definition:
xscandataidentifier.h:125
xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:20