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

Check sensor connection thread validity before joining #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tombrodie
Copy link

@tombrodie tombrodie commented Dec 11, 2024

Related Issues & PRs

#410

Summary of Changes

Perform a check for a nullptr on unique pointer type before usage, that otherwise has the capacity to be null when not initialised due to the sensor not being powered on start-up.

Validation

Tested on-site

@Samahu Samahu self-requested a review December 11, 2024 18:05
Copy link
Contributor

@Samahu Samahu left a comment

Choose a reason for hiding this comment

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

This makes sense, it is weird that this problem was never triggered during my testing.

I think we should increment the version number in package.xml to 0.13.3 for tracking and optionally add the following statement to the CHANGELOG.rst file:

[BUGFIX] Segmentation fault if sensor is unpowered on start-up

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