ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-11-22 03:01:51 -0500 | received badge | ● Nice Answer (source) |
2015-12-11 08:56:39 -0500 | received badge | ● Nice Answer (source) |
2014-08-05 09:04:17 -0500 | commented answer | Building ROS on OSX 10.9 (solution) Should I make another edit of the post for clarity? |
2014-07-17 15:33:42 -0500 | answered a question | Problem with robotino_node (state_publisher & URDF) The issue was resolved, turns out there was another robotino_node package on the path that was resolved first, and this incorrect robotino_node package had an incorrect launch file. Take away lesson: always check the ROS_PACKAGE_PATH. |
2014-04-08 21:34:50 -0500 | commented answer | Building ROS on OSX 10.9 (solution) Just out of curiosity, can you run "python -c 'import sipconfig' " from the command line and check if you also get an error? In general looks like you have PYTHONPATH issues. I also suggest you open a new question for the issue, since it's not intrinsic to OS X 10.9 support |
2014-04-08 11:22:57 -0500 | commented answer | Building ROS on OSX 10.9 (solution) @JetForMe your pastebin links are invalid, can you update them? |
2014-03-16 22:56:22 -0500 | commented answer | Building ROS on OSX 10.9 (solution) |
2014-03-12 11:26:55 -0500 | commented answer | Building ROS on OSX 10.9 (solution) You can also do the same thing for the WS_DIR/src/robot_model directory. If all else fails, simply create a new separate ROS workspace and follow the current Hydro installation instructions again, and the steps above should cover all the current build issues. |
2014-03-12 11:22:00 -0500 | commented answer | Building ROS on OSX 10.9 (solution) The warning means you already applied the first change, meaning you have the orocos_kdl upstream version per the previous instructions. If you delete this directory from WS_DIR/src and do 'wstool update -t WD_DIR/src', you should get a clean copy and so that you can apply the steps from the answer. |
2014-03-12 05:37:14 -0500 | commented answer | Building ROS on OSX 10.9 (solution) Take a look at the patch files in your browser and you will see what I mean. |
2014-03-12 05:36:42 -0500 | commented answer | Building ROS on OSX 10.9 (solution) No I am pretty sure the instructions are correct. The pull request patches are relative to the host repository, and since both orocos_kdl and robot_model are split so that each subdir becomes a new repository root, the patches have to be applied to WS_DIR/src and not one level deeper. |
2014-02-25 08:02:41 -0500 | commented answer | Building ROS on OSX 10.9 (solution) @William I Understand, my mistake. But in general if you follow the installation guide on the wiki wstool will checkout git repositories released using bloom, right? |
2014-02-24 20:07:32 -0500 | commented answer | Building ROS on OSX 10.9 (solution) How did you create your hydro workspace? The error message indicates orocos_kdl was not checked out from source with wstool. |
2014-02-03 21:30:24 -0500 | received badge | ● Enthusiast |
2014-02-03 10:13:50 -0500 | received badge | ● Student (source) |
2014-02-03 10:13:45 -0500 | received badge | ● Self-Learner (source) |
2014-01-29 19:07:45 -0500 | received badge | ● Guru (source) |
2014-01-29 19:07:45 -0500 | received badge | ● Great Answer (source) |
2014-01-28 17:29:50 -0500 | marked best answer | Groovy RVIZ build fails on OS X I am having a problem building groovy from source on OS X 10.8.3 using homebrew. The RVIZ catkiin package fails to build the python bindings with the following error message: Could this be a problem with my installed shiboken / pyside version (1.1.2)? Any other suggestion or idea what might be causing the problem? |
2013-12-31 23:46:58 -0500 | received badge | ● Commentator |
2013-12-31 23:46:58 -0500 | commented answer | link c code with c++ ROS code Please do not answers to your question that are not answers but further questions. Instead either edit your original question, or post a comment to my answer. You should delete this post. |
2013-12-31 04:30:31 -0500 | answered a question | link c code with c++ ROS code To answer your last question, you do not necessarily need to compile your standalone (in the sense of ROS independent) c code within catkin. It is pretty straight forward to compile your c code as a shared or static library, and then link your ROS node to it using the standard CMake syntax (by adding your c library to target_link_libraries(...) for example). To address your linker errors. You are not missing header files, you are improperly specify the libraries to link to and the library search paths. Remember that "-L" specifies the search path, and the "-l" specifies the library name (preferably without path and without ending). For object files ".o" you do not need the "-l" flag prefix. you are missing lots of opencv libraries in command, you can try adding "-lopencv_core" and "-lcv_bridge -limage_transport" to take care of the missing OpenCV and OpenCV binding symbols. But I highly recommend you use the cakin for building and integrating your ROS code, and not to build things by hand. EDIT: Responding to your further comments, you are using the CMake commands incorrectly. To create your library and link to it in CMake you should use: Note that your ROS node imageconv_node declared in your CMakeLists.txt will need a typical main function, and it is bad practice to hard code full paths in a CMakeLists.txt. |
2013-12-27 20:59:45 -0500 | commented answer | Error compiling eigen_msg on OSX 10.9 I have not had a problem similar to that, sounds like something related to the image transport is broken. |
2013-12-26 19:50:48 -0500 | received badge | ● Nice Answer (source) |
2013-12-25 07:45:06 -0500 | received badge | ● Nice Answer (source) |
2013-12-24 21:00:13 -0500 | answered a question | Error compiling eigen_msg on OSX 10.9 The issue you are seeing is caused by a problem in the roscpp_core upstream package and has been disused and fixed in https://github.com/ros/roscpp_core/pull/15. Unfortunately an updated release of this package has not been created for hydro, so you will have to make the change to package by hand. cd <path to="" ros="" workspace="">/src/roscpp_traits/include/ros curl https://raw.github.com/ros/roscpp_core/8292898d4a90ecc8cf3d42c5ce4e51e14b02a8db/roscpp_traits/include/ros/message_forward.h -o message_forward.h Here <path to="" ros="" workspace=""> is the path of your ros workspace. |
2013-12-24 20:26:36 -0500 | answered a question | Installing pyqwt on Mavericks The current release version of PyQt (4.10.3) has some issues with libc++/clang build settings necessary for Mavericks. Basically PyQt incorrectly parses the QMake build settings that were used to build Qt, resulting in incorrect build flags being generated for PyQt interoperable projects. There is a fix proposed for homebrew here: https://github.com/Homebrew/homebrew/pull/25225 and for PyQt here: http://www.riverbankcomputing.com/pipermail/pyqt/2013-December/033537.html |
2013-12-21 06:33:36 -0500 | commented answer | Current recommended installation for MacBook Pro? (OS X 10.9) I also agree with Hansg91. While most of the issues with hydro on OS X have been resolved, not all have been released (so you will still need to patch the packages by hand), and some packages like Orocos KDL have no immediate solution in sight. |
2013-12-03 23:29:04 -0500 | commented answer | Building ROS on OSX 10.9 (solution) libc++ is used by default, but c++11 support is only active is your set the flag, not be default. |
2013-12-02 01:39:19 -0500 | commented answer | rqt_reconfigure runtime error osx To clarify I would the dynamic_reconfigure currently requires the source directory, from which it was installed, to persist even after it is installed. Upon starting dynamic reconfigure reads file its source directory, and not just from its installation location. |
2013-11-29 09:38:00 -0500 | commented question | error when ./src/catkin/bin/catkin_make_isolated --install on OSX So what exactly are you asking here? |
2013-11-25 09:50:34 -0500 | answered a question | Uninstall ROS fully on OS X You can use the following shell code to print out the commands that will remove all the known system dependencies installed for ROS packages: This will print out one line for each system dependency needed by ROS with the appropriate command for its removal. This does not actually remove the packages as I think this is unwise. Many system dependencies needed by ROS are likely also needed by other software on your system, so you need to evaluate on an individual package basis, what should be uninstalled. The ROS python tools can be uninstall with: Other than this your ROS installation should be self contained under your ROS workspace directory, or where ever you have placed your ROS installation. |
2013-11-25 09:48:46 -0500 | commented question | error when ./src/catkin/bin/catkin_make_isolated --install on OSX What version of OS X are you using? And can you post a gist of the full build log, not just the last snippet? |
2013-11-24 04:05:43 -0500 | received badge | ● Good Answer (source) |
2013-11-24 04:05:43 -0500 | received badge | ● Enlightened (source) |
2013-11-20 20:49:48 -0500 | commented answer | Hydro from Mac OS X Homebrew: sudo pip install -U empy fails |
2013-11-20 20:49:34 -0500 | commented answer | Hydro from Mac OS X Homebrew: sudo pip install -U empy fails I should correct my previous statement. The easy_install command completed successfully, but it built and installed an egg package, which apparently is supported by catkin. |
2013-11-14 21:10:56 -0500 | received badge | ● Nice Answer (source) |
2013-11-14 08:29:19 -0500 | received badge | ● Editor (source) |
2013-11-14 08:29:19 -0500 | edited answer | Building ROS on OSX 10.9 (solution) Edit 5: These workarounds are no longer required. They are kept here purely for reference.Some of the workarounds listed in this answer are no longer required as the changes have been merged into hydro. Below are the current workarounds still required to get ROS hydro working on Mavericks, suitable to both git and tar based rosinstall distributions. OROCOS KDL FixThere is a problem with OROCOS KDL API that is incompatible with libc++ and clang, discussed in more detail in PR 4 and PR 19. You will need to patch KDL source using both of these pull requests. You will also need to patch several dependent ROS packages. For the necessary robot model changes: for the necessary robot_state_publisher changes: OpenCV and CudaCurrently OpenCV has issues when building with Cuda enabled, so you will have to disable it: Outdated workarounds no longer necessaryThese workarounds are no longer necessary but I am keeping them here for historical reasons in case someone has an older workspace and doesn't want to update. Prerequisite for any of the following steps is understanding how to checkout Github pull requests locally. The rest of these fixes are currently involve API breaking changes and are under review. I make no guarantees about their correctness, only that they should at least build on Mavericks. For all of the commands below I always your current working directory is your ROS workspace root (NOT src subdirectory). Octomap FixFor this particular octomap problem there is a fix committed upstream that should allow compilation with libc++ with Mavericks: https://github.com/OctoMap/octomap/pu... . Due to the way ROS packages things, mergeing this change in to the ROS octomap source in your hydro workspace involves a bit of hand work on the command line: Rebuild your catkin workspace and the octomap errors should go away. ROSCPP Message TraitsThere is a problem with the roscpp message forward declarations that is discussed in more detail here. The workaround: (more) |