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

camera_calibration: Make sure 'calibrate' button works even if not receiving images anymore #437

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 23, 2019

Mouse events are currently only being checked and the buttons being enabled/disabled when the display gets redrawn on received images.
This change allows the calibration to be saved even when there are no more images in the queue, e.g. when a bag playback has finished.

Mouse events were only being checked and the buttons enabled/disabled
when the display got redrawn on received images.
This allows the calibration to be saved even when there are no more
images in the queue, e.g. when a bag playback has finished.
@valgur valgur force-pushed the enable-calibration-with-empty-queue branch from d8e6be7 to 174cf5a Compare July 23, 2019 17:05
@SteveMacenski
Copy link
Member

Sounds good, I'm going to need to test this to verify. I'm curious though, what's the button you're trying to mess with after its done?

@valgur
Copy link
Contributor Author

valgur commented Jul 25, 2019

what's the button you're trying to mess with after its done?

The "calibrate" and "save" ones. The "save" button only becomes enabled after calibration is complete, but does not currently do so if the image queue is empty.

Copy link
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

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

@JWhitleyAStuff i approve. You?

Copy link
Collaborator

@JWhitleyWork JWhitleyWork left a comment

Choose a reason for hiding this comment

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

LGTM

@JWhitleyWork JWhitleyWork merged commit 3ee6e04 into ros-perception:melodic Jul 25, 2019
@valgur valgur deleted the enable-calibration-with-empty-queue branch July 26, 2019 07:39
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.

None yet

3 participants