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

Health Check? #2986

Closed
ghost opened this issue Jan 31, 2024 · 5 comments
Closed

Health Check? #2986

ghost opened this issue Jan 31, 2024 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Jan 31, 2024

I have a question about realsense. Is the realsense has a health check topic or something?

I think that we should check the frame delayed or something else...
As soon as can repeat ASAP plz! Have a great day!

@MartyG-RealSense
Copy link
Collaborator

Hi @taeyeonggim The RealSense ROS wrapper publishes a /diagnostics topic. The /diagnostics topic includes information regarding the device temperatures and actual frequency of the enabled streams.

@ghost
Copy link
Author

ghost commented Jan 31, 2024

@MartyG-RealSense
First of all, thanks for the answer, is it possible to get that information using the pyrealsense2 library, and if so, do you have any example code?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jan 31, 2024

There is not an all-in-one equivalent to the /diagnostics topic in pyrealsense2 but you can retrieve the information.

IntelRealSense/librealsense#866 discusses retrieving the ASIC and Projector temperatures with Python code.

You can retrieve the frames per second (FPS) with the camera metadata parameter ACTUAL_FPS. Or you could attempt to calculate the number of dropped frames. IntelRealSense/librealsense#6202 should be a helpful Python reference for both of these methods.

@ghost
Copy link
Author

ghost commented Jan 31, 2024

Thank you for your quick response!!! I was able to resolve the issue thanks to you! Have a great day! @MartyG-RealSense
Please close the issue if you saw this comment!
개추

@MartyG-RealSense
Copy link
Collaborator

You are very welcome. I'm pleased that I could help. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant