-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
AnalyzeView: Fix GeoTagWorker Threading #11813
AnalyzeView: Fix GeoTagWorker Threading #11813
Conversation
e351524
to
056dbac
Compare
e8955cc
to
c4e309f
Compare
c4e309f
to
8ba6129
Compare
9fc1b70
to
ea6d6db
Compare
|
||
_worker->moveToThread(_workerThread); | ||
|
||
(void) connect(_worker, &GeoTagWorker::progressChanged, this, &GeoTagController::_workerProgressChanged); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there something new going on with connect which required the (void) now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a pattern carried over from my embedded work. I like to denote that I am intentionally ignoring return values rather than being unaware if it has one or not, helps with collaborating so others know that too
@bkueng do you have any sample logs/pics I can use for the unit test? |
Not at hand. But if you have a PX4 SITL setup, there's a gazebo classic plugin here: https://github.com/PX4/PX4-SITL_gazebo-classic/blob/main/src/gazebo_camera_manager_plugin.cpp. It's used by the cam_plane model. I never used it myself though. |
ea6d6db
to
5fd7bcf
Compare
5fd7bcf
to
22d007a
Compare
Remove QThread inheritance and fix QObject parenting
Fixes #11858
Closes #8488 by using timestamps
Also fixes a couple potential logic issues in corner cases
Pending a fix in ExifParser from #11906 first
I still need one really good log source for testing