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

Tried to catkin_make hector_exploration -> could not found Open CV

$
0
0
Hi, i tried to install hector_exploration with catkin_make on Ubuntu. But it stops during hector_costmap. It seems it does not find OpenCV. But OpenCV is installed, and it should work. Because RTAB-Map also works and RTAB-Map requires OpenCV. Here is the error-message during catkin_make. Please, help! -- +++ processing catkin package: 'hector_costmap' -- ==> add_subdirectory(hector_costmap) -- Using these message generators: gencpp;genlisp;genpy -- OpenCV ARCH: -- OpenCV RUNTIME: -- OpenCV STATIC: OFF CMake Warning at /home/stefanubuntulaptop/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message): Found OpenCV Windows Pack but it has not binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): hector_costmap/CMakeLists.txt:20 (find_package) CMake Error at hector_costmap/CMakeLists.txt:20 (find_package): Found package configuration file: /home/stefanubuntulaptop/opencv-2.4.9/cmake/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND. -- Configuring incomplete, errors occurred! See also "/home/stefanubuntulaptop/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/stefanubuntulaptop/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

Error when calling catkin_make --> Invoking "make" failed'

$
0
0
Hi, I'm new to ROS. I was following exactly the steps listed here: http://pharos.ece.utexas.edu/wiki/index.php/ROS_packages_and_contents_required_to_teleoperate_the_iRobot_Create However, when I run catkin_make, i got the following error: user@ubuntu:~/catkin_ws$ catkin_make Base path: /home/user/catkin_ws Source space: /home/user/catkin_ws/src Build space: /home/user/catkin_ws/build Devel space: /home/user/catkin_ws/devel Install space: /home/user/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/user/catkin_ws/build" #### #### #### Running command: "make -j2 -l2" in "/home/user/catkin_ws/build" #### [ 3%] [ 3%] Built target geometry_msgs_generate_messages_cpp Generating dynamic reconfigure files from cfg/TurtleBot.cfg: /home/user/catkin_ws/devel/include/irobotcreate_node/TurtleBotConfig.h /home/user/catkin_ws/devel/lib/python2.7/dist-packages/irobotcreate_node/cfg/TurtleBotConfig.py ../catkin_generated/env_cached.sh: 16: exec: /home/user/catkin_ws/src/irobotcreate_node/cfg/TurtleBot.cfg: Permission denied make[2]: *** [/home/user/catkin_ws/devel/include/irobotcreate_node/TurtleBotConfig.h] Error 126 make[1]: *** [irobotcreate_node/CMakeFiles/irobotcreate_node_gencfg.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 3%] Built target diagnostic_msgs_generate_messages_cpp make: *** [all] Error 2 Invoking "make" failed user@ubuntu:~/catkin_ws$ How do I solve this?

Can't generate compiled lisp executables

