Merge branch 'release/v2.4.0' of http://gitlab.mynt.com/mynteye/mynt-eye-s-sdk into release/v2.4.0
This commit is contained in:
commit
841de6ea77
|
@ -73,7 +73,7 @@ void unpack_imu_packet(const std::uint8_t *data, ImuPacket *pkg) {
|
||||||
unpack_imu_segment(ImuData(data + data_n * i), &seg);
|
unpack_imu_segment(ImuData(data + data_n * i), &seg);
|
||||||
pkg->segments.push_back(seg);
|
pkg->segments.push_back(seg);
|
||||||
}
|
}
|
||||||
pkg->serial_number = pkg->segments.back().frame_id;
|
if (pkg->count) pkg->serial_number = pkg->segments.back().frame_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
void unpack_imu_res_packet(const std::uint8_t *data, ImuResPacket *res) {
|
void unpack_imu_res_packet(const std::uint8_t *data, ImuResPacket *res) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user