Skip to content

Commit

Permalink
bugfix in resetting ptp timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Boitumelo Ruf authored and Boitumelo Ruf committed Jan 16, 2024
1 parent 102bd87 commit d745515
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/camera_aravis_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,8 @@ void CameraAravisNodelet::resetPtpClock()
arv_device_get_string_feature_value(p_device_, ptp_status_feature_.c_str());
if (ptp_status_str == std::string("Faulty") ||
ptp_status_str == std::string("Disabled") ||
ptp_status_str == std::string("Initializing"))
ptp_status_str == std::string("Initializing") ||
! arv_device_get_boolean_feature_value(p_device_, ptp_enable_feature_.c_str()));
{
ROS_INFO("Resetting ptp clock (was set to %s)", ptp_status_str.c_str());

Expand Down

0 comments on commit d745515

Please sign in to comment.