代码拉取完成,页面将自动刷新
#pragma once
#include<cstdint>
#include<string>
#include<vector>
struct RobofleetSubscription {
std::string topic_regex;
uint8_t action;
};
struct RobotLocation {
std::string frame;
float x;
float y;
float z;
float theta;
};
struct RobotStatus {
std::string status;
bool is_ok;
float battery_level;
std::string location;
};
/*
* ROS message clones
*/
// std_msgs
struct Time {
uint32_t _sec;
uint32_t _nsec;
};
struct Header {
uint32_t seq;
Time stamp;
std::string frame_id;
};
// geometry_msgs
struct Point {
float x;
float y;
float z;
};
struct Quaternion {
float x;
float y;
float z;
float w;
};
struct Vector3 {
double x;
double y;
double z;
};
struct Pose {
Point point;
Quaternion quaternion;
};
struct PoseStamped {
Header header;
Pose pose;
};
struct PoseWithCovariance {
Pose pose;
double covariance[36];
};
struct PoseWithCovarianceStamped {
Header header;
PoseWithCovariance pose;
};
struct Twist {
Vector3 linear;
Vector3 angular;
};
struct TwistWithCovariance {
Twist twist;
double covariance[36];
};
struct TwistWithCovarianceStamped {
Header header;
TwistWithCovariance twist;
};
// nav_msgs
struct Odometry {
Header header;
std::string child_frame_id;
PoseWithCovariance pose;
TwistWithCovariance twist;
};
// sensor_msgs
struct CompressedImage {
Header header;
std::string format;
std::vector<uint8_t> data;
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。