Re: Error launching Find Object

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Error-launching-Find-Object-tp7098p7145.html

Hi,

I tried this example: http://official-rtab-map-forum.206.s1.nabble.com/Detected-Object-Location-Mark-on-RTABMAP-tp4571p4598.html

on the latest rtabmap code and it has a bug (introduced recently). I fixed what caused the error in this commit.

I've found another bug with the find-object's ini file not compatible with default OpenCV version on Ubuntu >=18.04. I fixed the crash in this commit.

This should work as expected:
$ roslaunch rtabmap_ros demo_find_object.launch save_objects:=true
$ rosbag play --clock demo_find_object.bag
Note that because SURF cannot be used by default, we are falling back on KAZE, which parameters have not been tuned for this example, so only 3 books can be detected.

If you cannot see any markers detected, check in the console if a node crashed. The commits above should fix the problems though.

cheers,
Mathieu