intel / ros_object_analytics

Apache License 2.0
182 stars 57 forks source link

Assertation failed #43

Open ahasenfr opened 6 years ago

ahasenfr commented 6 years ago

I had run the command

roslaunch object_analytics_launch analytics_movidius_ncs.launch

and it failed with the following message:

[FATAL] [1526476683.115458244]: ASSERTION FAILED
    file = /home/aha/catkin_ws/src/ros_object_analytics/object_analytics_nodelet/src/tracker/tracking_manager.cpp
    line = 226
    cond = droi.y_offset + droi.height <= rows - kSamplerInputRadius

[object_analytics/ObjectAnalyticsMgr-1] process has died [pid 6527, exit code -5, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=ObjectAnalyticsMgr __log:=/home/aha/.ros/log/af2dba60-586b-11e8-9cb7-0028f83be02a/object_analytics-ObjectAnalyticsMgr-1.log].
log file: /home/aha/.ros/log/af2dba60-586b-11e8-9cb7-0028f83be02a/object_analytics-ObjectAnalyticsMgr-1*.log

At the given location I couldn't find the log-file.

I'm using a SR300 since the camera is also supported by the RealSense SDK 2.0, hope this isn't the root of the cause.

ahasenfr commented 6 years ago

Anything new? :/

ahasenfr commented 6 years ago

Nothing?

sharronliu commented 6 years ago

The assertion is for debugging facilitation. It tells the ROI passed from detection is unexpected by an OpenCV tracker.

In a release build the assertion will be disabled and adjustment will be triggered. To enable release build pass "-DCMAKE_BUILD_TYPE=Release" (supposed to be default) to the catkin command.