spencer-project / spencer_people_tracking

Multi-modal ROS-based people detection and tracking framework for mobile robots developed within the context of the EU FP7 project SPENCER.
http://www.spencer.eu/
660 stars 327 forks source link

Fix crash on startup of upper_body_detector #31

Closed kotaweav closed 7 years ago

kotaweav commented 7 years ago

If the upper_body_detector is initialized before the rgbd sensor and the depth image is received before the rgb image (as is the case with a kinect v1 using openni1 driver), color_image is an empty smart pointer and thus trying to access a member causes a segfault.