$
0
0
I am following [tutorial on roslisp](http://wiki.ros.org/roslisp/Tutorials/OrganizingFiles#Generating_compiled_executables) with simple [talker and subscriber](http://wiki.ros.org/roslisp/Tutorials/BasicUsage#Example_for_service_and_client). My system is ROS indigo under ubuntu 14.04 During catkin_make I get the following errors, taking all the junk out: > CMake Error at beginner_tutorials/CMakeLists.txt:135 (add_lisp_executable):> Unknown CMake command "add_lisp_executable". I have also tried to use rosbuild_add_lisp_executable instead, which gives > [ 16%] Built target std_msgs_generate_messages_lisp> [ 16%] /bin/sh: 1: beginner_tutorials: not found/bin/sh: 1: > beginner_tutorials: not found>$ tail build/CMakeFiles/CMakeError.log>/usr/bin/ld: cannot find -lpthreads>collect2: error: ld returned 1 exit status Thus, the tutorials seem to be obsolete. Please advice how can I generate compiled lisp executable which I could run with the following command: > rosrun lisp_tutorials talker

Invoking "make -j2 -l2" failed

$
0
0
hello i'm new with ROS i'm trysing to build simple C++ file using catkin_make for my ROS indigo (OS UBUNTU 14.04 LTS) and i having errors that i can't figure out having some og this errors : /usr/include/boost/lexical_cast.hpp:2096:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp:2096:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp: In member function ‘bool boost::detail::lexical_stream_limited_src::operator>>(int)’: /usr/include/boost/lexical_cast.hpp:2102:53: error: expected type-specifier return ((*this) >> reinterpret_cast&>(output)); ^ /usr/include/boost/lexical_cast.hpp:2102:53: error: expected ‘>’ /usr/include/boost/lexical_cast.hpp:2102:53: error: expected ‘(’ /usr/include/boost/lexical_cast.hpp:2102:53: error: ‘array’ is not a member of ‘boost’ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected primary-expression before ‘char’ return ((*this) >> reinterpret_cast&>(output)); ^ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected ‘)’ before ‘char’ make[2]: *** [agitr/CMakeFiles/hello.dir/src/hello.cpp.o] Error 1 make[1]: *** [agitr/CMakeFiles/hello.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j2 -l2" failed --- Edit: #include int main(int argc,char **argv) { ros::init(argc,argv,"hello"); ros::NodeHandle nh; ROS_INFO_STREAM("hello"); }

catkin_make --install headers search order

$
0
0
Hi, Let's say I have 2 **packages A & B** of which **package B** use some of the **package A** headers. I use catkin_make_isolated --install to build my packages. **Package A** is builded first, then its headers is installed to **install_isolated** directory using: install(DIRECTORY include/${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/include) The headers is then visible for **package B** to use and the compilation runs just fine. The problem is that each time I modified headers file of **package A**, its source file looks for the headers file in **install_isolated** directory but not the ones in **include/{package A}** of source directory. The only solution I have in mind is delete the **install_isolated/{package A}/include** directory and recompile, but it is very inconvenient, not portable and not standalone runnable. Is there a way to force source files to look for headers in its source location but not in install space, but using always catkin_make_isolated --install ? Thanks in advance.

How to link to a custom version of OMPL instead of the ROS-supplied version?

$
0
0
ROS Hydro comes with OMPL 0.13.0. I want to use OMPL 1.0.0. For this project, **I'm using OMPL on its own; I'm not trying to change the one used by MoveIt, only the one used by my program.** How do I set it up such that the line: find_package(OMPL REQUIRED) in my `CMakeLists.txt` will find the version of OMPL at `/usr/local` and not the one at `/opt/ros/hydro`? As suggested by `/opt/ros/hydro/share/ompl/ompl-config.cmake`, I tried: $ catkin_make -DOMPL_PREFIX="/usr/local" But that didn't seem to work at all. I even output a message to ensure the variable *was* set: -- +++ processing catkin package: 'sgpp' -- ==> add_subdirectory(sampled-gradient-path-planning/sgpp) CMake Warning at sampled-gradient-path-planning/sgpp/CMakeLists.txt:6 (message): OMPL prefix is: /usr/local -- Using these message generators: gencpp;genlisp;genpy -- Found MATLAB: /usr/local/MATLAB/R2014a/bin/matlab -- Found OMPL: /opt/ros/hydro/lib/libompl.so -- Configuring done -- Generating done -- Build files have been written to: /home/ntraft/Development/catkin_ws/build Notice the line `Found OMPL: /opt/ros/hydro/lib/libompl.so` **Edit:** Hmm, should I instead be looking into how to build the ompl ROS package and use workspace overlaying?? But then that would change the version of OMPL for the whole system, rather than just my program... right?

Catkin_make error

$
0
0
I got this error while running catkin_make. I am working on ROS Indigo, ubuntu version 14.04 kindly help in this regrds. Error is mentioned below: Built target rgbdslam_generate_messages Scanning dependencies of target rgbdslam [ 36%] make[2]: *** No rule to make target `/usr/lib/libcxsparse.so.2.2.3', needed by `/home/zarneel/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam'. Stop. make[2]: *** Waiting for unfinished jobs.... Building CXX object rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/src/openni_listener.o make[1]: *** [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed

How to use CATKIN_IGNORE file correctly

$
0
0
Hello everyone I have a catkin_ws that is composed of all the node for my project. I am working with a UAV. So some of the nodes (such as rqt_pluggins and other GCS nodes) doesn't need to be compiled on the UAV computer. My question is this, how to tell catkin make to ignore those package automaticly (yes I am aware of the command catkin_make -DCATKIN_BLACKLIST_PACKAGES="foo;bar" but it is not very usefull if i want to ignore 2 or more nodes) Best regards,

catkin share directory vs. workspace directory

$
0
0
Hi, How can I set a variable inside my CMakeLists.txt to set a variable to point to a file into the workspace which also points to the same file but in the share directory when installed. Example: I want to install a "foo.c" inside my_package/src/. Now when installed, it should be in the same directory as the files in the package but in the share folder, so that other later workspaces can compile the source file into there code with a macro this way: add_executable(foo_node ... ${MY_PACKAGE_SOURCE}) Thanks, Regards, Christian

catkin_make fails: Invoking "make cmake_check_build_system" failed

$
0
0
Hello, I just installed ROS and I'm following the beginner tutorial to get familiar with ROS. I've done until step 4 in "Creating a ROS msg and srv", I don't have any problem in the previous steps but when I try "catkin_make" it fails and I can't find the problem. Thank you for your help. Cheers, Carlos This is the message returned in the terminal: carlos@carlos-VirtualBox:~/catkin_ws$ catkin_make Base path: /home/carlos/catkin_ws Source space: /home/carlos/catkin_ws/src Build space: /home/carlos/catkin_ws/build Devel space: /home/carlos/catkin_ws/devel Install space: /home/carlos/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/carlos/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/carlos/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/carlos/catkin_ws/devel;/opt/ros/indigo -- This workspace overlays: /home/carlos/catkin_ws/devel;/opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/carlos/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.11 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - beginner_tutorials -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'beginner_tutorials' -- ==> add_subdirectory(beginner_tutorials) -- Using these message generators: gencpp;genlisp;genpy -- beginner_tutorials: 1 messages, 1 services CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:104 (message): catkin_package() called with unused arguments: ... Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package) beginner_tutorials/CMakeLists.txt:81 (catkin_package) -- Configuring incomplete, errors occurred! See also "/home/carlos/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/carlos/catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed while the CMakeError.log is: Determining if the pthread_create exist failed with the following output: Change Dir: /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec972305253/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec972305253.dir/build.make CMakeFiles/cmTryCompileExec972305253.dir/build make[1]: Entering directory `/home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec972305253.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTryCompileExec972305253.dir/CheckSymbolExists.c.o -c /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec972305253 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec972305253.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTryCompileExec972305253.dir/CheckSymbolExists.c.o -o cmTryCompileExec972305253 -rdynamic CMakeFiles/cmTryCompileExec972305253.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0xa): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory `/home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec972305253] Error 1 make: *** [cmTryCompileExec972305253/fast] Error 2 File /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec639770778/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec639770778.dir/build.make CMakeFiles/cmTryCompileExec639770778.dir/build make[1]: Entering directory `/home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec639770778.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec639770778.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec639770778 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec639770778.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec639770778.dir/CheckFunctionExists.c.o -o cmTryCompileExec639770778 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: Leaving directory `/home/carlos/catkin_ws/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec639770778] Error 1 make: *** [cmTryCompileExec639770778/fast] Error 2

