Ask Your Question

daniel_maier's profile - activity

2018-04-12 04:11:53 -0600 commented question moveit incomplete cartesian path execution

I also observed the same behavior. It seems to work a bit better if I use TracIK instead of KDL but I hard get close to

2017-02-07 22:31:56 -0600 received badge  Famous Question (source)
2015-08-15 05:47:32 -0600 received badge  Notable Question (source)
2015-08-15 05:47:32 -0600 received badge  Popular Question (source)
2015-01-28 05:01:19 -0600 asked a question Register protected callback in base class

Hi! The compiler complains about me trying to subscribe to messages and register a parent's class protected callback method. Here is the (simplified) code:

class Base{
public:
Base () {}
protected:
void callback(const CameraInfoConstPtr & msg) { ... }
ros::Subscriber sub;
}

class Derived : public Base{
public:
Derived() {
NodeHandle nh;
sub = nh.subscribe("topic", 1,
        &Base::callback,
dynamic_cast<Base*>(this));
}
}

And this is the compiler (g++) error:

error: 'void Base::callback(const CameraInfoConstPtr&)' is protected

The problem dissolves if I make the callback public, but I do not want to do that. Can somebody explain why it does not work and show a workaround? Thank you!

2014-01-29 01:10:07 -0600 received badge  Famous Question (source)
2014-01-28 17:26:30 -0600 marked best answer kforgeproject.com down

I don't know if this is really something for answers.ros.org, but kforgeproject.com is down for at least 2 months now. Is the project discontinued?

2014-01-28 17:24:41 -0600 marked best answer how to migrate bag file containing roslib/Log and visualization_msgs/MarkerArray

Hi!

I want to migrate a bag file containing recorded with Diamondback to Electric. The bag contains roslib/Log messages which seem to be missing in Electric, plus visualization_msgs/MarkerArray for which there are no migration rules.

So I run rosbag fix xxx.bag xxx-fixed.bag and after a while I am confronted with the message:

* From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
   To:   Unknown
    1 rules missing:
     * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
       To:   Unknown
 * From: visualization_msgs/MarkerArray [f10fe193d6fac1bf68fad5d31da421a7]
   To:   visualization_msgs/MarkerArray [90da67007c26525f655c1c269094e39f]
    1 rules missing:
     * From: visualization_msgs/Marker [bc7602ad2ba78f4cbe1c23250683bdc0]
       To:   visualization_msgs/Marker [18326976df9d29249efc939e00342cde]
Try running 'rosbag check' to create the necessary rule files or run 'rosbag fix' with the '--force' option.

So I do as it wishes and run rosbag check 2011-06-24-19-30-36.bag -g myRule.bmr which results in:

WARNING: Within rule [GENERATED.update_visualization_msgs_MarkerArray_f10fe193d6fac1bf68fad5d31da421a7] cannot migrate from subtype [Marker] to [Marker]..
The following migrations need to occur:
 * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
   To:   Unknown
    1 rules missing:
     * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
       To:   Unknown
 * From: visualization_msgs/MarkerArray [f10fe193d6fac1bf68fad5d31da421a7]
   To:   visualization_msgs/MarkerArray [90da67007c26525f655c1c269094e39f]
    1 rules missing:
     * From: visualization_msgs/Marker [bc7602ad2ba78f4cbe1c23250683bdc0]
       To:   visualization_msgs/Marker [18326976df9d29249efc939e00342cde]
The message type roslib/Log appears to have moved.  Please enter the type to migrate it to.
>

What am I supposed to do now? And does anyone have a migration rule for the MarkerArrays or know how to auto-generate them?

2013-07-27 08:04:55 -0600 received badge  Taxonomist
2013-06-22 17:11:01 -0600 received badge  Famous Question (source)
2013-06-13 23:48:22 -0600 commented question cross compilation of groovy using catkin: librospack.so not found

I am just following the instructions from here: http://ros.org/wiki/groovy/Installation/Source. I am not moving anything manually. Is there anything I can do to (help) debug this problem? readelf -d ./install_isolated/lib/libroslib.so shows no RPATH entry. However, neither does readelf -d /opt/ros/groovy/lib/libroslib.so (and I installed this one via apt-get) or my natively (i.e. without cross-compilation) built libroslib.so.

2013-06-13 23:45:04 -0600 received badge  Notable Question (source)
2013-06-10 08:11:46 -0600 received badge  Popular Question (source)
2013-06-06 06:15:21 -0600 asked a question cross compilation of groovy using catkin: librospack.so not found

Hi,

I am trying to cross compile ROS groovy on a x86_64 machine for an atom 32 bit system. I got my toolchain file setup, cross-compiled the dependencies (log4cxx, poco), created a catkin workspace with

wstool init src -j8 http://packages.ros.org/web/rosinstall/generate/raw/groovy/robot

and finally started compiling the system with

./src/catkin/bin/catkin_make_isolated --install --cmake-args -DCMAKE_TOOLCHAIN_FILE=/mytoolchain_file

Here is when everything starts breaking apart:

<== Finished processing package [45 of 100]: 'rosconsole'
==> Processing catkin package: 'pluginlib'
==> Building with env: '/home/maierd/ros/ros_catkin_ws/install_isolated/env.sh'
==> cmake /home/maierd/ros/ros_catkin_ws/src/pluginlib -DCATKIN_DEVEL_PREFIX=/home/maierd/ros/ros_catkin_ws/devel_isolated/pluginlib -DCMAKE_INSTALL_PREFIX=/home/maierd/ros/ros_catkin_ws/install_isolated -DCMAKE_TOOLCHAIN_FILE=/home/maierd/cross/groovy/toolchain
-- Using CATKIN_DEVEL_PREFIX: /home/maierd/ros/ros_catkin_ws/devel_isolated/pluginlib
-- Using CMAKE_PREFIX_PATH: /home/maierd/ros/ros_catkin_ws/install_isolated
-- This workspace overlays: /home/maierd/ros/ros_catkin_ws/install_isolated
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/maierd/ros/ros_catkin_ws/build_isolated/pluginlib/test_results
-- catkin 0.5.65
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE


...

