|
GKD.RoboCtrl
RoboMaster Linux 电控:异步 IO、设备驱动与机器人控制
|
Source profile: GKD_Control/include/device/referee/protocol.hpp (unversioned). Known commands require their exact source layout; no inferred year upgrades.
#include <state.hpp>

Public 成员函数 | |
| bool | accept (const frame &input, clock::time_point now) |
Public 属性 | |
| timed_value< game_status > | game |
| timed_value< robot_status > | robot |
| timed_value< power_heat > | power |
| timed_value< bullet_allowance > | ammunition |
| timed_value< robot_position > | position |
| timed_value< shot_data > | shot |
| timed_value< referee_warning > | warning |
| timed_value< std::uint8_t > | winner |
| timed_value< std::array< std::uint16_t, 16 > > | robot_hp |
|
inline |
| timed_value<bullet_allowance> roboctrl::device::referee_protocol::state::ammunition |
| timed_value<game_status> roboctrl::device::referee_protocol::state::game |
| timed_value<robot_position> roboctrl::device::referee_protocol::state::position |
| timed_value<power_heat> roboctrl::device::referee_protocol::state::power |
| timed_value<robot_status> roboctrl::device::referee_protocol::state::robot |
| timed_value<std::array<std::uint16_t, 16> > roboctrl::device::referee_protocol::state::robot_hp |
| timed_value<shot_data> roboctrl::device::referee_protocol::state::shot |
| timed_value<referee_warning> roboctrl::device::referee_protocol::state::warning |
| timed_value<std::uint8_t> roboctrl::device::referee_protocol::state::winner |