Skip to content

Conversation

@mattalvarado
Copy link
Collaborator

Add a PTP utility to print PTP status information out to the user for PTP debugging

{
const auto now = std::chrono::system_clock::now();

std::cout << "Approximate time offset between camera and system (ns): " <<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would need to clarify, but I think this might be more approprirate to call something like "acquired image header to current time offset". I think the real offset between system clocks should be much smaller than what I'm seeing from this calc (~100ns or less) and are represented more accurately by the PTP GM report (Grandmaster offset parameter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants