Skip to content

Commit f1f6834

Browse files
committed
Increment PoseMessage version to 1.2
1 parent 19ca684 commit f1f6834

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

python/fusion_engine_client/messages/solution.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class PoseMessage(MessagePayload):
1414
@brief Platform pose solution (position, velocity, attitude).
1515
"""
1616
MESSAGE_TYPE = MessageType.POSE
17-
MESSAGE_VERSION = 1
17+
MESSAGE_VERSION = 2
1818

1919
INVALID_UNDULATION = -32768
2020

@@ -28,6 +28,7 @@ def __init__(self):
2828

2929
self.solution_type = SolutionType.Invalid
3030

31+
# Added in version 1.2
3132
self.flags = 0x0
3233

3334
# Added in version 1.1.

src/point_one/fusion_engine/messages/solution.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace messages {
2828

2929
/**
3030
* @brief Platform pose solution: position, velocity, attitude (@ref
31-
* MessageType::POSE, version 1.1).
31+
* MessageType::POSE, version 1.2).
3232
* @ingroup solution_messages
3333
*
3434
* @note
@@ -39,7 +39,7 @@ namespace messages {
3939
*/
4040
struct P1_ALIGNAS(4) PoseMessage : public MessagePayload {
4141
static constexpr MessageType MESSAGE_TYPE = MessageType::POSE;
42-
static constexpr uint8_t MESSAGE_VERSION = 1;
42+
static constexpr uint8_t MESSAGE_VERSION = 2;
4343
static constexpr int16_t INVALID_UNDULATION = INT16_MIN;
4444

4545
/** Set if the device is stationary. */
@@ -54,7 +54,11 @@ struct P1_ALIGNAS(4) PoseMessage : public MessagePayload {
5454
/** The type of this position solution. */
5555
SolutionType solution_type;
5656

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+
*/
5862
uint8_t flags = 0x0;
5963

6064
/**

0 commit comments

Comments
 (0)