File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
python/fusion_engine_client/messages
src/point_one/fusion_engine/messages Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class PoseMessage(MessagePayload):
14
14
@brief Platform pose solution (position, velocity, attitude).
15
15
"""
16
16
MESSAGE_TYPE = MessageType .POSE
17
- MESSAGE_VERSION = 1
17
+ MESSAGE_VERSION = 2
18
18
19
19
INVALID_UNDULATION = - 32768
20
20
@@ -28,6 +28,7 @@ def __init__(self):
28
28
29
29
self .solution_type = SolutionType .Invalid
30
30
31
+ # Added in version 1.2
31
32
self .flags = 0x0
32
33
33
34
# Added in version 1.1.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace messages {
28
28
29
29
/* *
30
30
* @brief Platform pose solution: position, velocity, attitude (@ref
31
- * MessageType::POSE, version 1.1 ).
31
+ * MessageType::POSE, version 1.2 ).
32
32
* @ingroup solution_messages
33
33
*
34
34
* @note
@@ -39,7 +39,7 @@ namespace messages {
39
39
*/
40
40
struct P1_ALIGNAS (4 ) PoseMessage : public MessagePayload {
41
41
static constexpr MessageType MESSAGE_TYPE = MessageType::POSE;
42
- static constexpr uint8_t MESSAGE_VERSION = 1 ;
42
+ static constexpr uint8_t MESSAGE_VERSION = 2 ;
43
43
static constexpr int16_t INVALID_UNDULATION = INT16_MIN;
44
44
45
45
/* * Set if the device is stationary. */
@@ -54,7 +54,11 @@ struct P1_ALIGNAS(4) PoseMessage : public MessagePayload {
54
54
/* * The type of this position solution. */
55
55
SolutionType solution_type;
56
56
57
- /* * A bitmask of flags associated with the pose data. */
57
+ /* *
58
+ * A bitmask of flags associated with the pose data.
59
+ *
60
+ * Added in @ref PoseMessage version 1.2.
61
+ */
58
62
uint8_t flags = 0x0 ;
59
63
60
64
/* *
You can’t perform that action at this time.
0 commit comments