drivers,sim: moi khung anh mot bo dem rieng (sua tranh chap voi SlamLoop o RealSense/sim/replay); sim: IMU dong hoc tu quy dao 6-DoF, tan so phat/tre/bias, ground truth vao .vsr, vslam_record --robot --gt
This commit is contained in:
@@ -73,6 +73,10 @@ enum class VsrStream : uint8_t {
|
||||
// bao "xanh" cho mot he da mat hai nhanh an toan.
|
||||
kUltrasonic = 11,
|
||||
kBumper = 12,
|
||||
// MO RONG: tu the THAT 6-DoF, CHI ban ghi tu bo mo phong. De cham diem
|
||||
// offline (VO/VIO, z tren doc). Replay khong dua no vao duong ong nao --
|
||||
// khong stage nao duoc doc su that.
|
||||
kGroundTruth = 13,
|
||||
};
|
||||
|
||||
const char* VsrStreamName(VsrStream s);
|
||||
@@ -109,6 +113,11 @@ bool DecodeUltrasonicPayload(const std::string& buf, double* range, size_t* coun
|
||||
void EncodeBumperPayload(uint32_t mask, std::string* out);
|
||||
bool DecodeBumperPayload(const std::string& buf, uint32_t* mask);
|
||||
|
||||
// Ground truth 6-DoF: sau double x, y, z, roll, pitch, yaw cua base_footprint
|
||||
// trong frame world (z = do cao san duoi robot; pitch duong = mui chuc xuong).
|
||||
void EncodeGroundTruthPayload(const double pose6[6], std::string* out);
|
||||
bool DecodeGroundTruthPayload(const std::string& buf, double pose6[6]);
|
||||
|
||||
void EncodeCameraInfoPayload(const CameraInfo& info, std::string* out);
|
||||
bool DecodeCameraInfoPayload(const std::string& buf, CameraInfo* out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user