catkin_make error building vicon_bridge on Hydro

$
0
0
Hi ros users I have a problem with catkin_make. I install vicon_bridge in my catkin workspace, but when i do catkin_make i have this error: collect2: ld terminated with signal 11 [Segmentation fault], core dumped make[2]: *** [/home/wilson/catkin_ws/devel/lib/libmsvc_bridge.so] Error 1 make[1]: *** [vicon_bridge/CMakeFiles/msvc_bridge.dir/all] Error 2 make[1]: *** Se espera a que terminen otras tareas.... Linking CXX executable /home/wilson/catkin_ws/devel/lib/vicon_bridge/testclient [ 25%] Built target vicon_bridge_generate_messages_cpp collect2: ld terminated with signal 11 [Segmentation fault], core dumped make[2]: *** [/home/wilson/catkin_ws/devel/lib/vicon_bridge/testclient] Error 1 make[1]: *** [vicon_bridge/CMakeFiles/testclient.dir/all] Error 2 make: *** [all] Error 2 Invoking "make" failed [ROS Hydro and Ubuntu 12.04] How do I fix this error, and what does it mean?

Problem with catkin_make

$
0
0
daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/ daniel@daniel-SATELLITE-L755:~/catkin_ws$ catkin_make Base path: /home/daniel/catkin_ws Source space: /home/daniel/catkin_ws/src Build space: /home/daniel/catkin_ws/build Devel space: /home/daniel/catkin_ws/devel Install space: /home/daniel/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/daniel/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/daniel/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/daniel/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.11 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 8 packages in topological order: -- ~~ - rbcar_common (metapackage) -- ~~ - rbcar_sim (metapackage) -- ~~ - control_msgs -- ~~ - beginner_tutorials -- ~~ - foobar -- ~~ - rbcar_description -- ~~ - rbcar_control -- ~~ - rbcar_gazebo -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'rbcar_common' -- ==> add_subdirectory(rbcar_common-master/rbcar_common) -- +++ processing catkin metapackage: 'rbcar_sim' -- ==> add_subdirectory(rbcar_sim-master/rbcar_sim) -- +++ processing catkin package: 'control_msgs' -- ==> add_subdirectory(control_msgs/control_msgs) -- Using these message generators: gencpp;genlisp;genpy -- Generating .msg files for action control_msgs/FollowJointTrajectory /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/FollowJointTrajectory.action -- Generating .msg files for action control_msgs/GripperCommand /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/GripperCommand.action -- Generating .msg files for action control_msgs/JointTrajectory /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/JointTrajectory.action -- Generating .msg files for action control_msgs/PointHead /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/PointHead.action -- Generating .msg files for action control_msgs/SingleJointPosition /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/SingleJointPosition.action -- control_msgs: 39 messages, 2 services -- +++ processing catkin package: 'beginner_tutorials' -- ==> add_subdirectory(beginner_tutorials) -- +++ processing catkin package: 'foobar' -- ==> add_subdirectory(foobar) -- +++ processing catkin package: 'rbcar_description' -- ==> add_subdirectory(rbcar_common-master/rbcar_description) -- Using these message generators: gencpp;genlisp;genpy -- +++ processing catkin package: 'rbcar_control' -- ==> add_subdirectory(rbcar_sim-master/rbcar_control) -- 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 "ros_control" with any of the following names: ros_controlConfig.cmake ros_control-config.cmake Add the installation prefix of "ros_control" to CMAKE_PREFIX_PATH or set "ros_control_DIR" to a directory containing one of the above files. If "ros_control" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): rbcar_sim-master/rbcar_control/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! See also "/home/daniel/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/daniel/catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed I tried to install ros_control daniel@daniel-SATELLITE-L755:~/catkin_ws$ sudo apt-get install ros-indigo-ros-control ros-indigo-ros-controllers [sudo] password for daniel: Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho E: No se ha podido localizar el paquete ros-indigo-ros-control E: No se ha podido localizar el paquete ros-indigo-ros-controllers more details: I only have two folders for a student job: https://github.com/RobotnikAutomation/rbcar_sim https://github.com/RobotnikAutomation/rbcar_common and when I launch them: daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/ daniel@daniel-SATELLITE-L755:~/catkin_ws$ source devel/setup.bash daniel@daniel-SATELLITE-L755:~/catkin_ws$ roscd rbcar_control/ daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_control$ roslaunch rbcar_control rbcar_control.launch ... logging to /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/roslaunch-daniel-SATELLITE-L755-3261.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://daniel-SATELLITE-L755:48255/ SUMMARY ======== PARAMETERS * /rbcar/joint_read_state_controller/publish_rate: 100.0 * /rbcar/joint_read_state_controller/type: joint_state_contr... * /rbcar/left_front_axle_controller/joint: left_front_axle * /rbcar/left_front_axle_controller/pid/d: 10.0 * /rbcar/left_front_axle_controller/pid/i: 0.01 * /rbcar/left_front_axle_controller/pid/p: 100.0 * /rbcar/left_front_axle_controller/type: effort_controller... * /rbcar/left_front_shock_controller/joint: left_front_shock * /rbcar/left_front_shock_controller/pid/d: 100.0 * /rbcar/left_front_shock_controller/pid/i: 10.0 * /rbcar/left_front_shock_controller/pid/p: 500.0 * /rbcar/left_front_shock_controller/type: effort_controller... * /rbcar/left_rear_axle_controller/joint: left_rear_axle * /rbcar/left_rear_axle_controller/pid/d: 10.0 * /rbcar/left_rear_axle_controller/pid/i: 0.01 * /rbcar/left_rear_axle_controller/pid/p: 100.0 * /rbcar/left_rear_axle_controller/type: effort_controller... * /rbcar/left_rear_shock_controller/joint: left_rear_shock * /rbcar/left_rear_shock_controller/pid/d: 100.0 * /rbcar/left_rear_shock_controller/pid/i: 10.0 * /rbcar/left_rear_shock_controller/pid/p: 500.0 * /rbcar/left_rear_shock_controller/type: effort_controller... * /rbcar/left_steering_joint_controller/joint: left_steering_joint * /rbcar/left_steering_joint_controller/pid/d: 10.0 * /rbcar/left_steering_joint_controller/pid/i: 0.01 * /rbcar/left_steering_joint_controller/pid/p: 100.0 * /rbcar/left_steering_joint_controller/type: effort_controller... * /rbcar/right_front_axle_controller/joint: right_front_axle * /rbcar/right_front_axle_controller/pid/d: 10.0 * /rbcar/right_front_axle_controller/pid/i: 0.01 * /rbcar/right_front_axle_controller/pid/p: 100.0 * /rbcar/right_front_axle_controller/type: effort_controller... * /rbcar/right_front_shock_controller/joint: right_front_shock * /rbcar/right_front_shock_controller/pid/d: 100.0 * /rbcar/right_front_shock_controller/pid/i: 10.0 * /rbcar/right_front_shock_controller/pid/p: 500.0 * /rbcar/right_front_shock_controller/type: effort_controller... * /rbcar/right_rear_axle_controller/joint: right_rear_axle * /rbcar/right_rear_axle_controller/pid/d: 10.0 * /rbcar/right_rear_axle_controller/pid/i: 0.01 * /rbcar/right_rear_axle_controller/pid/p: 100.0 * /rbcar/right_rear_axle_controller/type: effort_controller... * /rbcar/right_rear_shock_controller/joint: right_rear_shock * /rbcar/right_rear_shock_controller/pid/d: 100.0 * /rbcar/right_rear_shock_controller/pid/i: 10.0 * /rbcar/right_rear_shock_controller/pid/p: 500.0 * /rbcar/right_rear_shock_controller/type: effort_controller... * /rbcar/right_steering_joint_controller/joint: right_steering_joint * /rbcar/right_steering_joint_controller/pid/d: 10.0 * /rbcar/right_steering_joint_controller/pid/i: 0.01 * /rbcar/right_steering_joint_controller/pid/p: 100.0 * /rbcar/right_steering_joint_controller/type: effort_controller... * /rosdistro: indigo * /rosversion: 1.11.10 NODES /rbcar/ controller_spawner (controller_manager/spawner) / robot_state_publisher (robot_state_publisher/robot_state_publisher) ROS_MASTER_URI=http://localhost:11311 core service [/rosout] found ERROR: cannot launch node of type [controller_manager/spawner]: controller_manager ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/daniel/catkin_ws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks process[robot_state_publisher-2]: started with pid [3279] /opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher [ERROR] [1431447537.224167978]: Could not find parameter robot_description on parameter server robot_state_publisher: /usr/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access::type boost::shared_ptr::operator->() const [with T = const urdf::Link; typename boost::detail::sp_member_access::type = const urdf::Link*]: Assertion `px != 0' failed. [robot_state_publisher-2] process has died [pid 3279, exit code -6, cmd /opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher /joint_states:=/rbcar/joint_states __name:=robot_state_publisher __log:=/home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/robot_state_publisher-2.log]. log file: /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/robot_state_publisher-2*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_control$ roscd rbcar_gazebo/ daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_gazebo$ roslaunch rbcar_gazebo rbcar.launch ... logging to /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/roslaunch-daniel-SATELLITE-L755-3388.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. Traceback (most recent call last): File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 298, in main p.start() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 260, in start self._start_infrastructure() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 209, in _start_infrastructure self._load_config() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 124, in _load_config roslaunch_strs=self.roslaunch_strs, verbose=self.verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 666, in _recurse_load val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(*args, **kwds) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag inc_filename = self.resolve_args(tag.attributes['file'].value, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args resolved = _resolve_args(resolved, context, resolve_anon, commands) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args resolved = commands[command](resolved, a, args, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find return _find_executable(resolve_without_path, a, [args[0], path], context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable full_path = _get_executable_path(rp.get_path(args[0]), path) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 199, in get_path raise ResourceNotFound(name, ros_paths=self._ros_paths) ResourceNotFound: gazebo_ros ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/daniel/catkin_ws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks

