From 08edefc40eae120198a4d442a6fc6c30e738f8b0 Mon Sep 17 00:00:00 2001 From: yipeng Date: Mon, 13 Nov 2023 19:12:06 +0800 Subject: [PATCH 1/3] [Modify]: Modify bms protocol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.bms协议增加过流等状态信息 Signed-off-by: yipeng --- protocol/ros/msg/BmsStatus.msg | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/protocol/ros/msg/BmsStatus.msg b/protocol/ros/msg/BmsStatus.msg index 283bf91..c372c14 100644 --- a/protocol/ros/msg/BmsStatus.msg +++ b/protocol/ros/msg/BmsStatus.msg @@ -19,4 +19,21 @@ bool power_motor_shutdown bool power_soft_shutdown bool power_wp_place bool power_wp_charging -bool power_expower_supply \ No newline at end of file +bool power_expower_supply + +bool charge_over_current # 充电过流保护:0-nomal,1-error +bool discharge_over_current # 放电过流保护:0-nomal,1-error +bool cell_over_voltage # 电池过压保护:0-nomal,1-error +bool cell_under_voltage # 电池欠压保护:0-nomal,1-error +bool cell_volt_abnormal # 电池电压异常:0-nomal,1-error +bool mos_over_temp # MOS过温保护:0-nomal,1-error +bool discharge_short # 放电短路保护:0-nomal,1-error +bool fuse # 保险丝断开保护:0-nomal,1-error +bool discharge_over_tmp # 放电过温保护:0-nomal,1-error +bool discharge_under_tmp # 放电欠温保护:0-nomal,1-error +bool charge_over_temp # 充电过温保护:0-nomal,1-error +bool charge_under_temp # 充电欠温保护:0-nomal,1-error +bool charge_mos_state # 充电MOS状态:0-on,1-off +bool discharge_mos_state # 放电MOS状态: 0-on,1-off +bool chg_mos_fault # 充电MOS故障: 0-nomal,1-error +bool dsg_mos_fault # 放电MOS故障:0-nomal,1-error \ No newline at end of file From e90dcc40c02222b55521bddd7177855241c298fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=B4=AA=E6=B5=B7?= Date: Sat, 18 Nov 2023 16:44:02 +0800 Subject: [PATCH 2/3] [Modify]: add more motion fault state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 田洪海 --- protocol/ros/msg/MotionStatus.msg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/protocol/ros/msg/MotionStatus.msg b/protocol/ros/msg/MotionStatus.msg index d34f3f4..fdf8764 100644 --- a/protocol/ros/msg/MotionStatus.msg +++ b/protocol/ros/msg/MotionStatus.msg @@ -14,4 +14,11 @@ int8 EDAMP = 3 int8 LIFTED = 4 int8 BAN_TRANS = 5 int8 OVER_HEAT = 6 -int8 LOW_BAT = 7 \ No newline at end of file +int8 LOW_BAT = 7 +int8 ORI_ERR = 8 +int8 FOOTPOS_ERR = 9 +int8 STAND_STUCK = 10 +int8 MOTOR_OVER_HEAT = 11 +int8 MOTOR_OVER_CURR = 12 +int8 MOTOR_ERR = 13 +int8 CHARGING = 14 \ No newline at end of file From 01e77636ca559f328f65cffaa2fc3d853ac7e29b Mon Sep 17 00:00:00 2001 From: dingdingsong Date: Fri, 24 Nov 2023 18:32:47 +0800 Subject: [PATCH 3/3] [Add] Add bluetooth connect network msg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.增加Bluetoothtatus.msg、WifiInfo.msg和NotifyToApp.msg文件 Signed-off-by: dingdingsong --- protocol/ros/msg/BluetoothStatus.msg | 2 ++ protocol/ros/msg/NotifyToApp.msg | 3 +++ protocol/ros/msg/WifiInfo.msg | 5 +++++ 3 files changed, 10 insertions(+) create mode 100644 protocol/ros/msg/BluetoothStatus.msg create mode 100644 protocol/ros/msg/NotifyToApp.msg create mode 100644 protocol/ros/msg/WifiInfo.msg diff --git a/protocol/ros/msg/BluetoothStatus.msg b/protocol/ros/msg/BluetoothStatus.msg new file mode 100644 index 0000000..10ee3d2 --- /dev/null +++ b/protocol/ros/msg/BluetoothStatus.msg @@ -0,0 +1,2 @@ +int8 advtiseable +int8 connectable \ No newline at end of file diff --git a/protocol/ros/msg/NotifyToApp.msg b/protocol/ros/msg/NotifyToApp.msg new file mode 100644 index 0000000..f35b895 --- /dev/null +++ b/protocol/ros/msg/NotifyToApp.msg @@ -0,0 +1,3 @@ +string ssid +string ip +int32 code diff --git a/protocol/ros/msg/WifiInfo.msg b/protocol/ros/msg/WifiInfo.msg new file mode 100644 index 0000000..c8474eb --- /dev/null +++ b/protocol/ros/msg/WifiInfo.msg @@ -0,0 +1,5 @@ +string ssid +string pwd +string ip +string mac +string type