Skip to content

Commit cb1f320

Browse files
committed
Repositioning of documents
1 parent 654640c commit cb1f320

File tree

11 files changed

+192
-258
lines changed

11 files changed

+192
-258
lines changed

infinite_sense_core/include/data.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inline void ProcessTriggerData(const nlohmann::json &data) {
99
}
1010
const uint64_t time_stamp = data["t"];
1111
const uint16_t status = data["s"];
12-
const uint64_t count =data["c"];
12+
const uint64_t count = data["c"];
1313
SET_LAST_TRIGGER_STATUS(time_stamp, status);
1414
};
1515

@@ -33,7 +33,7 @@ inline void ProcessIMUData(const nlohmann::json &data) {
3333
imu.q[1] = data["q"][1];
3434
imu.q[2] = data["q"][2];
3535
imu.q[3] = data["q"][3];
36-
Messenger::GetInstance().PubStruct("imu1",&imu,sizeof(imu));
36+
Messenger::GetInstance().PubStruct("imu1", &imu, sizeof(imu));
3737
};
3838

3939
inline void ProcessGPSData(const nlohmann::json &data) {
@@ -46,10 +46,9 @@ inline void ProcessGPSData(const nlohmann::json &data) {
4646
gps.gps_stamp_us = data["d"][2];
4747
gps.gps_stamp_us_trigger = data["d"][3];
4848
gps.time_stamp_us = data["t"];
49-
Messenger::GetInstance().PubStruct("gps",&gps,sizeof(gps));
49+
Messenger::GetInstance().PubStruct("gps", &gps, sizeof(gps));
5050
};
5151

52-
5352
inline void ProcessLOGData(const nlohmann::json &data) {
5453
if (data["f"] != "log") {
5554
return;

infinite_sense_core/include/image.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
2-
#include <cstdlib>
32
#include <cstdint>
4-
#include <cstddef>
53
namespace infinite_sense {
64
#if defined(HAS_OPENCV) || defined(HAS_OPENCV3)
75
#include <opencv2/core/core.hpp>

0 commit comments

Comments
 (0)