GKD.RoboCtrl
RoboMaster Linux 电控:异步 IO、设备驱动与机器人控制
载入中...
搜索中...
未找到
roboctrl::device::referee_protocol::robot_status结构体 参考

详细描述

在文件 state.hpp 第 26 行定义.

Public 属性

std::uint8_t robot_id {}
 
std::uint8_t level {}
 
std::uint16_t hp {}
 
std::uint16_t max_hp {}
 
std::uint16_t cooling_rate {}
 
std::uint16_t cooling_limit {}
 
std::uint16_t chassis_power_limit {}
 
bool gimbal_power {}
 
bool chassis_power {}
 
bool shooter_power {}
 

类成员变量说明

◆ chassis_power

bool roboctrl::device::referee_protocol::robot_status::chassis_power {}

在文件 state.hpp 第 29 行定义.

◆ chassis_power_limit

std::uint16_t roboctrl::device::referee_protocol::robot_status::chassis_power_limit {}

在文件 state.hpp 第 28 行定义.

◆ cooling_limit

std::uint16_t roboctrl::device::referee_protocol::robot_status::cooling_limit {}

在文件 state.hpp 第 28 行定义.

◆ cooling_rate

std::uint16_t roboctrl::device::referee_protocol::robot_status::cooling_rate {}

在文件 state.hpp 第 28 行定义.

◆ gimbal_power

bool roboctrl::device::referee_protocol::robot_status::gimbal_power {}

在文件 state.hpp 第 29 行定义.

◆ hp

std::uint16_t roboctrl::device::referee_protocol::robot_status::hp {}

在文件 state.hpp 第 28 行定义.

◆ level

std::uint8_t roboctrl::device::referee_protocol::robot_status::level {}

在文件 state.hpp 第 27 行定义.

◆ max_hp

std::uint16_t roboctrl::device::referee_protocol::robot_status::max_hp {}

在文件 state.hpp 第 28 行定义.

◆ robot_id

std::uint8_t roboctrl::device::referee_protocol::robot_status::robot_id {}

在文件 state.hpp 第 27 行定义.

◆ shooter_power

bool roboctrl::device::referee_protocol::robot_status::shooter_power {}

在文件 state.hpp 第 29 行定义.


该结构体的文档由以下文件生成: