Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 97 articles
Browse latest View live

cannot build depth_image_proc

$
0
0
[100%] Building CXX object CMakeFiles/depth_image_proc.dir/src/nodelets/register.cpp.o Linking CXX shared library /Users/chienyuwu/devel_isolated/depth_image_proc/lib/libdepth_image_proc.dylib Undefined symbols for architecture x86_64: "cv::_InputArray::_InputArray(cv::Mat const&)", referenced from: depth_image_proc::PointCloudXyzrgbNodelet::imageCb(boost::shared_ptr> const> const&, boost::shared_ptr> const> const&, boost::shared_ptr> const> const&) in point_cloud_xyzrgb.cpp.o depth_image_proc::PointCloudXyziNodelet::imageCb(boost::shared_ptr> const> const&, boost::shared_ptr> const> const&, boost::shared_ptr> const> const&) in point_cloud_xyzi.cpp.o "cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from: depth_image_proc::PointCloudXyzrgbNodelet::imageCb(boost::shared_ptr> const> const&, boost::shared_ptr> const> const&, boost::shared_ptr> const> const&) in point_cloud_xyzrgb.cpp.o depth_image_proc::PointCloudXyziNodelet::imageCb(boost::shared_ptr> const> const&, boost::shared_ptr> const> const&, boost::shared_ptr> const> const&) in point_cloud_xyzi.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/chienyuwu/devel_isolated/depth_image_proc/lib/libdepth_image_proc.dylib] Error 1 make[1]: *** [CMakeFiles/depth_image_proc.dir/all] Error 2 make: *** [all] Error 2

assimp error while installing ROS on OS X 10.8

$
0
0
While trying to install ROS on OS X 10.8, with XCode 5.0.2, the package geometric_shapes is unable to build. It give the following error. ==> Processing catkin package: 'geometric_shapes' ==> Building with env: '/Users/Siva/ros_catkin_ws/install_isolated/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/Users/Siva/ros_catkin_ws/build_isolated/geometric_shapes' ==> make -j4 -l4 in '/Users/Siva/ros_catkin_ws/build_isolated/geometric_shapes' [ 20%] Building CXX object CMakeFiles/geometric_shapes.dir/src/mesh_operations.cpp.o /Users/Siva/ros_catkin_ws/src/geometric_shapes/src/mesh_operations.cpp:54:10: fatal error: 'assimp/aiScene.h' file not found #include ^ 1 error generated. make[2]: *** [CMakeFiles/geometric_shapes.dir/src/mesh_operations.cpp.o] Error 1 make[1]: *** [CMakeFiles/geometric_shapes.dir/all] Error 2 make: *** [all] Error 2<== Failed to process package 'geometric_shapes': Command '/Users/Siva/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2 I have installed assimp in my machine through brew install assimp Output of `brew info assimp` assimp: stable 3.0.1270, HEAD http://assimp.sourceforge.net/ /usr/local/Cellar/assimp/3.0.1270 (52 files, 8.0M) * Built from source From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/assimp.rb ==> Dependencies Build: cmake ✔ Required: boost ✔ Geometric_shapes version as specified in hydro-desktop-full-wet.rosinstall : local-name: geometric_shapes uri: https://github.com/ros-gbp/geometric_shapes-release/archive/release/hydro/geometric_shapes/0.3.6-0.tar.gz version: geometric_shapes-release-release-hydro-geometric_shapes-0.3.6-0 I am trying to build Hydro on OS X 10.8 with XCode 5.0.2 But even then the error persists. I am not sure on how to proceed, Kindly help.

Error when building ros packages on MAC OS X Yosemite

$
0
0
Hi all, I'm trying to install ROS-indigo on Mac OS X Yosemite but i will be damned soon :) . I created a workspace and following code worked properly. $ rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar > indigo-desktop-full-wet.rosinstall $ wstool init -j8 src indigo-desktop-full-wet.rosinstall but; $ rosdep install --from-paths src --ignore-src --rosdistro indigo -y this code produces an error: executing command [brew install opencv] Warning: opencv-2.4.10.1 already installed, it's just not linked ERROR: the following rosdeps failed to install homebrew: Failed to detect successful installation of [opencv] I skip this error and I tried to build src files by using: ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release The problem is: First 8 packaged built completely but 9. package ( class_loader ) produce error: -- catkin 0.6.11 CMake Error at CMakeLists.txt:6 (find_package): By not providing "Findconsole_bridge.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "console_bridge", but CMake did not find one. Could not find a package configuration file provided by "console_bridge" with any of the following names: console_bridgeConfig.cmake console_bridge-config.cmake Add the installation prefix of "console_bridge" to CMAKE_PREFIX_PATH or set "console_bridge_DIR" to a directory containing one of the above files. If "console_bridge" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/Users/Hakan/ros_catkin_ws/build_isolated/class_loader/CMakeFiles/CMakeOutput.log". <== Failed to process package 'class_loader': Command '/Users/Hakan/ros_catkin_ws/install_isolated/env.sh cmake /Users/Hakan/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/Users/Hakan/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/Users/Hakan/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles' returned non-zero exit status 1 Reproduce this error by running: ==> cd /Users/Hakan/ros_catkin_ws/build_isolated/class_loader && /Users/Hakan/ros_catkin_ws/install_isolated/env.sh cmake /Users/Hakan/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/Users/Hakan/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/Users/Hakan/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles Command failed, exiting. I googling for a long time but i couldn't find any solution. any suggestion ?? Thanks...

Incomplete configuration during ROS Hydro installation on OSX 10.9

$
0
0
Hello everyone, I am an absolute beginner when it comes to ROS or Homebrew or even using the Terminal! Please bear with me here. I've been following this tutorial (wiki.ros.org/hydro/Installation/OSX/Homebrew/Source) to the letter trying to install ROS Hydro to my Mac OSX 10.9. I am stuck at section 2.1.3 where I'm told to run `./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release`. Upon running it, the command fails with this error: -- Configuring incomplete, errors occurred! See also "/Users/jcRebanal/ros_catkin_ws/build_isolated/catkin/CMakeFiles/CMakeOutput.log". <== Failed to process package 'catkin': Command 'cmake /Users/jcRebanal/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/jcRebanal/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/jcRebanal/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1 Reproduce this error by running: ==> cd /Users/jcRebanal/ros_catkin_ws/build_isolated/catkin && cmake /Users/jcRebanal/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/jcRebanal/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/jcRebanal/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release Command failed, exiting. I have no idea how I can continue installation from here, may it have something to do with the command `cmake /...Release` ending with `returned non-zero exit status 1`? Like I said, I'm an absolute beginner here and can't make sense of this or how to proceed. I DID try running `brew doctor` and I was told my `system is ready to brew` with no warnings. The rest of the installation up to this point was relatively smooth and was only met with one other major warning/error. At tutorial section 2.1.2 I'm told to resolve dependencies. I ran `rosdep install --from-paths src --ignore-src --rosdistro hydro -y` and at the end of the command I was asked my `sudo` password. I was met with this error: Could not find any downloads that satisfy the requirement PIL Some externally hosted files were ignored (use --allow-external PIL to allow). No distributions at all found for PIL. Storing debug log for failure in /Users/.../pip.log Error: the following rosdeps failed to install: pip: command [sudo pip install -U PIL] failed Not sure if that's relevant or not but it does provide more detail on my situation. I could not find anyone else having the same problem, I have no idea if this is easily fixable or if this is a hard compatibility issue. Please, if you can provide any insight, I would appreciate it very much. I can provide other details if needed. Thank you!! edit 1: Using both William's and demmein's answers did solve my original PIL install issue. However, I still ended up getting stuck installing the rosdeps, mainly pcl. I dropped trying to install ROS on OSX 10.9 and installed it on Ubuntu and ran than on OSX through VirtualBox. I used a .ova file with ROS Hydro pre-installed and have been able to use it without issue since. Here is the link I used: (nootrix.com/downloads/#RosVM) (I used the 3.7 GB torrent). Thanks again everyone for the help!

OSX indigo opencv linking problem (cv_bridge, image_view)

$
0
0
I'm trying to install indigo from source on a mac recently upgraded to yosemite (10.10). I've had a few issued but managed to build everything up to cv_bridge. cv_bridge has a linking error with opencv: Linking CXX shared library /.../devel_isolated/cv_bridge/lib/python2.7/site-packages/cv_bridge/boost/cv_bridge_boost.so Undefined symbols for architecture x86_64: "cv::Exception::Exception(int, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, std::__1::basic_string, std::__1::allocator> const&, int)", referenced from: NumpyAllocator::allocate(int, int const*, int, int*&, unsigned char*&, unsigned char*&, unsigned long*) in module_opencv2.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/.../devel_isolated/cv_bridge/lib/python2.7/site-packages/cv_bridge/boost/cv_bridge_boost.so] Error 1 make[1]: *** [src/CMakeFiles/cv_bridge_boost.dir/all] Error 2 make: *** [all] Error 2 Based on some older answers, it looked like this was a libc++ vs libstdc++ issue (http://answers.ros.org/question/95056/building-rosconsole-osx-109/), so after adding: SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++") cv_bridge compiled fine, as did everything up to image_view. image_view also had an opencv linking error: Linking CXX executable /.../image_view/lib/image_view/disparity_view Undefined symbols for architecture x86_64: "cv::imwrite(std::__1::basic_string, std::__1::allocator> const&, cv::_InputArray const&, std::__1::vector> const&)", referenced from: ... many more opencv missing symbols ... Making the same change to CMakeLists for image_view, however, causes linking error to ros core libraries: Linking CXX executable /.../image_view/lib/image_view/disparity_view Undefined symbols for architecture x86_64: "ros::init(int&, char**, std::string const&, unsigned int)", referenced from: _main in disparity_view.cpp.o I must be missing something here as it seems other people are having success with indigo on OSX. Also, just to be clear, I have opencv 2.4.5 from homebrew-science. Any help is appreciated. Thanks!

Rviz does not display image on OS X 10.10

$
0
0
I managed to install ROS Indigo accoring to the steps below: http://spin.atomicobject.com/2014/12/23/ros-indigo-osx-yosemite/#comment-521485 But I have met a problem with rviz. I can successfully receive image from topic /camera/rgb/image_color. (xxx images received) but I can't actually see the image, there is nothing but blank on the image window. Same thing happens with camera. I heard that this is a very common problem (or old, I say) in OS X, some say that it is caused by the ogre and others say Qt and Cocoa are responsible for the problem. I can't figure out why this happens and how to fix it. (this is the bag our prof. gave us, and you can have a test with this) http://robotics.shanghaitech.edu.cn/data/cones_hw.bag More info about my rviz:Last login: [ INFO] [1427891349.071004000]: rviz version 1.11.7|[ INFO] [1427891349.071055000]: compiled against OGRE version 1.9.0 (Ghadamon)|[ INFO] [1427891349.263056000]: Stereo is NOT SUPPORTED|[ INFO] [1427891349.263130000]: OpenGl version: 2.1 (GLSL 1.2).

ROS/Hydro installation error: library '-framework Cocoa' is neither a target nor built/installed properly

$
0
0
Hi, I tried to install ROS/Hydro in OS X10.9 with homebrew following with :http://wiki.ros.org/hydro/Installation/OSX/Homebrew/Source When I run `$ rosdep install --from-paths src --ignore-src --rosdistro hydro -y`, I got
 CMake Error at /Users/Baifan/ros_catkin_ws/install_isolated/share/pcl_ros/cmake/pcl_rosConfig.cmake:141 (message):
  Project 'depth_image_proc' tried to find library '-framework Cocoa'.  The
  library is neither a target nor built/installed properly.  Did you compile
  project 'pcl_ros'? Did you find_package() it before the subdirectory
  containing its code is included?
Call Stack (most recent call first):
  /Users/Baifan/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake:75 (find_package)
CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/Baifan/ros_catkin_ws/build_isolated/depth_image_proc/CMakeFiles/CMakeOutput.log".<== Failed to process package 'depth_image_proc': 
  Command '/Users/Baifan/ros_catkin_ws/install_isolated/env.sh cmake /Users/Baifan/ros_catkin_ws/src/image_pipeline/depth_image_proc -DCATKIN_DEVEL_PREFIX=/Users/Baifan/ros_catkin_ws/devel_isolated/depth_image_proc -DCMAKE_INSTALL_PREFIX=/Users/Baifan/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1
1) I installed **pcl-ros**. But I got error
 CMake Error at /usr/local/share/pcl-1.8/PCLConfig.cmake:47 (message):
  simulation is required but glew was not found
, then in **CMakeCache.txt** of **pcl_ros**, I replaced the line ` GLEW_INCLUDE_DIR:PATH=GLEW_INCLUDE_DIR-NOTFOUND` to `GLEW_INCLUDE_DIR:PATH=/usr/local/Cellar/glew/1.11.0/include/GL` and replaced the line `GLEW_GLEW_LIBRARY:STRING=-framework GLEW ` to `GLEW_GLEW_LIBRARY:FILEPATH=/usr/local/Cellar/glew/1.11.0/lib/libGLEW.dylib`. It seems **pcl-ros** installed successfully. 2)I found there is `find_package(PCL)` in **CMakeLists.txt** of **depth_image_proc**. So I don't know how to fix **'-framework Cocoa'** library problem. Can you help me?

osx 10.10.3 jade installation: brew complains about pcl duplicates

$
0
0
Hallo robot fans! I am about to install Jade's full version an my Mac mini, mid 2010, OSX 10.10.3. Port and brew is installed. I followed the instructions at: http://wiki.ros.org/jade/Installation/OSX/Homebrew/Source I stuck at the step: *> rosdep install --from-paths src --ignore-src --rosdistro jade -y* ... You are using pip version 6.1.1, however version 7.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error: Formulae found in multiple taps: * homebrew/science/pcl * ros/deps/pcl Please use the fully-qualified name e.g. homebrew/science/pcl to refer the formula. Error: No available formula for pcl_msgs Please tap it and then try again: brew tap ros/jade executing command [brew install pcl --HEAD] Error: Formulae found in multiple taps: * homebrew/science/pcl * ros/deps/pcl Please use the fully-qualified name e.g. homebrew/science/pcl to refer the formula. ERROR: the following rosdeps failed to install homebrew: command [brew install pcl --HEAD] failed Then I decided to choose one of these duplcate pcl entries manually: *> brew install ros/deps/pcl --HEAD* This took a while ... Then I tried to resume installation: *> rosdep install --from-paths src --ignore-src --rosdistro jade -y* ERROR: Rosdep experienced an internal error. Please go to the rosdep page [1] and file a bug report with the message below. [1] : http://www.ros.org/wiki/rosdep rosdep version: 0.11.2 Bad installer [homebrew]: Error while parsing brew info for 'pcl' * Output of `brew info pcl --json=v1`: * Error while parsing: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/rosdep2/platforms/osx.py", line 184, in is_installed pkg_info = json.loads(std_out) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded I don't know what to do next nor where to decide which pcl has to be used. I already deleted the *./src/pcl* entries as described in the troubleshooting section. The next installation steps also stop with several errors. Just a little more info by brew's doctor: *> brew doctor* Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks! Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts: /opt/local/bin/ncurses5-config /opt/local/bin/ncursesw5-config /opt/local/bin/python-config /opt/local/bin/python2.7-config Warning: Your XQuartz (2.7.5) is outdated Please install XQuartz 2.7.7: https://xquartz.macosforge.org Warning: You have MacPorts or Fink installed: /opt/local/bin/port This can cause trouble. You don't have to uninstall them, but you may want to temporarily move them out of the way, e.g. sudo mv /opt/local ~/macports Completely lost, Frank

"fatal error: 'QMetaType' file not found" when building ROS Indigo on OS X 10.10.3

