Skip to content

Conversation

@GuillaumeDec
Copy link
Contributor

Add sbp definition of new leader/leading message for Solution Groups.

SBP_MSG_GROUP_META.

As per Design Doc of new Starling Output MVP.
The point of this message is to facilitate consumption of output data,
in particular that of the fuzed Solution Group, aka "Fuzed Wagon".

Could be used for the GNSS (ARP) Wagon too.

Had to update parsers for Rust & Javascript b/c a new type (array of u16 for the group_msgs field) was introduced.

Copy link
Contributor

@reimerix reimerix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of comments - I think it would be good if the time source flags field would follow one convention throughout the SBP protocol, and since it was there first in MSG_IMU_RAW, I would tend to follow that convention, even if it admittedly makes less sense than your proposal.

GuillaumeDec and others added 7 commits July 21, 2020 11:40
As per Design Doc of new Starling Output MVP.
The point of this message is to facilitate consumption of output data,
in particular that of the fuzed Solution Group, aka "Fuzed Wagon".
Because MSG_GROUP_META introduces a new type (array of u16) that was
not used before in any other sbp message, a dedicated parser must exist
for the bindings to be built.
Because buffering is always by chunks of u8, an array of u16 must be
built from reading pairs of u8. Convention is always LittleEndian
throughout the entire sbp protocol.
Use https://gist.github.com/silverjam/83a3376a6d639a4a57e2b9be4636f972
for more info on how to create such test.
Also make sure the raw_json field has all fields in it.
I left sbp-test-data into libsbp
@GuillaumeDec GuillaumeDec force-pushed the guillaume/so-7/add-leader-group-message branch from 7ed5f23 to 3ee5dd9 Compare July 21, 2020 20:35
@GuillaumeDec
Copy link
Contributor Author

Left a couple of comments - I think it would be good if the time source flags field would follow one convention throughout the SBP protocol, and since it was there first in MSG_IMU_RAW, I would tend to follow that convention, even if it admittedly makes less sense than your proposal.

After much consideration, I agree with your suggestion, let's stick to the legacy. Not ideal perhaps, but the 0 meaning "invalid" isn't necessarily a fundamental law either: one could argue that 0 means "default" state. And GNSS-referenced tow/tom are quite the default in this house :-)

@GuillaumeDec GuillaumeDec merged commit 30d8e94 into master Jul 21, 2020
@GuillaumeDec GuillaumeDec deleted the guillaume/so-7/add-leader-group-message branch July 21, 2020 21:53
@GuillaumeDec GuillaumeDec changed the title Guillaume/so 7/add leader group message [SO-7] Guillaume/so 7/add leader group message Jul 21, 2020
@GuillaumeDec GuillaumeDec changed the title [SO-7] Guillaume/so 7/add leader group message [SO-16] Guillaume/so 7/add leader group message Jul 21, 2020
@GuillaumeDec GuillaumeDec changed the title [SO-16] Guillaume/so 7/add leader group message [SO-17] Guillaume/so 7/add leader group message Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants