TB3 Intel ROS Object Analytics

From wikidb
Revision as of 11:12, 11 February 2019 by Edc (Talk | contribs)

Jump to: navigation, search

Status

Feb 2019 Following summer 2018 notes

Reference

Dependencies

Compiling dependecies - Passed

  • roscpp, nodelet, and ros-kinetic-opencv3 found with "aptitude search roscpp | grep ^i"
  • libpcl and libpcl-dev found but not the -all with aptitude search
  • std_msgs, sensor_msgs, geometry_msgs, dynamic_reconfigure, pcl_conversions, and cv_bridge found with "find /opt -name std_msgs;

Other Ros packages - Passed

OpenCV - Passed

 $ cat /opt/ros/kinetic/share/opencv3/package.xml | grep version
     <version>3.3.1</version>

Build and Test

 $ cd ~/catkin_ws/src/

 $ git clone https://github.com/intel/ros_object_analytics

 $ cd ..

 $ catkin_make

 $ catkin_make run_tests

There is one test failure. See Intel ROS Object Analytics Test Log. This error disappeared when I did the following:

 $ cd /opt/ros/kinetic/lib/python2.7/dist-package
 
 $ ll cv2*
     -r--r--r-- 1 root root 4774832 Mar 15 13:25 cv2_rename.so
     -r--r--r-- 1 root root 4774832 Jun 21 21:19 cv2.so

 $ sudo cp cv2.so cv2_rename.so
 
 $ sudo rm cv2.so 

Not yet done because the cv2.so with python3 error.

The above removed this test failure. See Intel ROS Object Analytics Test Log Fix 2.

 $ catkin_make install

Extra Running Dependencies

Failed

 $ roslaunch realsense_ros_camera rs_rgbd.launch
     [rs_rgbd.launch] is neither a launch file in package [realsense_ros_camera] nor is [realsense_ros_camera] a launch file name
     The traceback for the exception was written to the log file

Error: realsense_ros_camera not found. It should be in realsense_samples_ros. See similar issue in TB3_ROS_Moving_Object#Launch_1

Command to Launch object_analytics

TBD

The following run without error. They need the RealSense run dependency to test.


  • launch with OpenCL caffe as detection backend
 $ roslaunch object_analytics_launch analytics_opencl_caffe.launch
  • launch with Movidius NCS as detection backend
 $ roslaunch object_analytics_launch analytics_movidius_ncs.launch