$
0
0
Hi, i did first tests of ROS under Ubuntu and now i want to install ROS Indigo on a MacBook Pro with OS X 10.10.3 according to http://wiki.ros.org/indigo/Installation/OSX/Homebrew/Source. Unfortunately i get an error in the last step ($ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release): fatal error: 'QMetaType' file not found I think i only have to set a variable like $PATH or something, but i don´t know which one (or in which file i have to state the path) (i found a qmetatype.h in /usr/local/Cellar/qt/4.8.7/lib/QtCore.framework/Versions/4/Headers/qmetatype.h) Sorry for my obvious lack of knowledge so any help would be appreciated. Thanks a lot. Here the terminal log of the error: [qt_gui_cpp] ==> '/Users/jS/ros_catkin_ws/build/qt_gui_cpp/build_env.sh /usr/local/bin/cmake /Users/jS/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/Users/jS/ros_catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/include/python2.7' in '/Users/jS/ros_catkin_ws/build/qt_gui_cpp' -- The C compiler identification is AppleClang 6.1.0.6020053 -- The CXX compiler identification is AppleClang 6.1.0.6020053 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CATKIN_DEVEL_PREFIX: /Users/jS/ros_catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Found PythonInterp: /usr/local/bin/python (found version "2.7.10") -- Using PYTHON_EXECUTABLE: /usr/local/bin/python -- Using default Python package layout -- Found PY_em: /usr/local/lib/python2.7/site-packages/em.pyc -- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /Users/jS/ros_catkin_ws/build/qt_gui_cpp/test_results -- Found gtest: gtests will be built -- Using Python nosetests: /usr/local/bin/nosetests-2.7 -- catkin 0.6.14 -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PythonLibs: /usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2.7") -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for QT_MAC_USE_COCOA -- Looking for QT_MAC_USE_COCOA - found -- Found Qt4: /usr/local/bin/qmake (found version "4.8.7") -- libshiboken built for Release Using SHIBOKEN_LIBRARY: /usr/local/Cellar/shiboken/1.2.2/lib/libshiboken-python2.7.dylib -- Using default python: -python2.7 Using PYSIDE_LIBRARY: /usr/local/Cellar/pyside/1.2.2/lib/libpyside-python2.7.dylib -- Shiboken binding generator available. CMake Warning at src/qt_gui_cpp_shiboken/CMakeLists.txt:46 (message): Shiboken version 1.2.2 would segfault when trying to process qt_gui_cpp (see https://bugreports.qt-project.org/browse/PYSIDE-218). Therefore shiboken bindings are being skipped. -- Found PythonInterp: /usr/local/bin/python (found suitable version "2.7.10", minimum required is "2.7") -- SIP binding generator available. -- Python binding generators: sip -- Configuring done CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: qt_gui_cpp This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: /Users/jS/ros_catkin_ws/build/qt_gui_cpp [qt_gui_cpp] <== '/Users/jS/ros_catkin_ws/build/qt_gui_cpp/build_env.sh /usr/local/bin/cmake /Users/jS/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/Users/jS/ros_catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/include/python2.7' finished with return code '0' [qt_gui_cpp] ==> '/Users/jS/ros_catkin_ws/build/qt_gui_cpp/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' in '/Users/jS/ros_catkin_ws/build/qt_gui_cpp' [ 7%] Generating __/__/include/qt_gui_cpp/moc_plugin_bridge.cxx Scanning dependencies of target qt_gui_cpp [ 15%] [ 23%] [ 30%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/composite_plugin_provider.cpp.o Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/generic_proxy.cpp.o Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_bridge.cpp.o [ 38%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_context.cpp.o [ 46%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_descriptor.cpp.o [ 53%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_provider.cpp.o [ 61%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/recursive_plugin_provider.cpp.o [ 69%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/settings.cpp.o [ 76%] Building CXX object src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/__/__/include/qt_gui_cpp/moc_plugin_bridge.cxx.o Linking CXX shared library /Users/jS/ros_catkin_ws/devel/lib/libqt_gui_cpp.dylib [ 76%] Built target qt_gui_cpp Scanning dependencies of target libqt_gui_cpp_sip [ 84%] Running SIP generator for qt_gui_cpp_sip Python bindings... sip: Deprecation warning: qt_gui_cpp.sip:1: %Module version number should be specified using the 'version' argument [ 92%] Compiling generated code for qt_gui_cpp_sip Python bindings... In file included from siplibqt_gui_cpp_sipcmodule.cpp:7: ./sipAPIlibqt_gui_cpp_sip.h:13:10: fatal error: 'QMetaType' file not found #include ^ In file included from siplibqt_gui_cpp_sipQList0101qt_gui_cppPluginDescriptor.cpp:7: ./sipAPIlibqt_gui_cpp_sip.h:13:10: fatal error: 'QMetaType' file not found #include ^ In file included from siplibqt_gui_cpp_sipQList0101qt_gui_cppPluginProvider.cpp:7: ./sipAPIlibqt_gui_cpp_sip.h:13:10: fatal error: 'QMetaType' file not found #include ^ 1 error generated. make[3]: *** [siplibqt_gui_cpp_sipQList0101qt_gui_cppPluginDescriptor.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 1 error generated. 1 error generated. make[3]: *** [siplibqt_gui_cpp_sipQList0101qt_gui_cppPluginProvider.o] Error 1 make[3]: *** [siplibqt_gui_cpp_sipcmodule.o] Error 1 make[2]: *** [/Users/jS/ros_catkin_ws/devel/lib/python2.7/site-packages/qt_gui_cpp/libqt_gui_cpp_sip.dylib] Error 2 make[1]: *** [src/qt_gui_cpp_sip/CMakeFiles/libqt_gui_cpp_sip.dir/all] Error 2 make: *** [all] Error 2 [qt_gui_cpp] <== '/Users/jS/ros_catkin_ws/build/qt_gui_cpp/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2' edit: here what i get with $ brew info qt sip qt: stable 4.8.7 (bottled), HEAD Cross-platform application and UI framework https://www.qt.io/ /usr/local/Cellar/qt/4.8.7 (2794 files, 122M) * Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/qt.rb ==> Dependencies Optional: d-bus ✘, mysql ✘, postgresql ✘ ==> Options --universal Build a universal binary --with-d-bus Build with d-bus support --with-developer Build and link with developer options --with-docs Build documentation --with-mysql Build with mysql support --with-postgresql Build with postgresql support --with-qt3support Build with deprecated Qt3Support module support --HEAD Install HEAD version ==> Caveats We agreed to the Qt opensource license for you. If this is unacceptable you should uninstall. .app bundles were installed. Run `brew linkapps qt` to symlink these to /Applications. sip: stable 4.16.5 (bottled), HEAD Tool to create Python bindings for C and C++ libraries http://www.riverbankcomputing.co.uk/software/sip /usr/local/Cellar/sip/4.16.5 (10 files, 864K) * Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/sip.rb ==> Options --with-python3 Build with python3 support --without-python Build without python support --HEAD Install HEAD version ==> Caveats The sip-dir for Python is /usr/local/share/sip.

Velodyne driver installation