Ros Indigo catkin_make failed and missing src

$
0
0
I was using new drone image of BeagleBone of Indigo, and I am totally new for Indigo. In the "ls" of my BeagleBone, there is indigo file, and under the indigo only has indigo-isolated file without build, devel, and src. I was usually download the package into src and `catkin_make` && install it in the catkin directory in the hydro system. For instance, one engineer emailed me : > If you are going to connect a camera in Erle-Brain(beaglebone). I recommend you install this usb_cam package. > Put the code in ~/indigo/src. Then you must to be located on ~/indigo (cd ~/indigo). Take in account that ROS has his own compilation chain (don't use cmake). Execute the following command:> catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --pkg usb_cam But I wasn't to make it sucessfully. It shows: /root/indigo/install_isolated/lib/libcamera_calibration_parsers.so: undefined reference to `YAML::Emitter::SetLocalValue(YAML::EMITTER_MANIP)' collect2: ld returned 1 exit status make[2]: *** [/root/indigo/devel/lib/usb_cam/usb_cam_node] Error 1 make[1]: *** [usb_cam/CMakeFiles/usb_cam_node.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j1 -l1” failed root@beaglebone:~/indigo# rosrun image_view image_view image:=/camera/image [rospack] Error: package 'image_view' not found root@beaglebone:~/indigo# Does anyone able to help me? if so, I'd really appreciated, please ! Tsao ------------------------------------------------------------------------------------- Hey... there are the following that I cannot find my catkin_ws root@beaglebone:~# ls ArduCopter.elf ardupilot CHANGES.txt indigo rt-tests tools wifi root@beaglebone:~# cd indigo/ root@beaglebone:~/indigo# ls install_isolated root@beaglebone:~/indigo# cd install_isolated/ root@beaglebone:~/indigo/install_isolated# ls bin env.sh etc include lib setup.bash setup.sh _setup_util.py setup.zsh share root@beaglebone:~/indigo/install_isolated# cd share/ root@beaglebone:~/indigo/install_isolated/share# ls

Trouble using default Boost libraries.

$
0
0
Hello, I am having trouble using the priority queue from the default Boost installation with my ros node. Some libraries can be found, and some cannot. I can find the basics like system, thread, and signals, but I cannot find lambda or priority_queue. Error Message: CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message): Unable to find the requested Boost libraries. Boost version: 1.54.0 Boost include path: /usr/include Could not find the following Boost libraries: boost_lambda boost_heap Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:16 (find_package) My CMakesList.txt. The comments are things that did not work. #SET (Boost_LIB_PREFIX "") #SET(BOOST_LIBRARYDIR "/usr/lib/x86_64-linux-gnu") find_package(Boost REQUIRED COMPONENTS system thread signals lambda priority_queue ) EDIT: I'm using Ubuntu 14.04.2 LTS and ROS Hydro compiled from source

Error trying to "catkin_make" ar_pose package

$
0
0
Hello everyone, I need to read some tags using the kinect. However, even after I installed the dependencies and built the package (commands `rosdep install ar_pose -i` and `rosmake ar_pose`), when I try to launch the test: roslaunch ar_pose ar_pose_single.launch I receive the following error: ERROR: cannot launch node of type [ar_pose/ar_single]: can't locate node [ar_single] in package [ar_pose] I cloned the package from [ar_tools](http://wiki.ros.org/ar_tools) and built in my catkin workspace. Can anyone help me? I'm working with ROS Indigo on Ubuntu 14.04. ***EDIT1:*** Dan, thanks again for your help. I already tried that with no success, I still get the same error when I try to catkin_make. I even erased my build and devel folders to build up my workspace again. ***EDIT2:*** Dan, Thanks for your answer. However, I'm still experiencing a problem. When I try to `catkin_make install` I receive the following error: Do you know what could be the problem? Linking CXX executable /home/leandrosavieira/catkin_ws/devel/lib/ar_pose/ar_multi Linking CXX executable /home/leandrosavieira/catkin_ws/devel/lib/ar_pose/ar_single CMakeFiles/ar_single.dir/src/ar_single.cpp.o: na função `ar_pose::ARSinglePublisher::getTransformationCallback(boost::shared_ptr> const> const&)': ar_single.cpp:(.text+0x318d): referência indefinida para `_IplImage::_IplImage(cv::Mat const&)' CMakeFiles/ar_multi.dir/src/ar_multi.cpp.o: na função `ar_pose::ARMultiPublisher::getTransformationCallback(boost::shared_ptr> const> const&)': ar_multi.cpp:(.text+0x2569): referência indefinida para `_IplImage::_IplImage(cv::Mat const&)' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[2]: ** [/home/leandrosavieira/catkin_ws/devel/lib/ar_pose/ar_single] Erro 1make[2]: ** [/home/leandrosavieira/catkin_ws/devel/lib/ar_pose/ar_multi] Erro 1 make[1]: ** [ar_tools/ar_pose/CMakeFiles/ar_multi.dir/all] Erro 2 make[1]: ** Esperando que outros processos terminem. make[1]: ** [ar_tools/ar_pose/CMakeFiles/ar_single.dir/all] Erro 2 make: ** [all] Erro 2 Invoking "make install -j4 -l4" failed ***EDIT 3:*** I tryed what Dan said but I already had `libopencv-dev` installed in my computer. Therefore, I'm still with the same problem. However, I never used Opencv before so I don't really know if I have to have anything else installed. Do I need to install it from [here](http://opencv.org/downloads.html). ***EDIT 4:*** I think I got it right now after building [vision_opencv](http://wiki.ros.org/vision_opencv) in the catkin_workspace. Opencv was missing in my computer even though I had it in the `share` folder. It now compiles with no errors. Thanks for all the help Dan and Procópio.

catkin_make install binary not found with rosrun

$
0
0
I have a ros package which I compile with `catkin_make install` and then I move the install folder to a remote PC. On this PC the binary within the package isn't found with `rosrun`. The ROS package has the following CMakeLists.txt cmake_minimum_required(VERSION 2.8.3) project(my_app) find_package(catkin REQUIRED COMPONENTS roscpp rospy roslib std_msgs ) catkin_package(CATKIN_DEPENDS roscpp rospy roslib std_msgs) include_directories(${catkin_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src) SET(HDRS src/main.h) SET(SRCS src/main.cpp) add_executable(my_app_node ${HDRS} ${SRCS} ) target_link_libraries(my_app_node ${catkin_LIBRARIES} ) install(TARGETS my_app_node ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) Now I run `catkin_make install` which compiles the package and copies the binary to the install dir `./install/lib/my_app/my_app_node`: ~/catkin_ws $ ls build devel install src ~/catkin_ws $ ls install include lib share env.sh setup.bash setup.sh _setup_util.py setup.zsh ~/catkin_ws $ ll install/lib/my_app total 2.0M -rwxr-xr-x 1 user user 2.0M Mai 28 10:58 my_app_node To execute the app on a remote PC without recompiling it, I only copy the install directory to this PC which already includes the required binary. (Should work, right?) Until here everything works fine. So here is where the problems start: **1. ROS_PACKAGE_PATH** On the remote PC I have to source the setup.bash: `source /home/remote/install/setup.bash` Unfortunately the `ROS_PACKAGE_PATH` doesn't get set by the setup script. Why? (rospack find doesn't find the package `my_app` To circumvent this problem I set it manually: `ROS_PACKAGE_PATH=/home/remote/install:$ROS_PACKAGE_PATH`. Now rospack can find the package. **2. Binary not found with rosrun** Trying to start the node fails: ~/install$ rospack find my_app /home/remote/install/share/my_app ~/install$ rosrun my_app my_app_node [rosrun] Couldn't find executable named my_app_node below /home/remote/install/share/my_app rosrun can't find the binary in the path: `/home/remote/install/lib/my_app/my_app_node`. Why?

Making custom messages, genc error

$
0
0
Hello, I'm trying to use catkin_make to put together a package using custom messages. I'm getting an error about "genc". The error is pasted below. I also am getting the same error when trying to custom message tutorial. Any clues on what package I'm missing? > at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:29 (find_package): By not providing "Findgenc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "genc", but CMake did not find one.> Could not find a package configuration file provided by "genc" with any of the following names: gencConfig.cmake genc-config.cmake > Add the installation prefix of "genc" to CMAKE_PREFIX_PATH or set "genc_DIR" to a directory containing one of the above files. If "genc" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first):> /opt/ros/indigo/share/genmsg/cmake/genmsgConfig.cmake:190 (include) /opt/ros/indigo/share/gencpp/cmake/gencppConfig.cmake:165 (find_package) /opt/ros/indigo/share/message_generation/cmake/message_generationConfig.cmake:165 (find_package) /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package) ratslam_ros/CMakeLists.txt:11 (find_package)

rviz plugin compile

$
0
0
I am trying to install the rviz satellite plugin. https://github.com/gareth-cross/rviz_satellite I clone the package into my catkin workspace/src directory and call catkin make and I get the following error. #### Running command: "make -j4 -l4" in "/home/kris/Projects/fvs/trunk/ros/catkin_ws/build" #### make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so', needed by `/home/kris/Projects/fvs/trunk/ros/catkin_ws/devel/lib/librviz_satellite.so'. Stop. make[1]: *** [rviz_satellite/CMakeFiles/rviz_satellite.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed When I move the package to the root of my catkin workspace it compiles but Rviz is unable to locate it then. How can I compile it while leaving it in the src directory? Thanks.

Problem building ar_kinect

$
0
0
Hello everyone, Can anyone help me? I'm working with ROS Indigo on Ubuntu 14.04. I need to read some tags through artoolkit using a kinect camera. I had cloned [ar_kinect](https://github.com/mikeferguson/ar_kinect) into my catkin_workspace and if I `rospack find ar_kinect` I get `/home/leandrosavieira/catkin_ws/src/ar_kinect`. However, when I try to build the catkin_workspace through `catkin_make --pkg ar_kinect`, I receive an error that the package is not found: Base path: /home/leandrosavieira/catkin_ws Source space: /home/leandrosavieira/catkin_ws/src Build space: /home/leandrosavieira/catkin_ws/build Devel space: /home/leandrosavieira/catkin_ws/devel Install space: /home/leandrosavieira/catkin_ws/install Packages "ar_kinect" not found in the workspace Am I doing anything wrong? I'm new with ROS and I need to make this work soon. --EDIT 1: I also tried to build the package `ar_kinect` using `rosmake ar_kinect`, but I get the following error: [ rosmake ] rosmake starting... [ rosmake ] Packages requested are: ['ar_kinect'] [ rosmake ] Logging to directory /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831 [ rosmake ] Expanded args ['ar_kinect'] to: ['ar_kinect'] [rosmake-0] Starting >>> catkin [ make ] [rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin No Makefile in package catkin [rosmake-1] Starting >>> tf [ make ] [rosmake-1] Finished <<< tf ROS_NOBUILD in package tf No Makefile in package tf [rosmake-1] Starting >>> ar_pose [ make ] [rosmake-3] Starting >>> pcl_ros [ make ] [rosmake-1] Finished <<< ar_pose ROS_NOBUILD in package ar_pose No Makefile in package ar_pose [rosmake-3] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros No Makefile in package pcl_ros [rosmake-3] Starting >>> ar_kinect [ make ] [ rosmake ] Last 40 lines_kinect: 3.1 sec ] [ 1 Active 67/68 Complete ] {------------------------------------------------------------------------------- -- Using CMAKE_PREFIX_PATH: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo -- This workspace overlays: /home/leandrosavieira/catkin_ws/devel;/opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Skip enable_testing() for dry packages -- Using CATKIN_TEST_RESULTS_DIR: /home/leandrosavieira/catkin_ws/src/ar_kinect/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.11 -- Using these message generators: gencpp;genlisp;genpy [rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake [rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake [rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake -- Configuring done -- Generating done -- Build files have been written to: /home/leandrosavieira/catkin_ws/src/ar_kinect/build cd build && make -j4 -l4 make[1]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[2]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[3]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[3]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' [ 0%] Built target rospack_genmsg_libexe make[3]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[3]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' [ 0%] Built target rosbuild_precompile make[3]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[3]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[3]: Entering directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' Linking CXX executable ../bin/ar_kinect /usr/bin/ld: it was not possible to find -lar_pose collect2: error: ld returned 1 exit status make[3]: ** [../bin/ar_kinect] Error 1 make[3]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[2]: ** [CMakeFiles/ar_kinect.dir/all] Error 2 make[2]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' make[1]: ** [all] Error 2 make[1]: Leaving directory `/home/leandrosavieira/catkin_ws/src/ar_kinect/build' -------------------------------------------------------------------------------} [ rosmake ] Output from build of package ar_kinect written to: [ rosmake ] /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831/ar_kinect/build_output.log [rosmake-3] Finished <<< ar_kinect [FAIL] [ 3.23 seconds ] [ rosmake ] Halting due to failure in package ar_kinect. [ rosmake ] Waiting for other threads to complete. [ rosmake ] Results: [ rosmake ] Built 68 packages with 1 failures. [ rosmake ] Summary output to directory [ rosmake ] /home/leandrosavieira/.ros/rosmake/rosmake_output-20150514-170831

catkin_make vs. catkin build for CGAL

$
0
0
Hi all, I have a ROS package, which did work, when I compiled it with "catkin_make". It still compiles with "catkin build" (see [catkin_tools](http://catkin-tools.readthedocs.org)), but it does not run anymore. The created executable is using [CGAL](http://www.cgal.org/), and that library is complaining about some rounding issue, when I compile it with "catkin build". Here is the runtime error: terminate called after throwing an instance of 'CGAL::Assertion_exception' what(): CGAL ERROR: assertion violation! Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1) File: /usr/include/CGAL/Interval_nt.h Line: 209 Explanation: Wrong rounding: did you forget the -frounding-math option if you use GCC (or -fp-model strict for Intel)? Aborted (core dumped) Does anybody has a clue, why catkin build breaks it? Here is my CMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) project(msl_base) ## Use c++ 11x std set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") ## Enable exception handling for segfaults set(CMAKE_CXX_FLAGS "-rdynamic -g -fnon-call-exceptions -ggdb ${CMAKE_CXX_FLAGS}") ## Used for cgal set(CGAL_DONT_OVERRIDE_CMAKE_FLAGS TRUE CACHE BOOL "Don't override flags") set(CMAKE_CXX_FLAGS "-lCGAL -lCGAL_Core -frounding-math ${CMAKE_CXX_FLAGS}") ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages find_package(catkin REQUIRED COMPONENTS roscpp system_config system_util fsystem autodiff event_handling alica_engine alica_ros_proxy msl_expressions msl_worldmodel ) find_package(CGAL REQUIRED COMPONENTS Core) ################################### ## catkin specific configuration ## ################################### ## The catkin_package macro generates cmake config files for your package ## Declare things to be passed to dependent projects ## INCLUDE_DIRS: uncomment this if you package contains header files ## LIBRARIES: libraries you create in this project that dependent projects also need ## CATKIN_DEPENDS: catkin_packages dependent projects also need ## DEPENDS: system dependencies of this project that dependent projects also need catkin_package( INCLUDE_DIRS include LIBRARIES CATKIN_DEPENDS alica_engine alica_ros_proxy msl_expressions msl_simulator msl_worldmodel DEPENDS cgal ) ########### ## Build ## ########### ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories(include ${catkin_INCLUDE_DIRS} ${CGAL_INCLUDE_DIRS}) include(${CGAL_USE_FILE}) ## Declare a cpp executable add_executable(msl_base src/Base.cpp) ## Specify libraries to link a library or executable target against target_link_libraries(msl_base ${catkin_LIBRARIES} ${CGAL_LIBRARIES}) ## Add cmake target dependencies of the executable/library ## as an example, message headers may need to be generated before nodes add_dependencies(msl_base ${catkin_LIBRARIES} ${CGAL_LIBRARIES})
Viewing all 417 articles
Browse latest View live


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