mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-10 22:49:51 +08:00
fix: update receiveTimestamp method signature in MultiCameraSubscriber
This commit is contained in:
@@ -317,7 +317,7 @@ class MultiCameraSubscriber : public rclcpp::Node {
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string receiveTimestamp() const {
|
std::string receiveTimestamp() {
|
||||||
const auto now = this->get_clock()->now();
|
const auto now = this->get_clock()->now();
|
||||||
const int64_t seconds = now.seconds();
|
const int64_t seconds = now.seconds();
|
||||||
const int64_t milliseconds = now.nanoseconds() % 1000000000 / 1000000;
|
const int64_t milliseconds = now.nanoseconds() % 1000000000 / 1000000;
|
||||||
|
|||||||
Reference in New Issue
Block a user