$
0
0
I am trying to install the drivers for Velodyne 32E. I downloaded the folder from https://github.com/ros-drivers/velodyne and then I am typing cmake ../ to build it. I am getting an error: --from catkin.environment_cache import generate_environment_script --ImportError: No module named catkin.environment_cache I have installed catkin_pkg using pip. What should I do?

Failed to process package 'compressed_depth_image_transport'

$
0
0
Hi I'm trying to install ROS Indigo on OS X Yosemite, and executing $ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release I have come across the following error. How can I resolve it? ==> Processing catkin package: 'compressed_depth_image_transport' ==> Building with env: '/Users/Zoe/ros_catkin_ws/install_isolated/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport' ==> make -j4 -l4 in '/Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport' [ 25%] Built target compressed_depth_image_transport_gencfg Linking CXX shared library /Users/Zoe/ros_catkin_ws/devel_isolated/compressed_depth_image_transport/lib/libcompressed_depth_image_transport.dylib ld: library not found for -ltbb clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/compressed_depth_image_transport/lib/libcompressed_depth_image_transport.dylib] Error 1 make[1]: *** [CMakeFiles/compressed_depth_image_transport.dir/all] Error 2 make: *** [all] Error 2<== Failed to process package 'compressed_depth_image_transport': Command '['/Users/Zoe/ros_catkin_ws/install_isolated/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2 Reproduce this error by running: ==> cd /Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport && /Users/Zoe/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

How to Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files

$
0
0
When I entered this command: cd /Users/mona/ros_catkin_ws/build_isolated/pcl_ros && /Users/mona/ros_catkin_ws/install_isolated/env.sh cmake /Users/mona/ros_catkin_ws/src/perception_pcl/pcl_ros -DCATKIN_DEVEL_PREFIX=/Users/mona/ros_catkin_ws/devel_isolated/pcl_ros -DCMAKE_INSTALL_PREFIX=/Users/mona/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' I get the following error: -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread CMake Error at CMakeLists.txt:7 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one. Could not find a package configuration file provided by "Eigen3" with any of the following names: Eigen3Config.cmake eigen3-config.cmake Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/Users/mona/ros_catkin_ws/build_isolated/pcl_ros/CMakeFiles/CMakeOutput.log". I tried to follow the guide for installing the eigen but apparently it was unsuccessful. I have these in `/usr/local/eigen` : Monas-MacBook-Pro:~ mona$ cd /usr/local/eigen Monas-MacBook-Pro:eigen mona$ ls CMakeLists.txt build_dir COPYING.BSD cmake COPYING.GPL debug COPYING.LGPL demos COPYING.MINPACK doc COPYING.MPL2 eigen3.pc.in COPYING.README failtest CTestConfig.cmake lapack CTestCustom.cmake.in scripts Eigen signature_of_eigen3_matrix_library INSTALL test bench unsupported blas And I have followed these steps in `INSTALL` file: cd build_dir cmake source_dir make install However when I enter `eigen` it is not recognized. I need to get this fixed for this step of installing ROS on OSX: ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release I am not an OSX guru, so if you are want to help me, it is best suggested to tell me how to set paths or where the files you want me to modify are located. ** I used destination path for eigen3: cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/eigen3 make install and now I have these items after `make install` : Monas-MacBook-Pro:build_dir mona$ ls /usr/local/eigen3/include/eigen3/ Eigen unsupported signature_of_eigen3_matrix_library Monas-MacBook-Pro:build_dir mona$ ls /usr/local/eigen3/include/eigen3/Eigen/ Array Householder QR StdDeque Cholesky IterativeLinearSolvers QtAlignedMalloc StdList CholmodSupport Jacobi SPQRSupport StdVector Core LU SVD SuperLUSupport Dense LeastSquares Sparse UmfPackSupport Eigen MetisSupport SparseCholesky src Eigen2Support OrderingMethods SparseCore Eigenvalues PaStiXSupport SparseLU Geometry PardisoSupport SparseQR Yet I don't know where is the executable for eigen3 and how to set path for cmake. Thanks a bunch, Mona Jalal

Openni and Kinect on Hydro, OSX 10.8

$
0
0
I believe I have a clean install of Hydro on my OS X 10.8. This I did through Hydro tutorial for OSX. I did the Desktop-Full Install through `rosinstall_generator desktop_full --rosdistro hydro --deps --wet-only --tar > hydro-desktop-full-wet.rosinstall` and Hence built the packages. I see that the "openni" stack is missing and I cannot run commands like `roslaunch openni_launch openni.launch` I also installed openni later through `brew install openni` and below is the info of that. openni: stable 1.5.7.10, devel 1.5.8.5, HEAD http://www.openni.org/ /usr/local/Cellar/openni/1.5.7.10 (1614 files, 33M) * Built from source From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/openni.rb ==> Dependencies Build: automake ✔, libtool ✔, doxygen ✔ Required: libusb ✔ ==> Options --universal Build a universal binary --devel install development version 1.5.8.5 --HEAD install HEAD version After installing openni from brew, I built all the packages again. But still the openni stack is missing. Now that openni is installed from brew, I followed the instructions @william has suggested me. I did the following : $ mkdir ~/openni_ws $ cd ~/openni_ws $ source /path/to/hydro/install/setup.bash $ rosinstall_generator openni_launch --deps --exclude RPP --tar > openni-hydro.rosinstall $ wstool init src -j8 openni-hydro.rosinstall When I ran this : `rosdep install --from-paths ./src --ignore-src -y`, I got the following error. openni_camera: No definition of [libopenni-sensor-primesense-dev] for OS [osx] Hence I did the following command : rosdep install --from-paths ./src --ignore-src -y --skip-keys "libopenni-sensor-primesense-dev libopenni-dev" After this I did `catkin_make install` and got an error stream from which I inferred that is is not able to find the libopenni library, which I installed through brew already(as explained in first part). -- checking for module 'libopenni' -- package 'libopenni' not found CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): (Gist to error stream : https://gist.github.com/karthikkovalam/41ab44e53283390646be) I did brew unlink and link as well to make sure the openni that I installed from brew is properly linked. I want to use my kinect through openni stack on ROS. This generally comes by default in Ubuntu. Could someone explain how I can do it on my Machine with OS X 10.8. I am really looking forward to his since the whole of my work depends on Kinect based TurtleBot navigation. **POST EDIT :** After @demmeln suggested the procedure, I get an error that I believe is related to the compiler somehow. After I do `catkin_make install` , I get the following errors : (I am running xcode 5.1 at present and OSX 10.8). I am not clear on how to solve this. Source space: /Users/Siva/openni_ws/src Build space: /Users/Siva/openni_ws/build Devel space: /Users/Siva/openni_ws/devel Install space: /Users/Siva/openni_ws/install #### #### Running command: "make cmake_check_build_system" in "/Users/Siva/openni_ws/build" #### #### #### Running command: "make install -j4 -l4" in "/Users/Siva/openni_ws/build" #### [ 6%] Built target openni_camera_gencfg [ 86%] Built target openni_driver [ 93%] Built target openni_node Linking CXX shared library /Users/Siva/openni_ws/devel/lib/libopenni_nodelet.dylib Undefined symbols for architecture x86_64: "log4cxx::Level::getWarn()", referenced from: openni_camera::DriverNodelet::onInitImpl() in driver.cpp.o "log4cxx::Level::getError()", referenced from: openni_camera::DriverNodelet::onInitImpl() in driver.cpp.o "log4cxx::Level::getFatal()", referenced from: openni_camera::DriverNodelet::onInitImpl() in driver.cpp.o "log4cxx::Logger::getLogger(char const*)", referenced from: openni_camera::DriverNodelet::onInitImpl() in driver.cpp.o "log4cxx::helpers::ObjectPtrBase::~ObjectPtrBase()", referenced from: log4cxx::helpers::ObjectPtrT::~ObjectPtrT() in driver.cpp.o log4cxx::helpers::ObjectPtrT::~ObjectPtrT() in driver.cpp.o "typeinfo for log4cxx::helpers::ObjectPtrBase", referenced from: typeinfo for log4cxx::helpers::ObjectPtrT in driver.cpp.o typeinfo for log4cxx::helpers::ObjectPtrT in driver.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/Siva/openni_ws/devel/lib/libopenni_nodelet.dylib] Error 1 make[1]: *** [openni_camera/CMakeFiles/openni_nodelet.dir/all] Error 2 make: *** [all] Error 2 Invoking "make" failed

[OSX Indigo] No rule to make target `/usr/local/lib/libpangoxft-1.0.dylib

$
0
0
Using @Mike Purvis' handy [install script](https://github.com/mikepurvis/ros-install-osx), I'm stuck at building `image_view`. Anybody has a luck in solving this? I updated `glfw` by `brew reinstall glfw` in trying to mimic [this non-ROS discussion](https://github.com/openglsuperbible/sb6code/issues/17) but no good. OSX 10.10.4 [image_view] ==> '/Users/n130s/indigo_desktop_full_ws/build/image_view/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' in '/Users/n130s/indigo_desktop_full_ws/build/image_view' Scanning dependencies of target disparity_view Scanning dependencies of target extract_images Scanning dependencies of target image_saver [ 6%] Building CXX object CMakeFiles/disparity_view.dir/src/nodes/disparity_view.cpp.o [ 12%] Building CXX object CMakeFiles/extract_images.dir/src/nodes/extract_images.cpp.o [ 18%] Building CXX object CMakeFiles/image_saver.dir/src/nodes/image_saver.cpp.o Scanning dependencies of target image_view Scanning dependencies of target image_view_exe [ 25%] Building CXX object CMakeFiles/image_view_exe.dir/src/nodes/image_view.cpp.o Scanning dependencies of target stereo_view [ 31%] Linking CXX executable /Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/disparity_view [ 37%] Building CXX object CMakeFiles/image_view.dir/src/nodelets/image_nodelet.cpp.o [ 37%] Built target disparity_view [ 43%] Building CXX object CMakeFiles/image_view.dir/src/nodelets/disparity_nodelet.cpp.o Scanning dependencies of target video_recorder make[2]: *** No rule to make target `/usr/local/lib/libpangoxft-1.0.dylib', needed by `/Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/stereo_view'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 50%] Building CXX object CMakeFiles/stereo_view.dir/src/nodes/stereo_view.cpp.o [ 56%] Building CXX object CMakeFiles/video_recorder.dir/src/nodes/video_recorder.cpp.o [ 62%] Linking CXX executable /Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/image_saver [ 62%] Built target image_saver make[2]: *** No rule to make target `/usr/local/lib/libpangoxft-1.0.dylib', needed by `/Users/n130s/indigo_desktop_full_ws/devel/lib/libimage_view.dylib'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 68%] Building CXX object CMakeFiles/image_view.dir/src/nodelets/window_thread.cpp.o [ 75%] Linking CXX executable /Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/extract_images [ 75%] Built target extract_images [ 81%] Linking CXX executable /Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/image_view [ 81%] Built target image_view_exe [ 87%] Linking CXX executable /Users/n130s/indigo_desktop_full_ws/devel/lib/image_view/video_recorder [ 87%] Built target video_recorder make[1]: *** [CMakeFiles/image_view.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/stereo_view.dir/all] Error 2 make: *** [all] Error 2 [image_view] <== '/Users/n130s/indigo_desktop_full_ws/build/image_view/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2' Failed <== image_view [ 25.1 seconds ] Finished <== actionlib [ 15.9 seconds ] Finished <== image_proc [ 16.0 seconds ] [build] There were '1' errors: Failed to build package 'image_view' because the following command: # Command to reproduce: cd /Users/n130s/indigo_desktop_full_ws/build/image_view && /Users/n130s/indigo_desktop_full_ws/build/image_view/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd - # Path to log: cat /Users/n130s/indigo_desktop_full_ws/build/build_logs/image_view.log Exited with return code: 2 [build] Runtime: 3 minutes and 23.1 seconds

