Skip to content

Conversation

@AviaAv
Copy link
Contributor

@AviaAv AviaAv commented Jun 12, 2025

Tracked on: [LRS-1267]

@AviaAv AviaAv requested a review from Nir-Az June 12, 2025 09:19
recorder.pause()

stop_sensor(depth_sensor)
stop_sensor(color_sensor)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Who is closing now?
The test will end with the resource open?
This hides an SDK BUG you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just to use the existing function to stop and close each sensor

I'm not sure this is a bug, it depends on how we expect to use the recorder, when we destroy the recorder we call rs2_delete_device, IMO it's okay

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh I get it now, missed that it's a function :)

@Nir-Az Nir-Az merged commit bb85b78 into IntelRealSense:development Jun 15, 2025
26 checks passed
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