mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-10 22:49:51 +08:00
[service] update multi synced reset timestamp
This commit is contained in:
@@ -802,7 +802,7 @@ void OBCameraNode::setRESETTimestampCallback(
|
|||||||
std::shared_ptr<std_srvs::srv::SetBool::Response>& response) {
|
std::shared_ptr<std_srvs::srv::SetBool::Response>& response) {
|
||||||
(void)request;
|
(void)request;
|
||||||
try {
|
try {
|
||||||
device_->setBoolProperty(OB_PROP_TIMER_RESET_SIGNAL_BOOL, true);
|
device_->setBoolProperty(OB_PROP_TIMER_RESET_TRIGGER_OUT_ENABLE_BOOL, true);
|
||||||
response->success = true;
|
response->success = true;
|
||||||
} catch (const ob::Error& e) {
|
} catch (const ob::Error& e) {
|
||||||
response->message = e.getMessage();
|
response->message = e.getMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user