make[2]: Entering directory `/home/maierd/ros/ros_catkin_ws/build_isolated/pluginlib'
Linking CXX executable CMakeFiles/CMakeRelink.dir/plugin_tool
/usr/bin/cmake -E cmake_link_script CMakeFiles/plugin_tool.dir/relink.txt --verbose=1
/home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/cross/bin/i686-aldebaran-linux-gnu-g++    --sysroot /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3//sysroot/ -pipe -fomit-frame-pointer -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -m32 -mtune=generic -DOE_CROSS_BUILD -g  -Wl,--sysroot,/home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3//sysroot/ CMakeFiles/plugin_tool.dir/src/plugin_tool.cpp.o  -o CMakeFiles/CMakeRelink.dir/plugin_tool -rdynamic -L/media/external/ros/groovy-atom-1.14.3/ros-deps/lib /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libclass_loader.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_thread-mt.so /media/external/ros/groovy-atom-1.14.3/ros-deps/lib/libPocoFoundationd.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libdl.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libconsole_bridge.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_system-mt.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/librosconsole.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_regex-mt.so /media/external/ros/groovy-atom-1.14.3/ros-deps/lib/liblog4cxx.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libcpp_common.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/librostime.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_date_time-mt.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libroslib.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_filesystem-mt.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_system-mt.so -ltinyxml /home/maierd/ros/ros_catkin_ws/install_isolated/lib/librosconsole.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_regex-mt.so /media/external/ros/groovy-atom-1.14.3/ros-deps/lib/liblog4cxx.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libcpp_common.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/librostime.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_date_time-mt.so /home/maierd/ros/ros_catkin_ws/install_isolated/lib/libroslib.so /home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/sysroot/usr/lib/libboost_filesystem-mt.so -ltinyxml 
/home/maierd/cross/linux64-nao-atom-cross-toolchain-1.14.3/cross/bin/../lib/gcc/i686-aldebaran-linux-gnu/4.5.3/../../../../i686-aldebaran-linux-gnu ...
(more)
2013-02-14 15:05:02 -0600 marked best answer cross compile ROS fuerte: Log4cxx cmake

I am trying to compile ROS Fuerte for the Nao (atom) platform but ran into some errors. I downloaded ros-underlay, created the build folder and called cmake, but it fails with:

 CMake Warning at ros_comm/tools/rosconsole/CMakeLists.txt:28 (find_package):
  Could not find module FindLog4cxx.cmake or a configuration file for package
  Log4cxx.

  Adjust CMAKE_MODULE_PATH to find FindLog4cxx.cmake or set Log4cxx_DIR to
  the directory containing a CMake configuration file for Log4cxx.  The file
  will have one of the following names:

    Log4cxxConfig.cmake
    log4cxx-config.cmake



  CMake Error at ros_comm/tools/rosconsole/CMakeLists.txt:34 (message):
  Couldn't find log4cxx library

Apparently, it is missing a log4cxx cmake config or a FindLog4cxx.cmake file. As log4cxx is a automake project, there are no cmake config files shipped with it, so where am I supposed to get that file from? In my case, I cross-compiled log4cxx, so I cannot use the system-wide installed version. Is there an easy workaround? I tried cmake-gui and set the path to the library, but it failed to find the log4cxx-includes when building rosconsole.

2012-10-04 01:13:51 -0600 received badge  Popular Question (source)
2012-10-04 01:13:51 -0600 received badge  Notable Question (source)
2012-10-04 01:13:51 -0600 received badge  Famous Question (source)
2012-10-04 01:13:41 -0600 received badge  Famous Question (source)
2012-10-04 01:13:41 -0600 received badge  Notable Question (source)
2012-10-04 01:13:41 -0600 received badge  Popular Question (source)
2012-09-04 22:58:52 -0600 answered a question Aldebaran NAO Cross-Compilation. I canĀ“t generate rostoolchain files.

just past the contents of the box in the wiki page into your terminal. It will generate a rostoolchain.cmake file

2012-08-31 03:46:03 -0600 received badge  Commentator
2012-08-30 04:43:51 -0600 received badge  Notable Question (source)
2012-08-30 04:43:51 -0600 received badge  Famous Question (source)
2012-08-20 18:33:22 -0600 received badge  Notable Question (source)
2012-08-20 18:33:22 -0600 received badge  Popular Question (source)
2012-08-16 22:08:27 -0600 commented answer error when compiling packages on crosscompile ros for nao robot

you also used a different path which lets me assume that you did not just copy&paste the instructions. there will be a tutorial for fuerte comming soon, maybe you also want to wait for that?

2012-08-16 22:04:39 -0600 answered a question How to solve 'ros-fuerte-octovis : Depends: libqt4 but it is not installable' ?

You can solve this by downloading the appropriate deps from http://50.28.27.175/repos/building/pool/main/r/ros-fuerte-octovis/

and install them using dpkg

2012-08-15 01:41:40 -0600 answered a question error when compiling packages on crosscompile ros for nao robot

can you try to follow the tutorial exactly as described in the tutorial, step-by-step and just copy&paste the shell scripts/commands into your terminal, leaving everything unchanged?

2012-07-18 04:48:17 -0600 received badge  Good Answer (source)
2012-07-12 22:42:06 -0600 commented question Error when installing ROS for Nao robot

What version of ROS are you trying to compile? What command caused that error message?

2012-07-11 22:50:39 -0600 commented answer kforgeproject.com down

Tried that, cannot create a new account for opening tickets..