Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get PTP status service #246

Open
wants to merge 4 commits into
base: humble
Choose a base branch
from

Conversation

boxanm
Copy link

@boxanm boxanm commented Sep 20, 2024

I added a service call that returns the current status of a camera's Precision Time Protocol (PTP), basically doubling PylonViewer's functionality.
The reported values are:

  • status
  • servo status
  • offset from master

A typical output looks like this:

response:
pylon_ros2_camera_interfaces.srv.GetPtpStatus_Response(ptp_status='Slave', ptp_servo_status='Locked', offset_from_master=429, success=True, message='done')

I tested the service with our Basler a2A1920-51gcPRO, not sure how it behaves with other models.
I can also add the values as part of the /basler/current_params topic if you think that's a good idea.

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