|
GKD.RoboCtrl
|
类 | |
| struct | info_type |
Public 成员函数 | |
| bool | init (const info_type &info) |
| std::string | desc () const |
| roboctrl::awaitable< void > | task () |
| void | set_velocity (fp32 x, fp32 y) |
| void | set_velocity (vectorf velocity) |
| vectorf | velocity () const |
| fp32 | gimbal_yaw () const |
| void | set_gimbal_yaw (fp32 yaw) |
| void | set_chassis_rotate_speed (fp32 speed) |
| fp32 | chassis_rotate_speed () const |
| robot_state | state () const |
| void | set_state (robot_state state) |
Public 成员函数 继承自 roboctrl::utils::singleton_base< robot > | |
| singleton_base (const singleton_base &)=delete | |
| singleton_base & | operator= (const singleton_base &)=delete |
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 |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 roboctrl::utils::singleton_base< robot > | |
| static robot & | instance () |
| 获取单例实例 | |
Protected 成员函数 继承自 roboctrl::log::logable< robot > | |
| void | log (log_level level, std::format_string< Args... > fmt, Args &&...args) const |
| 输出日志 | |
| void | log_debug (std::format_string< Args... > fmt, Args &&...args) const |
| 输出debug日志 | |
| void | log_info (std::format_string< Args... > fmt, Args &&...args) const |
| 输出info日志 | |
| void | log_warn (std::format_string< Args... > fmt, Args &&...args) const |
| 输出warn日志 | |
| void | log_error (std::format_string< Args... > fmt, Args &&...args) const |
| 输出error日志 | |