osx install binary packages

$
0
0
Hi everybody! I've recently installed ROS Indigo on OS X 10.10.4, exists any way to install packages like in Ubuntu (sudo apt-get install rose-indigo-…) Or may I always download the package and build my workspace?

Mac OS: ROS Build Errors (Indigo)

$
0
0
I'm using this: https://github.com/mikepurvis/ros-install-osx Trying to install Indigo. (I got the same error for Jade - after failing I uninstalled Brew, deleted directories) OS X Yosemite, ver 10.10.5 brew --version : 0.9.5 (git revision d430d; last commit 2015-10-05) pip --version : pip 7.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) Any help highly appreciated. Thanks in advance. [ 25%] Built target pcl_ros_gencfg Scanning dependencies of target pointcloud_to_pcd [ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o [ 28%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image] Error 1 make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 30%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud] Error 1 make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2 [ 31%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image] Error 1 make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2 [ 33%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd] Error 1 make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2 make: *** [all] Error 2 [pcl_ros] <== '/Users/anon/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

roscore bug Errno8

$
0
0
I've got a new installation of ROS Indigo on OSX Yosemite. In a terminal when I enter: roscore I get the error message:> ... > 76, in is_local_address> local_addresses = ['localhost'] + get_local_addresses() File> "/opt/ros/indigo/lib/python2.7/site-packages/rosgraph/network.py",> line 240, in get_local_addresses> local_addrs = [host[4][0] for host in> socket.getaddrinfo(socket.gethostname(),> 0, socket.AF_INET, 0, socket.SOL_TCP)]> gaierror: [Errno 8] nodename nor servname provided, or not known printenv | grep ROS prints out: ROS_ROOT=/opt/ros/indigo/share/ros ROS_PACKAGE_PATH=/opt/ros/indigo/share:/opt/ros/indigo/stacks ROS_MASTER_URI=http://localhost:11311 ROS_HOSTNAME=localhost ROSLISP_PACKAGE_DIRECTORIES= ROS_DISTRO=indigo ROS_IP=0.0.0.0 ROS_ETC_DIR=/opt/ros/indigo/etc/ros I have no /etc/hosts file. ping localhost works. I'm just trying to run ROS master and clients locally on my Mac. Thanks!

