ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

focs's profile - activity

2015-02-24 15:17:35 -0500 received badge  Taxonomist
2014-03-04 01:31:23 -0500 answered a question gazebo_ros_pkgs pulled in by turtlebot packages fails because of eigen

Solution:

Use newer version of eigen according to:

www.pcl-users.org/Cant-Generate-Execu...

2014-03-04 01:30:19 -0500 received badge  Famous Question (source)
2014-01-15 09:02:35 -0500 received badge  Famous Question (source)
2013-11-12 15:20:21 -0500 received badge  Notable Question (source)
2013-11-12 15:20:21 -0500 received badge  Popular Question (source)
2013-10-09 11:45:46 -0500 asked a question gazebo_ros_pkgs pulled in by turtlebot packages fails because of eigen

Hello, I have my basic ros groovy system working on my gentoo machine. Now I need to use a kobuki and so I tried to install all the nodes from the turtlebot from source like in:

http://mirror .umd.edu/roswiki/turtlebot(2f)Tutorials(2f)groovy(2f)Installation.htmlTutorials(2f)groovy(2f)Installation.html)

Also I had to slowly add all the dependencies one by one and I got all of them to compile until I had to face gazebo.

In this case I found to ways to have it running on groovy, one is to use the rosbuild package but I hat problems to compile it and also I don't know how to "install" rosbuild nodes into /opt/ros/groovy as I do with catkin packages.

The second way (the standard in hydro) is to have the official version of gazebo (I have the 1.9) and install gazebo_ros_pkgs to make the connections with ros which is what I wanted as they say in:

http://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages

Now I'm facing some problems to compile what I think it's openni_driver with the following error:

Built target kobuki_msgs_gencpp
[ 23%] Built target openni_camera_gencfg
[ 23%] Built target DepthImageToLaserScan
Scanning dependencies of target kobuki_bumper2pc_nodelet
[ 23%] Built target gazebo_plugins_gencfg
[ 23%] Building CXX object kobuki/kobuki_bumper2pc/CMakeFiles/kobuki_bumper2pc_nodelet.dir/src/kobuki_bumper2pc.cpp.o
[ 24%] Built target openni_driver
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libMultiCameraPlugin.so
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_block_laser.so
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_camera_utils.so
///usr/usrlib//gcc/libx86_64/-gccpc/-x86_64linux--pcgnu-/linux4.6.3-/gnu./.4.6.3//....//....//....//x86_64.-.pc/-x86_64linux--pcgnu-/linuxbin-/gnuld/:bin /ld: Eigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSizeEigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSize::  TLSTLS  definitiondefinition  inin  //optopt//rosros//groovygroovy//lib64lib64//libpcl_sample_consensus.solibpcl_sample_consensus.so  sectionsection  ..tbsstbss  mismatchesmismatches  nonnon--TLSTLS  definitiondefinition  inin  //optopt//rosros//groovygroovy//liblib//libopencv_contrib.solibopencv_contrib.so  sectionsection  ..bssbss

//optopt//rosros//groovygroovy//liblib//libopencv_contrib.solibopencv_contrib.so::  couldcould  notnot  readread  symbolssymbols::  BadBad  valuevalue

collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: Eigen::internal::manage_caching_sizes(Eigen::Action, long*, long*)::m_l2CacheSize: TLS definition in /opt/ros/groovy/lib64/libpcl_sample_consensus.so section .tbss mismatches non-TLS definition in /opt/ros/groovy/lib/libopencv_contrib.so section .bss
/opt/ros/groovy/lib/libopencv_contrib.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_block_laser.so] Error 1
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libMultiCameraPlugin.so] Error 1
make[2]: *** [/home/fox/turtlebot-catkin/devel/lib/libgazebo_ros_camera_utils.so] Error 1
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/MultiCameraPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/gazebo_ros_block_laser.dir/all] Error 2
make[1]: *** [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/gazebo_ros_camera_utils.dir/all] Error 2
Linking CXX shared library /home/fox/turtlebot-catkin/devel/lib/libkobuki_bumper2pc_nodelet.so
[ 24%] Built target kobuki_bumper2pc_nodelet
make: *** [all] Error 2
Invoking "make" failed

I read ... (more)

2013-10-08 12:01:50 -0500 received badge  Notable Question (source)
2013-10-08 02:55:11 -0500 answered a question Authorization required when checking-out bullet from kforge.

Hi, I'm having the same problem. I need this package in order to build gazebo. Has it been moved somewhere else? I can just edit my .rosinstall to point it there.

By the way, I can install bullet from my system package manager (emerge in gentoo), is there a way that gazebo can use it's .pc instead?

Actually gazebo is being pulled in by some turtlebot node which is what I REALLY need. I was able to install gazebo from its webside (1.9) as it's recommended even though I think it only works for Hydro (I'm currently using Groovy). Is there a way to make the turtlebot nodes use this version in groovy? libs are accessible by pkg-config too.

