Go2Py_SIM/msg_sources/idls/BmsState_.idl

51 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// generated from rosidl_generator_dds_idl/resource/idl.idl.em
// with input from unitree_go:msg/BmsState.idl
// generated code does not contain a copyright notice
#ifndef __unitree_go__msg__bms_state__idl__
#define __unitree_go__msg__bms_state__idl__
module Go2Py {
module unitree_go {
module msg {
module dds_ {
struct BmsState_ {
octet version_high; //电池版本
octet version_low; //电池版本
// 0SAFE,(未开启电池)
// 1WAKE_UP,(唤醒事件)
// 6PRECHG, (电池预冲电中)
// 7CHG, (电池正常充电中)
// 8DCHG, (电池正常放电中)
// 9SELF_DCHG, (电池自放电中)
// 11ALARM, (电池存在警告)
// 12RESET_ALARM, (等待按键复位警告中)
// 13AUTO_RECOVERY (复位中)
octet status; //电池状态信息。
octet soc; //电池电量信息类型uint8_t(范围1% - 100%)
long current; //充放电信息:(正:代表充电,负代表放电)可按照实际数值显示
unsigned short cycle; //充电循环次数
octet bq_ntc[2]; //电池内部两个NTC的温度int8_t范围-100 - 150。 0- BAT1; 1- BAT2
octet mcu_ntc[2]; //电池NTC数组0 - RES1 - MOS int8_t范围-100 - 150
unsigned short cell_vol[15]; //电池内部15节电池的电压。
};
}; // module dds_
}; // module msg
}; // module unitree_go
};
#endif // __unitree_go__msg__bms_state__idl__