Installing rosbridge indigo on OSX

$
0
0
brew install ros-indigo-rosbridge-suite Errors with "no available formulae" Is there a way to bring up rosbridge on OSX (yosemite) ? Thanks!

Rosbridge only one way on my OSX

$
0
0
This probably has the same underlying cause as the problem I posted in http://answers.ros.org/question/221048/roslibjs-dont-get-goal-result-on-client/, but now I have a simpler way to reproduce the problem and that uses no code from me and some extra clues. I'm running OSX Yosemite, ROS Indigo, Rosbridge with ROSlibjs using the Chrome Browser. I can call a service from the browser, and it successfully executes on the server, but I can't get any information back to the browser. The simplest way I can reproduce this is: In a terminal window: $ roscore In another terminal window: $ rosrun rospy_tutorials add_two_ints_server (in the tutorial) In a third terminal window: $ roslaunch rosbridge_server rosbridge_websocket.launch (in the tutorial) From the web page: http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality copy the whole page HTML into a file, say, simple.html Here is is:

Simple roslib Example

Check your Web Console for output.

In Chrome, browse: file:///your_dir/simple.html Open the Chrome Development tools: I see in the console: `"Connected to websocket server"` (This is good) but there's nothing else printed in the console (this is bad) as the JS code indicates it should print out: Result for service call on /add_two_ints: 3 In the rosrun terminal window, I see printed out: Returning [1 + 2 = 3] Indicating that the service request made it to the server and the server did the computation. Additional info that perhaps provides some clues: $ rosnode list /add_two_ints_server /rosapi /rosbridge_websocket /rosout $ roswtf Loaded plugin tf.tfwtf Package: rospy_tutorials ================================================================================ Static checks summary: No errors or warnings ================================================================================ Beginning tests of your ROS graph. These may take awhile... analyzing graph... ... done analyzing graph running graph rules... ... done running graph rules Online checks summary: Found 1 warning(s). Warnings are things that may be just fine, but are sometimes at fault WARNING The following node subscriptions are unconnected: * /rosbridge_websocket: * /listener $ rostopic pub /listener std_msgs/String "Hello, World" doesn't cause Received message on /listener: "Hello, World" to be printed out in the Chrome console, as indicated in the tutorial. $ printenv | grep ROS ROS_ROOT=/opt/ros/indigo/share/ros ROS_PACKAGE_PATH=/Users/Fry/ros_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks ROS_MASTER_URI=http://localhost:11311 ROSLISP_PACKAGE_DIRECTORIES=/Users/Fry/ros_ws/devel/share/common-lisp ROS_DISTRO=indigo ROS_ETC_DIR=/opt/ros/indigo/etc/ros $ cat /etc/hosts 127.0.0.1 localhost macbook-pro-2.home My guess is this has something to due with my particular ROS installation, esp the Rosbridge package which is difficult to install on OSX since brew is not supported. I'd be curious if running this on Ubuntu worked. Any debugging hints greatly appreciated. PS: chrome dev tool/Network/WS for localhost indicates that messages are going out from the browser, but none are coming into the browser.

troubles building moveit on osx indigo