Thanks

2013-09-23 22:03:23 -0500 received badge  Famous Question (source)
2013-07-31 00:24:59 -0500 received badge  Notable Question (source)
2013-07-29 01:10:12 -0500 commented question turtlebot2 /odom and base_footprint tf

Thanks! that confirms my thoughts.

2013-07-22 05:15:41 -0500 received badge  Popular Question (source)
2013-07-18 22:41:07 -0500 asked a question turtlebot2 /odom and base_footprint tf

Hello, I've been working with a turtlebot with a roomba base for which I developed some very simple algorithm like just going to a point. To know the current position of the robot I used the /odom message published by the turtlebot. To visualize the result I plotted the base_footprint on rviz. The robot was moving correctly and it reached the correct position in rviz.

Now we got some new turtlebot 2 with kobuki base on which I tried to apply the same algorithm. In this case the position given by the /odom message was different to the position given by the base_footprint tf. For instance /odom would say that the robot hat reached the position (0,0), actually with about half a meter of error, but the base_footprint tf was giving a different position, in rviz the robot was not at (0,0) but half meter away or so.

I would like to know it that behavior is normal or not. One difference between the two robots is that second one has a gyro and the other doesn't. Could it be that one of the measures is integrating it and the other is not?

Thanks

2013-07-17 01:06:00 -0500 received badge  Popular Question (source)
2013-06-20 06:08:05 -0500 received badge  Supporter (source)
2013-06-20 05:56:20 -0500 answered a question error building groovy from source --> move_base_msgs notfound

Why is it so hard to install ros on Gentoo? After 2 days and nearly there just as you are.

This package can be installed with:

$roslocate info move_base_msgs
- git:
    local-name: move_base_msgs
    uri:
    version: groovy-devel

$roslocate info move_base_msgs | wstool merge -
$wstool update

I think it may ask for more dependencies later on. Also we should write the process of installation we followed somewhere because there is an incredible lack of information.

After I add this package it asks for more things:

Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests base_local_planner
  [rospack] Error: package/stack 'costmap_2d' depends on non-existent package 'pcl_ros' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'

I don't know if I should follow the same procedure with this one. I know pcl is big.

2013-06-20 04:12:25 -0500 received badge  Editor (source)
2013-06-20 04:11:25 -0500 answered a question Building gencpp from source

I have the same problem building it from gentoo. Well, atcually I do have the .cmake file in the indicated folder but still cmake doesn't find it. Did you manage do solve it?

Also with genpy.

Edit:

$ ls /usr/local/share/genmsg/cmake/ -l total 44
-rw-r--r-- 1 root root  6126 Jun 20 17:42 genmsgConfig.cmake
-rw-r--r-- 1 root root   427 Jun 20 17:42 genmsgConfig-version.cmake
-rw-r--r-- 1 root root 10757 Jun 20 17:46 genmsg-extras.cmake
-rw-r--r-- 1 root root  4219 Jun 19 19:53 pkg-genmsg.cmake.em
-rw-r--r-- 1 root root   364 Jun 19 19:53 pkg-genmsg.context.in
-rw-r--r-- 1 root root   104 Jun 19 19:53 pkg-msg-extras.cmake.in
-rw-r--r-- 1 root root   118 Jun 19 19:53 pkg-msg-paths.cmake.in

We can see that the file is there, or at least a file with the indicated name.

cmake -DCMAKE_PREFIX_PATH=/usr/local/share/genmsg/cmake/ ..
-- Using CATKIN_DEVEL_PREFIX: /home/fox/Downloads/gencpp/build/devel
-- Using CMAKE_PREFIX_PATH: /usr/local/share/genmsg/cmake/
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/fox/Downloads/gencpp/build/test_results
-- catkin 0.5.67
CMake Error at /usr/local/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a package configuration file provided by "genmsg" with any
  of the following names:

    genmsgConfig.cmake
    genmsg-config.cmake

  Add the installation prefix of "genmsg" to CMAKE_PREFIX_PATH or set
  "genmsg_DIR" to a directory containing one of the above files.  If "genmsg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!

But still it does not work. I tried too with the path to genmsg:

$ cmake -DCMAKE_PREFIX_PATH=/usr/local/share/genmsg/ ..
-- Using CATKIN_DEVEL_PREFIX: /home/fox/Downloads/gencpp/build/devel
-- Using CMAKE_PREFIX_PATH: /usr/local/share/genmsg/
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/fox/Downloads/gencpp/build/test_results
-- catkin 0.5.67
CMake Error at /usr/local/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a package configuration file provided by "genmsg" with any
  of the following names:

    genmsgConfig.cmake
    genmsg-config.cmake

  Add the installation prefix of "genmsg" to CMAKE_PREFIX_PATH or set
  "genmsg_DIR" to a directory containing one of the above files.  If "genmsg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!

But I managed to compile the system without this. Now some packages are crashing while running rosmake -a.

[ rosmake ] All 21 linesobot_pose_ekf: 0.5 sec ]... [ 4 Active 35/109 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake  ..
  [rosbuild] Building package robot_pose_ekf
  Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests robot_pose_ekf
  [rospack] Error: package/stack 'robot_pose_ekf' depends on non-existent package 'bfl' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'


  CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake ...
(more)
2013-06-19 04:57:05 -0500 answered a question Fails to compile rviz on Gentoo

Apart from the file line.cpp I had to edit three more files. To sumup:

line.cpp: add #include <boost/cstdint.hpp>
interactive_object.h: add #include <boost/weak_ptr.hpp>
interactive_marker.h: add #include <boost/thread.hpp>
map_display.h: add #include <boost/thread/mutex.hpp>

After this changes rviz compiled ok. Should I submit the bug somewhere?

2013-06-19 02:56:10 -0500 commented answer SLAM motion and measurement models

This pdf has more or less all the needed parts: webdiis.unizar.es/~neira/SLAM.pdf‎

2013-06-19 01:59:07 -0500 answered a question SLAM motion and measurement models

Hi, I just did a similar project last semester. The motion will depend on the robot you are using. For the measurement model we extracted lines from the cloud of points and registered the robot with them.

2013-06-19 01:56:23 -0500 asked a question Fails to compile rviz on Gentoo

Hello, I'm trying to install ros groovy on my gentoo system. I more or less followed the instructions on the tutorial and solver the dependencies problems so far.

But now I face a problem that is apparently not related to external libraries while compiling rviz:


[ 26%] Building CXX object src/rviz/CMakeFiles/rviz.dir/ogre_helpers/ogre_render_queue_clearer.cpp.o
/home/fox/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/line.cpp: In constructor 'rviz::Line::Line(Ogre::SceneManager*, Ogre::SceneNode*)':
/home/fox/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/line.cpp:54:10: error: **'uint32_t' does not name a type**
/home/fox/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/line.cpp:56:27: error: 'count' was not declared in this scope
/home/fox/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/line.cpp:56:27: note: suggested alternative:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/bits/stl_algo.h:4582:5: note:   'std::count'
make[2]:  [src/rviz/CMakeFiles/rviz.dir/ogre_helpers/line.cpp.o] Error 1
make[2]:  Waiting for unfinished jobs....
make[1]:  [src/rviz/CMakeFiles/rviz.dir/all] Error 2
make: [all] Error 2
Traceback (most recent call last):
  File "./src/catkin/bin/../python/catkin/builder.py", line 717, in build_workspace_isolated
    number=index + 1, of=len(ordered_packages)
  File "./src/catkin/bin/../python/catkin/builder.py", line 497, in build_package
    install, force_cmake, quiet, last_env, cmake_args, make_args + catkin_make_args
  File "./src/catkin/bin/../python/catkin/builder.py", line 353, in build_catkin_package
    run_command(make_cmd, build_dir, quiet)
  File "./src/catkin/bin/../python/catkin/builder.py", line 198, in run_command
    raise subprocess.CalledProcessError(proc.returncode, ' '.join(cmd))
CalledProcessError: Command '/home/fox/ros_catkin_ws/devel_isolated/robot_state_publisher/env.sh make -j4 -l4' returned non-zero exit status 2
<== Failed to process package 'rviz': 
  Command '/home/fox/ros_catkin_ws/devel_isolated/robot_state_publisher/env.sh make -j4 -l4' returned non-zero exit status 2

Reproduce this error by running:
==> /home/fox/ros_catkin_ws/devel_isolated/robot_state_publisher/env.sh make -j4 -l4

Command failed, exiting.

Here the problem is uint32_t is not defined. I solved this problem by adding #include <boost/cstdint.hpp> in the file line.cpp. I'm not sure if that's the good way to go but it does the trick for this file but I encounter an other problem:

[ 14%] Building CXX object src/rviz/CMakeFiles/rviz.dir/time_panel.cpp.o
In file included from /home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_manager.h:38:0,
                 from /home/fox/ros_catkin_ws/src/rviz/src/rviz/selection_panel.cpp:33:
/home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_handler.h:169:25: error: **field 'interactive_object_' has incomplete type**
make[2]:  [src/rviz/CMakeFiles/rviz.dir/selection_panel.cpp.o] Error 1
make[2]:  Waiting for unfinished jobs....
In file included from /home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_manager.h:38:0,
                 from /home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_handler.cpp:39:
/home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_handler.h:169:25: error: field 'interactive_object_' has incomplete type
/home/fox/ros_catkin_ws/src/rviz/src/rviz/selection/selection_handler.cpp: In member function 'virtual ...
(more)