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

Fixed crashes #30

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Fixed crashes #30

merged 3 commits into from
Feb 8, 2024

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Feb 6, 2024

We were using methods like setValue, setText or updating the custom widget in the callback. This is dangerous in Qt, We should use signal-slot connection

FYI @caguero

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde self-assigned this Feb 6, 2024
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
src/rqt_gauges/speedometer_gauge.py Outdated Show resolved Hide resolved
src/rqt_gauges/speedometer_gauge.py Outdated Show resolved Hide resolved
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde requested a review from caguero February 7, 2024 20:32
@ahcorde ahcorde merged commit f697c5c into main Feb 8, 2024
2 checks passed
@ahcorde ahcorde deleted the ahcorde/fix_crash branch February 8, 2024 20:50
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