image_view to opencv

asked 2017-05-22 07:17:57 -0500

hakimROS gravatar image

hello everyone ,

i am using ar drone 2.0 and i want to open the result of the command "rosrun image_view image_view image:=/ardrone/front/image_raw" into opencv window , using python (i followed the tutorial with rosbridge but i didn't understand some points) can someone help me please

edit retag flag offensive close merge delete

Comments

Hi @hakimROS, can you provide the link of the tutorial that you are going through?? And mention the points as well that you are not getting.

Akhilesh gravatar image Akhilesh  ( 2017-05-24 09:59:22 -0500 )edit

this is the link : http://wiki.ros.org/cv_bridge/Tutoria... in the step 4 : i am not sure if we have to add : sensor_msgs,opencv2,cv_bridge,rospy,std_msgs in package.xml file which locate in /opt/ros/indigo/ardrone_autonomy or in another file

hakimROS gravatar image hakimROS  ( 2017-05-24 13:09:15 -0500 )edit

then in the example code : line 3 : roslib.load_manifest('my_package') my_package it means the same package which we have to add : ensor_msgs,opencv2,cv_bridge,rospy,std_msgs ?

hakimROS gravatar image hakimROS  ( 2017-05-24 13:10:42 -0500 )edit

read this http://answers.ros.org/question/115346/what-does-roslibload_manifest-do/ for roslib.load_manifest('my_package')

Akhilesh gravatar image Akhilesh  ( 2017-05-25 01:36:19 -0500 )edit