From efc508204e781a1ce1d3f55c2b986198c9e32509 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期二, 18 八月 2020 17:35:26 +0800
Subject: [PATCH] 坐标
---
lib/src/main/cpp/master/comm_if.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/src/main/cpp/master/comm_if.cpp b/lib/src/main/cpp/master/comm_if.cpp
index 1166297..e6c8db2 100644
--- a/lib/src/main/cpp/master/comm_if.cpp
+++ b/lib/src/main/cpp/master/comm_if.cpp
@@ -291,8 +291,10 @@
writer.Int(brief->tripTime);
writer.Key("cell_volt");
writer.Double(brief->cellVolt);
+ writer.Key("speed");
+ writer.Double(brief->speed);
writer.Key("engine");
- writer.Double(brief->engine);
+ writer.Int(brief->engine);
writer.Key("sas");
writer.Int(brief->sas);
writer.Key("key");
--
Gitblit v1.8.0