![]() |
RMVL
2.6.0-dev
Robotic Manipulation and Vision Library
|
OccupancyGrid 消息类型:nav/OccupancyGrid 更多...
#include <rmvlmsg/nav/occupancy_grid.hpp>
Public 成员函数 | |
| std::string | serialize () const noexcept |
| 消息序列化 | |
| std::string | json () const noexcept |
| 将消息序列化为 JSON 字符串 | |
| std::size_t | compact_size () const noexcept |
| 获取消息紧凑序列化后的大小(单位:字节) | |
静态 Public 成员函数 | |
| static OccupancyGrid | deserialize (const char *const str) noexcept |
| 消息反序列化 | |
Public 属性 | |
| rm::msg::Header | header {} |
| rm::msg::MapMetaData | info {} |
| uint64_t | revision {} |
| std::vector< int8_t > | data {} |
静态 Public 属性 | |
| static constexpr const char | msg_type [] = "nav/OccupancyGrid" |
| 消息类型字符串常量 | |
OccupancyGrid 消息类型:nav/OccupancyGrid
|
noexcept |
获取消息紧凑序列化后的大小(单位:字节)
|
staticnoexcept |
消息反序列化
| [in] | str | 待反序列化的字符串指针 |
|
noexcept |
将消息序列化为 JSON 字符串
|
noexcept |
消息序列化
| std::vector<int8_t> rm::msg::OccupancyGrid::data {} |
| rm::msg::Header rm::msg::OccupancyGrid::header {} |
| rm::msg::MapMetaData rm::msg::OccupancyGrid::info {} |
|
staticconstexpr |
消息类型字符串常量
| uint64_t rm::msg::OccupancyGrid::revision {} |