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

boFFeL's profile - activity

2014-11-23 03:03:35 -0500 received badge  Notable Question (source)
2014-11-23 03:03:35 -0500 received badge  Popular Question (source)
2013-10-10 03:31:28 -0500 received badge  Famous Question (source)
2013-10-10 03:31:28 -0500 received badge  Notable Question (source)
2013-03-25 07:04:51 -0500 received badge  Popular Question (source)
2013-03-06 05:07:57 -0500 received badge  Famous Question (source)
2013-03-06 05:07:57 -0500 received badge  Notable Question (source)
2013-03-01 02:21:44 -0500 asked a question OpenCV setMouseCallback

Hi,

i am trying to set a mouseCallback function using openCV within an ros application.

So i defined a function prototype within my class defintion object_tracker looking like this:

class object_tracker
{    
public:
    ...
private:
    void onMouse( int event, int x, int y, int flags, void* param );

Function itself looks like this:

void object_tracker::onMouse( int event, int x, int y, int flags, void* param )
{
...
}

When i now set the mouseCallback

setMouseCallback( "CamShift Demo", object_tracker::onMouse, 0 );

it says:

/home/namco/ros/ object_tracker/src/object_tracker.cpp:323: Fehler:argument of type ‘void ( object_tracker::)(int, int, int, int, void)’ does not match ‘cv::MouseCallback {aka void ( *)(int, int, int, int, void)}’

But when i use this with normal cpp, everything works fine. What's wrong?

2013-02-20 23:37:35 -0500 asked a question re_ocject_recorder no point cloud found

Hi, I am trying to record objects with a kinect using ar_bounding_box and re_object_recorder. I installed them via roboearth stack (with svn up -r2047). I'm using Ubuntu 11.10 with ROS electric.

Here is what I did:

roslaunch openni_launch openni.launch
roslaunch ar_bounding_box ar_kinect.launch 
rosrun re_object_recorder record_gui

I set the registered_depth param true in device.launch, which is included by openni.launch.

Everything seems to run fine, but the the resulting_pcl topic stays empty. http://imageshack.us/a/img221/6375/nopointcloud.png (image description) http://imageshack.us/a/img21/4997/objectpointcloud.png (image description)

The only PointCloud2 topic, that's filled, is the /camera/depth_registered/points http://imageshack.us/a/img4/6539/cameradepthregisteredpo.png (image description)

But I also can't show this Point Cloud in rviz: http://imageshack.us/a/img341/6861/rvizjpg.png (image description)

http://imageshack.us/a/img839/4711/rxgraph.png (image description)

What am i doing wrong?

2012-12-04 12:46:06 -0500 received badge  Popular Question (source)
2012-11-16 04:28:45 -0500 asked a question Youbot Inverse Kinematics using Planning Description Configuration Wizard

Hi,

did anyone try the arm_navigation Tutorials to get an inverse kinematic for the KUKA youbot including the collision avoidance?

The provided inverse kinematics control in rviz doesn't work as i expected.

Here is what i did:

I created the urdf file using xacro:

rosrun xacro xacro.py `rospack find youbot_description`/robots/youbot_arm.urdf.xacro
-o `rospack find youbot_navigation`/urdf/my_youbot.urdf

youbot_navigation is a package i created for storing files containing the youbot. I also altered the name from youbot to my_youbot inside the created urdf file, because the wizard uses the name later to create a package called robotname_arm_navigation and this already exists in my ROS environment.

Next i checked the file:

rosrun urdf check_urdf `rospack find youbout_navigation`/urdf/my_youbot.urdf

and got the following output:

robot name is: my_youbot
---------- Successfully Parsed XML ---------------
root Link: base_link has 1 child(ren)
    child(1):  arm_link_0
        child(1):  arm_link_1
            child(1):  arm_link_2
                child(1):  arm_link_3
                    child(1):  arm_link_4
                        child(1):  arm_link_5
                            child(1):  gripper_palm_link
                                child(1):  gripper_finger_link_l
                                child(2):  gripper_finger_link_r

Then i started the Wizard:

roslaunch planning_environment planning_description_configuration_wizard.launch urdf_package:=youbot_navigation urdf_path:=urdf/my_youbot.urdf

I tested various settings, using the easy or the advanced mode, dense or sparse sampling modes. For the kinematic chain i added the group:

Base Link:    arm_link_0
Tip Link:     arm_link_5

Afterwards i choosed a directory and the wizard created the package. At least i launch the vizualiser via:

roslaunch my_youbot_arm_navigation planning_components_visualizer.launch

When i now click interact and try to use the ik_control only very few movements can be solved. I can only use translation of or rotation around the x-axis of arm_link_5 in a small range. All other positions i navigate the tip link to can not be solved, though i think they should be possible.

Using the manual joint control many many more positions can be solved. Is it because i'm not precise enough moving the tip link in a possible position? Did i do anything else wrong?

2012-11-11 01:52:31 -0500 received badge  Famous Question (source)
2012-11-08 10:09:21 -0500 commented answer fatal error Eigen/core: No such file or directory

I'm not on the right computer to test it right now, but then i don't understand the eigen ROS Wiki concerning ROS electric. Anyway, also thanks for your reply...

2012-11-08 01:46:28 -0500 commented question fatal error Eigen/core: No such file or directory

It's also set to /usr/include/eigen3. Hmm :-(

2012-11-07 09:37:18 -0500 received badge  Notable Question (source)
2012-11-07 08:48:12 -0500 commented question fatal error Eigen/core: No such file or directory

If I message Variables at the end of CMakeList.txt I get TRUE for EIGEN_FOUND, /usr/include/eigen3 for EIGEN_INCLUDE_DIR and 3.0.1 for EIGEN_VERSION

2012-11-07 05:27:10 -0500 commented question fatal error Eigen/core: No such file or directory

Okay, I see what you mean. FindEigen should produce EIGEN_FOUND, EIGEN_INCLUDE_DIR and EIGEN_VERSION, correct? So they should be via echo $EIGEN_FOUND available after rosmake? Or after running CMakeList.txt? I use QtCreator in which i can run them. Nevertheless there are no Variables available.

2012-11-07 05:07:05 -0500 received badge  Popular Question (source)
2012-11-07 05:01:49 -0500 received badge  Editor (source)
2012-11-07 03:38:19 -0500 answered a question fatal error Eigen/core: No such file or directory

Ah, ok sorry. Just referred to the errors. Here the rosmake output:

[ rosmake ] No package specified.  Building ['testEigen']                                                         
[ rosmake ] Packages requested are: ['testEigen']                                                                 
[ rosmake ] Logging to directory/home/namco/.ros/rosmake/rosmake_output-20121107-163504                           
[ rosmake ] Expanded args ['testEigen'] to:
['testEigen']                                                         
[ rosmake ] Checking rosdeps compliance for packages testEigen.  This may take a few seconds.                     
[ rosmake ] rosdep check passed all system dependencies in packages                                                                                                                 
[rosmake-0] Starting >>> rosbuild [ make ]                                                                                                                                          
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild                                                                                                                   
 No Makefile in package rosbuild                                                                                                                                                    
[rosmake-1] Starting >>> cpp_common [ make ]                                                                                                                                        
[rosmake-0] Starting >>> roslang [ make ]                                                                                                                                           
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang                                                                                                                     
 No Makefile in package roslang                                                                                                                                                     
[rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common                                                                                                               
[rosmake-0] Starting >>> roslib [ make ]                                                                                                                                            
[rosmake-1] Starting >>> roscpp_traits [ make ]                                                                                                                                     
[rosmake-0] Finished <<< roslib ROS_NOBUILD in package roslib                                                                                                                       
[rosmake-1] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits                                                                                                         
[rosmake-0] Starting >>> rostime [ make ]                                                                                                                                           
[rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime                                                                                                                     
[rosmake-1] Starting >>> xmlrpcpp [ make ]                                                                                                                                          
[rosmake-0] Starting >>> roscpp_serialization [ make ]                                                                                                                              
[rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization                                                                                           
[rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp                                                                                                                   
[rosmake-0] Starting >>> rosconsole [ make ]                                                                                                                                        
[rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole                                                                                                               
[rosmake-1] Starting >>> std_msgs [ make ]                                                                                                                                          
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs                                                                                                                   
[rosmake-0] Starting >>> common_rosdeps [ make ]                                                                                                                                    
[rosmake-1] Starting >>> rosgraph_msgs [ make ]                                                                                                                                     
[rosmake-0] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps                                                                                                       
[rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs                                                                                                         
[rosmake-1] Starting >>> roscpp [ make ]                                                                                                                                            
[rosmake-1] Finished <<< roscpp ROS_NOBUILD in package roscpp                                                                                                                       
[rosmake-1] Starting >>> testEigen [ make ]                                                                                                                                         
[ rosmake ] All 37 linesestEigen: 4.0 sec ]                                                                                                              [ 1 Active 14/15 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package testEigen
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_TOOLCHAIN_FILE


  -- Build files have been written to: /home/namco/ros/testEigen/build
  cd build && make -l2
  make[1]: Entering directory `/home/namco/ros/testEigen/build'
  make[2]: Entering directory `/home/namco/ros/testEigen/build'
  make[3]: Entering directory `/home/namco/ros/testEigen/build'
  make[3]: Leaving directory `/home/namco/ros/testEigen/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/namco/ros/testEigen/build'
  make[3]: Leaving directory `/home/namco/ros/testEigen/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/namco/ros/testEigen/build'
  make[3]: Leaving directory `/home/namco/ros/testEigen/build'
  make[3]: Entering directory `/home/namco/ros/testEigen/build'
  [100%] Building CXX object CMakeFiles/testEigen.dir/src/testEigen.o
  /home/namco/ros/testEigen/src/testEigen.cpp:2:22: fatal error: Eigen/Core: No such file or directory
  compilation terminated.
  make[3]: *** [CMakeFiles/testEigen.dir/src/testEigen.o] Error 1
  make[3]: Leaving directory `/home/namco/ros/testEigen/build'
  make[2]: *** [CMakeFiles/testEigen.dir/all] Error 2
  make[2]: Leaving directory `/home/namco/ros/testEigen/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/namco/ros/testEigen/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package testEigen written to:
[ rosmake ]    /home/namco/.ros/rosmake/rosmake_output-20121107-163504/testEigen/build_output.log ...
(more)
2012-11-07 02:18:16 -0500 commented question fatal error Eigen/core: No such file or directory

No, when i do make VERBOSE=1 it's the same. Only this error and after that compilation is terminated.

2012-11-07 02:17:55 -0500 received badge  Student (source)
2012-11-07 01:42:53 -0500 asked a question fatal error Eigen/core: No such file or directory

Hi everybody,

i'm trying to use eigen with ros electric. I don't know if I'm missing some aspects or just misunderstand the whole thing. I installed eigen via

sudo apt-get install ros-electric-eigen

As mentioned in the eigen Wiki for electric Installation I downloaded the FindEigen.cmake and moved it in the cmake directory of my package.

In the CMakeList.txt I appended

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(Eigen REQUIRED)
include_directories(${EIGEN_INCLUDE_DIRS})

Furthermore I edited the manifest.xml and included

<depend package="common_rosdeps" />
<rosdep name="eigen" />

But now I don't know how to include it within my cpp file. I've had look at the laser_geometry package, where the FindEigen.cmake comes from, but if I do it like this

#include <ros/ros.h>
#include <Eigen/Core>
...

i get an error making my package:

fatal error Eigen/Core: No such file or directory

What do i have to include within my cpp file or am I doing something else quite wrong? Most information I've found does not cover my problem or is referring to Fuerte installs.

thanking you in anticipation

Ah, ok sorry. Just referred to the errors. Here the rosmake output:

[ rosmake ] No package specified.  Building ['testEigen']                                                         
[ rosmake ] Packages requested are: ['testEigen']                                                                 
[ rosmake ] Logging to directory/home/namco/.ros/rosmake/rosmake_output-20121107-163504                           
[ rosmake ] Expanded args ['testEigen'] to:
['testEigen']                                                         
[ rosmake ] Checking rosdeps compliance for packages testEigen.  This may take a few seconds.                     
[ rosmake ] rosdep check passed all system dependencies in packages                                                                                                                 
[rosmake-0] Starting >>> rosbuild [ make ]                                                                                                                                          
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild                                                                                                                   
 No Makefile in package rosbuild                                                                                                                                                    
[rosmake-1] Starting >>> cpp_common [ make ]                                                                                                                                        
[rosmake-0] Starting >>> roslang [ make ]                                                                                                                                           
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang                                                                                                                     
 No Makefile in package roslang                                                                                                                                                     
[rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common                                                                                                               
[rosmake-0] Starting >>> roslib [ make ]                                                                                                                                            
[rosmake-1] Starting >>> roscpp_traits [ make ]                                                                                                                                     
[rosmake-0] Finished <<< roslib ROS_NOBUILD in package roslib                                                                                                                       
[rosmake-1] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits                                                                                                         
[rosmake-0] Starting >>> rostime [ make ]                                                                                                                                           
[rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime                                                                                                                     
[rosmake-1] Starting >>> xmlrpcpp [ make ]                                                                                                                                          
[rosmake-0] Starting >>> roscpp_serialization [ make ]                                                                                                                              
[rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization                                                                                           
[rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp                                                                                                                   
[rosmake-0] Starting >>> rosconsole [ make ]                                                                                                                                        
[rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole                                                                                                               
[rosmake-1] Starting >>> std_msgs [ make ]                                                                                                                                          
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs                                                                                                                   
[rosmake-0] Starting >>> common_rosdeps [ make ]                                                                                                                                    
[rosmake-1] Starting >>> rosgraph_msgs [ make ]                                                                                                                                     
[rosmake-0] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps                                                                                                       
[rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs                                                                                                         
[rosmake-1] Starting >>> roscpp [ make ]                                                                                                                                            
[rosmake-1] Finished <<< roscpp ROS_NOBUILD in package roscpp                                                                                                                       
[rosmake-1] Starting >>> testEigen [ make ]                                                                                                                                         
[ rosmake ] All 37 linesestEigen: 4.0 sec ]                                                                                                              [ 1 Active 14/15 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package testEigen
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_TOOLCHAIN_FILE


  -- Build files have been written to: /home/namco/ros/testEigen/build
  cd build && make -l2
  make[1 ...
(more)