update
This commit is contained in:
@@ -218,6 +218,10 @@ StatusResponse Runtime::Wire() {
|
||||
// SlamLoop cam duoc con tro ra ngoai lock.
|
||||
latest_depth_info_ = std::make_shared<const CameraInfo>(f.depth_info);
|
||||
latest_depth_stamp_ = f.header.stamp;
|
||||
// Qua atomic, khong doc thang GravityAlign: tren --live camera va IMU
|
||||
// chay tren HAI luong khac nhau.
|
||||
latest_depth_roll_ = tilt_roll_.load(std::memory_order_relaxed);
|
||||
latest_depth_pitch_ = tilt_pitch_.load(std::memory_order_relaxed);
|
||||
have_depth_ = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user