$
0
0
Hi, I'm new to ROS and am interested to delve into the MoveIt project. I managed to install ROS Indigo painlessly on osx by means of [this script](https://github.com/mikepurvis/ros-install-osx) ( thanks Mike! ). I realize that as a novice osx is perhaps not an ideal learning environment, that said, so far, so good... ;) Next, I'd love to be able compile MoveIt on osx. When trying to build MoveIt ( the `rosdep` output below suggest no homebrew packages exist ), I run into the issue of not being / not having installed the `object_recognition_msgs` dependency. is it possible to side-step the `object_recognition_msgs`dependency? is there a way to trace what module requires `object_recognition_msgs`? any pointers on how to move on with this build are much appreciated... thanks, -jelle source /opt/ros/indigo/setup.bash mkdir moveit cd moveit mkdir src cd src/ wstool init . wstool merge https://raw.github.com/ros-planning/moveit_docs/indigo-devel/moveit.rosinstall wstool update cd .. $ catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release Base path: /Users/jelleferinga/ROS/moveit Source space: /Users/jelleferinga/ROS/moveit/src Build space: /Users/jelleferinga/ROS/moveit/build_isolated Devel space: /Users/jelleferinga/ROS/moveit/devel_isolated Install space: /Users/jelleferinga/ROS/moveit/install_isolated Additional CMake Arguments: -DCMAKE_BUILD_TYPE=Release ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ traversing 22 packages in topological order: ~~ - moveit_msgs ~~ - moveit_planners ~~ - moveit_plugins ~~ - moveit_resources ~~ - moveit_core ~~ - moveit_controller_manager_example ~~ - moveit_fake_controller_manager ~~ - moveit_ros ~~ - moveit_ros_perception ~~ - moveit_ros_planning ~~ - moveit_planners_ompl ~~ - moveit_ros_move_group ~~ - moveit_ros_manipulation ~~ - moveit_ros_robot_interaction ~~ - moveit_ros_warehouse ~~ - moveit_ros_benchmarks ~~ - moveit_ros_planning_interface ~~ - moveit_commander ~~ - moveit_ros_visualization ~~ - moveit_ros_benchmarks_gui ~~ - moveit_setup_assistant ~~ - moveit_simple_controller_manager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The packages or cmake arguments have changed, forcing cmake invocation ==> Processing catkin package: 'moveit_msgs' ==> Creating build directory: 'build_isolated/moveit_msgs' ==> cmake /Users/jelleferinga/ROS/moveit/src/moveit_msgs -DCATKIN_DEVEL_PREFIX=/Users/jelleferinga/ROS/moveit/devel_isolated/moveit_msgs -DCMAKE_INSTALL_PREFIX=/Users/jelleferinga/ROS/moveit/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/Users/jelleferinga/ROS/moveit/build_isolated/moveit_msgs' -- The C compiler identification is AppleClang 6.1.0.6020053 -- The CXX compiler identification is AppleClang 6.1.0.6020053 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CATKIN_DEVEL_PREFIX: /Users/jelleferinga/ROS/moveit/devel_isolated/moveit_msgs -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Found PythonInterp: /usr/bin/python (found version "2.7.10") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using default Python package layout -- Found PY_em: /usr/local/lib/python2.7/site-packages/em.pyc -- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /Users/jelleferinga/ROS/moveit/build_isolated/moveit_msgs/test_results -- Found gtest: gtests will be built -- Using Python nosetests: /usr/local/bin/nosetests-2.7 -- catkin 0.6.14 -- Using these message generators: gencpp;genlisp;genpy CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package): Could not find a package configuration file provided by "object_recognition_msgs" with any of the following names: object_recognition_msgsConfig.cmake object_recognition_msgs-config.cmake Add the installation prefix of "object_recognition_msgs" to CMAKE_PREFIX_PATH or set "object_recognition_msgs_DIR" to a directory containing one of the above files. If "object_recognition_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:14 (find_package) -- Configuring incomplete, errors occurred! See also "/Users/jelleferinga/ROS/moveit/build_isolated/moveit_msgs/CMakeFiles/CMakeOutput.log".<== Failed to process package 'moveit_msgs': Command '['cmake', '/Users/jelleferinga/ROS/moveit/src/moveit_msgs', '-DCATKIN_DEVEL_PREFIX=/Users/jelleferinga/ROS/moveit/devel_isolated/moveit_msgs', '-DCMAKE_INSTALL_PREFIX=/Users/jelleferinga/ROS/moveit/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1 Reproduce this error by running: ==> cd /Users/jelleferinga/ROS/moveit/build_isolated/moveit_msgs && cmake /Users/jelleferinga/ROS/moveit/src/moveit_msgs -DCATKIN_DEVEL_PREFIX=/Users/jelleferinga/ROS/moveit/devel_isolated/moveit_msgs -DCMAKE_INSTALL_PREFIX=/Users/jelleferinga/ROS/moveit/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' Command failed, exiting. # Running rosdep: rosdep install --from-paths src --ignore-src --rosdistro indigo -y --as-root pip:no --skip-keys="gazebo" Error: No available formula for ros/indigo/object_recognition_msgs Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/household_objects_database_msgs Please tap it and then try again: brew tap ros/indigo Error: No available formula for freeglut Error: No available formula for ros/indigo/ompl Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/manipulation_msgs Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/octomap_msgs Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/srdfdom Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/fcl Please tap it and then try again: brew tap ros/indigo Error: No available formula for ros/indigo/warehouse_ros Please tap it and then try again: brew tap ros/indigo executing command [brew install ros/indigo/object_recognition_msgs] ==> Tapping ros/indigo Cloning into '/usr/local/Library/Taps/ros/homebrew-indigo'... remote: Repository not found. fatal: repository 'https://github.com/ros/homebrew-indigo/' not found Error: Failure while executing: git clone https://github.com/ros/homebrew-indigo /usr/local/Library/Taps/ros/homebrew-indigo --depth=1 ERROR: the following rosdeps failed to install homebrew: command [brew install ros/indigo/object_recognition_msgs] failed
Viewing all 97 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>