From 4bd08f0355b6b2cf3c027202d5ad301b4e182953 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期五, 31 三月 2023 17:16:22 +0800
Subject: [PATCH] 科目二修改
---
lib/src/main/cpp/master/comm_if.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/src/main/cpp/master/comm_if.h b/lib/src/main/cpp/master/comm_if.h
index 5d02cbd..8a13a4d 100644
--- a/lib/src/main/cpp/master/comm_if.h
+++ b/lib/src/main/cpp/master/comm_if.h
@@ -6,6 +6,7 @@
#define MYAPPLICATION2_COMM_IF_H
#include <cstdint>
+#include <vector>
#include "../driver_test.h"
struct mcuBrief {
@@ -106,10 +107,8 @@
int right_front_tire[2];
int left_rear_tire[2];
int right_rear_tire[2];
- int *body;
- int bodyNum;
- double *point;
- int pointNum;
+ std::vector<int> body;
+ std::vector<std::vector<double>> point;
};
struct roadStatusBrief {
--
Gitblit v1.8.0