(core): ExDetectCamMotion not working due to services not existing in the Factory
Summary
Probably a mistake due to the refactoring to sight 21.0, ExDetectCamMotion
doesn't work due to services that are not present in the factory.
Steps to reproduce
Launch ExDetectCamMotion
.
Dev environment
- OS: (Linux, Windows)
Relevant logs and/or screenshots
Assertion 'iter != m_srvImplTosrvInfo.end()' failed: The service called 'sight::module::ui::base::editor::SStatus' does not exist in the Factory
And
Assertion 'iter != m_srvImplTosrvInfo.end()' failed: The service called 'sight::module::io::video::SOpticalFlow' does not exist in the Factory
Possible fixes
in plugin.xml in examples/filter/ExDetectCamMotion/rc/
:
-
The service
SStatus
is notbuttype="sight::module::ui::base::editor::SStatus"
type="sight::module::ui::qt::SStatus"
-
The service
SOpticalFlow
: replacewithtype="sight::module::io::video::SOpticalFlow"
type="sight::module::filter::vision::SOpticalFlow"