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

Update motion_detect_stage.cpp to allow specification of optional region name for output logging. #758

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NicHoza
Copy link

@NicHoza NicHoza commented Jan 5, 2025

Tested and confirmed that it is backwards compatible with json config that does not have region_name specified.

This change allows multiple motion_detect post-processing stages to be differentiated from one another in their "motion detected" and "motion stopped" log messages.

@naushir
Copy link
Collaborator

naushir commented Jan 6, 2025

The change seems reasonable and I am happy to merge this. Would you be able to update the commit message to something like this before I do so:

motion-detect: Add region name parameter

This change allows multiple motion_detect post-processing stages to be
differentiated from one another in their "motion detected" and "motion stopped"
log messages.

Signed-off-by: Your Name <[email protected]>

@NicHoza
Copy link
Author

NicHoza commented Jan 6, 2025

@naushir I got a style error on the PR build, which I fixed in a second commit. Are you able to "squash and merge" and change the commit title/message to what you suggested?

@naushir
Copy link
Collaborator

naushir commented Jan 7, 2025

Sure, but can you provide your name/email for the sign-off tag?

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