|
GKD.RoboCtrl
RoboMaster Linux 电控:异步 IO、设备驱动与机器人控制
|
在文件 aim_link.hpp 第 38 行定义.


类 | |
| struct | info_type |
Public 成员函数 | |
| navigation_link (const info_type &info) | |
| void | connect () |
| void | start () |
| std::optional< navigation_command > | command () const |
| awaitable< void > | send_status (float yaw, float hp_fraction, bool match_started) |
| std::string | desc () const |
Public 成员函数 继承自 roboctrl::device::device_base | |
| device_base (const std::chrono::nanoseconds offline_timeout) | |
| bool | offline () const |
| 判断设备是否离线 | |
| void | tick () |
| 更新心跳时间 | |
| awaitable< void > | task () |
| 默认的task | |
Public 成员函数 继承自 roboctrl::utils::immovable_base | |
| immovable_base (immovable_base &&)=delete | |
| immovable_base & | operator= (immovable_base &&)=delete |
Public 成员函数 继承自 roboctrl::utils::not_copyable_base | |
| not_copyable_base (const not_copyable_base &)=delete | |
| not_copyable_base & | operator= (const not_copyable_base &)=delete |
额外继承的成员函数 | |
Protected 属性 继承自 roboctrl::device::device_base | |
| const std::chrono::nanoseconds | offline_timeout_ |
| 设备离线超时时间 | |
| std::chrono::nanoseconds | tick_time_ |
| 上次心跳时间 | |
| bool | terminated_ = false |
|
explicit |
在文件 aim_link.cpp 第 44 行定义.
| std::optional< navigation_command > roboctrl::device::navigation_link::command | ( | ) | const |
在文件 aim_link.cpp 第 69 行定义.
| void roboctrl::device::navigation_link::connect | ( | ) |
在文件 aim_link.cpp 第 52 行定义.
|
inline |
在文件 aim_link.hpp 第 55 行定义.
| awaitable< void > roboctrl::device::navigation_link::send_status | ( | float | yaw, |
| float | hp_fraction, | ||
| bool | match_started | ||
| ) |
在文件 aim_link.cpp 第 73 行定义.
| void roboctrl::device::navigation_link::start | ( | ) |
在文件 aim_link.cpp 第 64 行定义.