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

Ubuntu transition #76

Merged
merged 3 commits into from Mar 30, 2022
Merged

Ubuntu transition #76

merged 3 commits into from Mar 30, 2022

Conversation

Copy link
Member

@jrobble jrobble left a comment

Choose a reason for hiding this comment

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

Reviewed 30 of 30 files at r1, 5 of 5 files at r2, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @brosenberg42)


cpp/motion/SubsenseMotionDetection/StreamingMotionDetection_Subsense.cpp, line 60 at r1 (raw file):

              config_.n_samples_for_moving_avgs) {
    if (config_.verbose > 0) {
        motion_logger_->setLevel(log4cxx::Level::getDebug());

In general, it seems like you're trying to remove how verbose can be used to set to the log level. Did you keep this one because it's streaming?


cpp/motion/SubsenseMotionDetection/SubSense/bgfg_segm.cpp, line 4 at r1 (raw file):

// minimalistic foreground-background segmentation sample, based off OpenCV's bgfg_segm sample

/*

Did you leave this here for reference? If so, let's leave a comment stating that. Without a comment explaining what it is, this just looks like dead code.


cpp/motion/SubsenseMotionDetection/SubsenseUtils.cpp, line 41 at r1 (raw file):

using DetectionComponentUtils::GetProperty;

SubsenseConfig::SubsenseConfig(const std::map<std::string, std::string> &props)

Please remove mpfSubsenseMotionDetection.ini and the parent dir openmpf-contrib-components/cpp/motion/SubsenseMotionDetection/plugin-files/config.

Copy link
Member Author

@brosenberg42 brosenberg42 left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @jrobble)


cpp/motion/SubsenseMotionDetection/StreamingMotionDetection_Subsense.cpp, line 60 at r1 (raw file):

Previously, jrobble (Jeff Robble) wrote…

In general, it seems like you're trying to remove how verbose can be used to set to the log level. Did you keep this one because it's streaming?

Yes. The streaming component executor does not handle the LOG_LEVEL environment variable.


cpp/motion/SubsenseMotionDetection/SubSense/bgfg_segm.cpp, line 4 at r1 (raw file):

Previously, jrobble (Jeff Robble) wrote…

Did you leave this here for reference? If so, let's leave a comment stating that. Without a comment explaining what it is, this just looks like dead code.

Previously, this was not compiling


cpp/motion/SubsenseMotionDetection/SubsenseUtils.cpp, line 41 at r1 (raw file):

Previously, jrobble (Jeff Robble) wrote…

Please remove mpfSubsenseMotionDetection.ini and the parent dir openmpf-contrib-components/cpp/motion/SubsenseMotionDetection/plugin-files/config.

Done.

Copy link
Member

@jrobble jrobble left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @brosenberg42)

@brosenberg42 brosenberg42 merged commit 057eff4 into develop Mar 30, 2022
@brosenberg42 brosenberg42 deleted the feature/ubuntu branch March 30, 2022 18:20
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

2 participants