Skip to content
Snippets Groups Projects
Commit aa100f5e authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

warning adding two captures of the same sensor in a frame

parent 795c3c5a
No related branches found
No related tags found
1 merge request!422Resolve "Bug in ProcessorMotion / TimeStamp"
Pipeline #6923 passed
......@@ -165,6 +165,7 @@ FrameBasePtr FrameBase::getNextFrame() const
CaptureBasePtr FrameBase::addCapture(CaptureBasePtr _capt_ptr)
{
WOLF_WARN_COND(getCaptureOf(_capt_ptr->getSensor()) != nullptr, "FrameBase::addCapture adding new capture ", _capt_ptr->id(), " in a frame with another capture of the same sensor: ", getCaptureOf(_capt_ptr->getSensor())->id());
capture_list_.push_back(_capt_ptr);
return _capt_ptr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment