Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf4fe082

Browse files
author
Messier
committed
fix(*): fix DEBUG_TIME_LIMIT timestamp error
1 parent9fc7f92 commitf4fe082

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/mynteye/device/standard2/channels_adapter_s2.cc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ struct ImuData2 {
8585
timestamp_l = (*(data +8) <<24) | (*(data +9) <<16) |
8686
(*(data +10) <<8) | *(data +11);
8787
timestamp = (static_cast<std::uint64_t>(timestamp_h) <<32) | timestamp_l;
88+
#if DEBUG_TIME_LIMIT
89+
timestamp +=4200000000;
90+
#endif
8891
flag = *(data +12);
8992
temperature = *((float*)(data+13));// NOLINT
9093
// LOG(INFO) << "temperature:" << temperature;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp