Difference between revisions of "TB3 Intel ROS Object Analytics"
(→Extra Running Dependencies) |
(→Command to Launch object_analytics) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 53: | Line 53: | ||
== Extra Running Dependencies == | == Extra Running Dependencies == | ||
− | ' | + | <b style="color: red"> Stop </b> don't try to enable this. |
$ roslaunch realsense_ros_camera rs_rgbd.launch | $ roslaunch realsense_ros_camera rs_rgbd.launch | ||
Line 62: | Line 62: | ||
Error: realsense_ros_camera not found. It should be in realsense_samples_ros. See similar issue in [[TB3_ROS_Moving_Object#Launch_1]] | Error: realsense_ros_camera not found. It should be in realsense_samples_ros. See similar issue in [[TB3_ROS_Moving_Object#Launch_1]] | ||
− | + | [https://github.com/IntelRealSense/realsense_samples_ros/tree/kinetic-devel/realsense_ros_camera realsense_ros_camera] supports ROS node support for R200, LR200, and ZR300 cameras which require librealsense 1 and are not supported in librealsense2. I'm not going down this path because I managed break my dev system by installing incompatible packages. | |
− | + | how about realsense2_camera | |
− | + | == Command to Launch object_analytics == | |
+ | '''Maybe February 2019''': no errors on start up and rqt_graph shows interesting connections but don't know how to test | ||
+ | |||
+ | Install and initial tests done. Looks like they need the next step, ROS OpenCL Caffe, in the [[TB3 Intel ROS Project]] to be run to take care of some dependencies. | ||
* launch with OpenCL caffe as detection backend | * launch with OpenCL caffe as detection backend | ||
+ | * This one errors out. Check if caffe needs to be installed. Above it was optional if Movidius was installed | ||
$ roslaunch object_analytics_launch analytics_opencl_caffe.launch | $ roslaunch object_analytics_launch analytics_opencl_caffe.launch | ||
* launch with Movidius NCS as detection backend | * launch with Movidius NCS as detection backend | ||
+ | * This started ok but I'm guessing an item from the previous section needs to be enabled | ||
$ roslaunch object_analytics_launch analytics_movidius_ncs.launch | $ roslaunch object_analytics_launch analytics_movidius_ncs.launch | ||
− | = DEPRECIATED: Error Midigations = | + | rqt_graph creates something of interest |
+ | |||
+ | = DEPRECIATED: CV2 Error Midigations = | ||
This error disappeared in the summer of 2018 when I did the following. It did not solve the problem in Feb 2019 | This error disappeared in the summer of 2018 when I did the following. It did not solve the problem in Feb 2019 |
Latest revision as of 12:14, 16 February 2019
Contents
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
- object-msgs TR3 Intel ROS Project
- ros_intel_movidius_ncs TR3 Intel ROS Project
OpenCV - Passed
$ cat /opt/ros/kinetic/share/opencv3/package.xml | grep version <version>3.3.1</version>
Build and Test
Status
One Test Failure
Build, Install and Test
$ cd ~/catkin_ws/src/ $ git clone https://github.com/intel/ros_object_analytics $ cd .. $ catkin_make
$ catkin_make run_tests
- TB3 Intel ROS Object Analytics test Log
- There is one test failure. See depreciated section below for cv2/python3 conflict attempt to fix.
$ catkin_make install
Extra Running Dependencies
Stop don't try to enable this.
$ 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
From Summer 2018. Lets see if this still holds Error: realsense_ros_camera not found. It should be in realsense_samples_ros. See similar issue in TB3_ROS_Moving_Object#Launch_1
realsense_ros_camera supports ROS node support for R200, LR200, and ZR300 cameras which require librealsense 1 and are not supported in librealsense2. I'm not going down this path because I managed break my dev system by installing incompatible packages.
how about realsense2_camera
Command to Launch object_analytics
Maybe February 2019: no errors on start up and rqt_graph shows interesting connections but don't know how to test
Install and initial tests done. Looks like they need the next step, ROS OpenCL Caffe, in the TB3 Intel ROS Project to be run to take care of some dependencies.
- launch with OpenCL caffe as detection backend
- This one errors out. Check if caffe needs to be installed. Above it was optional if Movidius was installed
$ roslaunch object_analytics_launch analytics_opencl_caffe.launch
- launch with Movidius NCS as detection backend
- This started ok but I'm guessing an item from the previous section needs to be enabled
$ roslaunch object_analytics_launch analytics_movidius_ncs.launch
rqt_graph creates something of interest
DEPRECIATED: CV2 Error Midigations
This error disappeared in the summer of 2018 when I did the following. It did not solve the problem in Feb 2019
$ cd /opt/ros/kinetic/lib/python2.7/dist-packages $ 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