Skip to content

Commit 9466188

Browse files
authored
Fix EsfStatus serialization (#208)
Read missing `reserved1` bytes to fix incorrect values in `EsfStatus` message. Based on changes in master 5ce4269
1 parent 751c064 commit 9466188

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ublox_msgs/include/ublox_msgs/serialization.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,7 @@ struct UbloxSerializer<ublox_msgs::msg::EsfSTATUS_<ContainerAllocator> > {
10631063
UbloxIStream stream(const_cast<uint8_t *>(data), count);
10641064
stream.next(m.i_tow);
10651065
stream.next(m.version);
1066+
stream.next(m.reserved1);
10661067
stream.next(m.fusion_mode);
10671068
stream.next(m.reserved2);
10681069
stream.next(m.num_sens);
@@ -1084,6 +1085,7 @@ struct UbloxSerializer<ublox_msgs::msg::EsfSTATUS_<ContainerAllocator> > {
10841085
UbloxOStream stream(data, size);
10851086
stream.next(m.i_tow);
10861087
stream.next(m.version);
1088+
stream.next(m.reserved1);
10871089
stream.next(m.fusion_mode);
10881090
stream.next(m.reserved2);
10891091
stream.next(static_cast<typename ublox_msgs::msg::EsfSTATUS_<ContainerAllocator>::_num_sens_type>(m.sens.size()));

0 commit comments

Comments
 (0)