Skip to content

Conversation

hexbabe
Copy link
Collaborator

@hexbabe hexbabe commented Feb 27, 2025

I think it is better design to add an attribute to configure the pipeline for PCD rather than dynamically reconfiguring when a user calls get_point_cloud to do so.

@hexbabe hexbabe changed the title Add point cloud attribute Add non-breaking point_cloud_enabled attribute Feb 27, 2025
@hexbabe hexbabe changed the title Add non-breaking point_cloud_enabled attribute [RSDK-10114] - Add non-breaking point_cloud_enabled attribute Feb 27, 2025

# Use the worker manager to properly restart the worker
# This avoids race conditions with the worker's pipeline
self.worker_manager.restart_atomic_bool.set(True)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i hate this

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah just saw this change

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this thing actually doing anything in the pointcloud worker? or is it just polling whether the oak-d had a pointcloud invoked?

Copy link
Contributor

@randhid randhid Feb 27, 2025

Choose a reason for hiding this comment

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

Seems like the latter - removing this is a good design choice.

@hexbabe hexbabe requested review from randhid and seanavery February 27, 2025 21:40
Copy link
Contributor

@randhid randhid left a comment

Choose a reason for hiding this comment

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

Neat!

@hexbabe hexbabe merged commit b289a57 into main Feb 28, 2025
1 check 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