Ask Your Question

MOH's profile - activity

2018-01-31 06:21:52 -0500 received badge  Notable Question (source)
2017-06-29 07:22:07 -0500 received badge  Popular Question (source)
2017-06-13 17:02:11 -0500 received badge  Famous Question (source)
2017-02-11 14:42:31 -0500 received badge  Famous Question (source)
2016-06-29 10:43:09 -0500 received badge  Famous Question (source)
2016-06-29 10:43:09 -0500 received badge  Popular Question (source)
2016-06-29 10:43:09 -0500 received badge  Notable Question (source)
2016-06-15 14:47:20 -0500 received badge  Famous Question (source)
2016-04-27 17:47:08 -0500 received badge  Notable Question (source)
2016-04-27 12:50:18 -0500 received badge  Popular Question (source)
2016-04-27 12:25:47 -0500 received badge  Student (source)
2016-04-22 07:51:55 -0500 received badge  Supporter (source)
2016-04-19 10:05:24 -0500 asked a question camera calibration error

i am trying to do camera calibration

running this node

rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/usb_cam/image_raw camera:=/usb_cam

but then I have obtained this error

Traceback (most recent call last):

File "/opt/ros/indigo/lib/camera_calibration/cameracalibrator.py", line 47, in <module>

    import cv2

ImportError: libopencv_core.so.3.1: cannot open shared object file: No such file or directory
2016-04-14 06:39:38 -0500 received badge  Notable Question (source)
2016-04-12 10:29:39 -0500 received badge  Popular Question (source)
2016-04-12 06:20:05 -0500 asked a question trying to do surf detection

i am trying to implement surf detection with ros and opencv but when i try to create the package it just shows me

[100%] Building CXX object project/CMakeFiles/Feature_Detector.dir/src/Feature_Detector.cpp.o

/home/maurice/catkin_ws/src/project/src/Feature_Detector.cpp:5:42: fatal error: opencv2/nonfree/features2d.hpp: No such file or directory

 #include <opencv2/nonfree/features2d.hpp>
                                          ^
compilation terminated.

make[2]: *** [project/CMakeFiles/Feature_Detector.dir/src/Feature_Detector.cpp.o] Error 1

make[1]: *** [project/CMakeFiles/Feature_Detector.dir/all] Error 2

make: *** [all] Error 2

Invoking "make -j4 -l4" failed

i have inserted the package in CMakeLists.txt

find_package(catkin REQUIRED COMPONENTS
  cv_bridge
  image_transport
  roscpp
  sensor_msgs
  std_msgs
  OpenCV 
)

and then i have also added the dependencies in the package.xml

<\build_depend>OpenCV<\build_depend>
<\run_depend>opencv<\run_depend>
2016-04-12 05:19:24 -0500 asked a question how to install ros-indigo-usb-cam

i am trying to install ros-indigo-usb-cam and after i typed in the command

sudo apt-get install ros-indigo-usb-cam

it gives me this error

Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies. ros-indigo-usb-cam : Depends: v4l-utils but it is not installable E: Unable to correct problems, you have held broken packages. maurice@maurice-GS70:~$ sudo apt-get install ros-indigo-usb-cam Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies. ros-indigo-usb-cam : Depends: v4l-utils but it is not installable E: Unable to correct problems, you have held broken packages.

2016-04-07 07:39:46 -0500 asked a question implementing surf detection on ros with opencv

http://docs.opencv.org/3.1.0/d7/d66/t...

I want to use the code from this tutorial webpage to do surf detection and i was wondering how i would able to use ros to implement surf detection on an image stream obtained from ROS. i was able to use OpenCV to implement the code but i do not know how to do it with ROS.

2016-04-07 07:24:45 -0500 received badge  Enthusiast
2016-03-04 07:28:45 -0500 received badge  Notable Question (source)
2016-03-04 00:50:00 -0500 received badge  Popular Question (source)
2016-03-03 12:03:50 -0500 asked a question ROS tutorial Writing a Simple Service and Client (C++)

on step 1.3 my build has failed and i have did the steps correctly from the previous tutorial this is the message that i get

CMake Error: Error in cmake code at
/home/maurice/catkin_ws/src/beginner_tutorials/CMakeLists.txt:204:
Parse error.  Expected a newline, got identifier with text "add_dependencies".
-- Configuring incomplete, errors occurred!
See also "/home/maurice/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/maurice/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed