Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in loading Reachability Map #50

Open
apuroopkgs opened this issue Apr 11, 2018 · 35 comments
Open

Issue in loading Reachability Map #50

apuroopkgs opened this issue Apr 11, 2018 · 35 comments

Comments

@apuroopkgs
Copy link

apuroopkgs commented Apr 11, 2018

Hello all,

I am new to ROS, but I wanted to check reachability of my robotic arm. I was able to generate map, but whenever I am trying to load the reachability map, I am getting following errors.

System Version: Ubuntu 16.04
ROS version: Kinetic LTS
I have modified the reuleaux package to make it Kinetic compatible by following this commit https://github.com/ros-industrial-consortium/reuleaux/pull/28/files

The errors are as follows:

hutlab@11CPU0308L:~/test_ws/src/reuleaux/map_creator/maps$ rosrun map_creator load_reachability_map abb_irb2400_r0.06_rechability.h5
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5F.c line 604 in H5Fopen(): unable to open file
    major: File accessibilty
    minor: Unable to open file
  

#001: ../../../src/H5Fint.c line 992 in H5F_open(): unable to open file: time = Wed Apr 11 10:42:28 2018
, name = 'abb_irb2400_r0.06_rechability.h5', tent_flags = 0
    major: File accessibilty
    minor: Unable to open file
 

 #002: ../../../src/H5FD.c line 993 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  

#003: ../../../src/H5FDsec2.c line 339 in H5FD_sec2_open(): unable to open file: name = 'abb_irb2400_r0.06_rechability.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file


HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5G.c line 454 in H5Gopen2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  

#001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value


HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5D.c line 340 in H5Dopen2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5D.c line 460 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5S.c line 791 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 140059661047680:
  #000: ../../../src/H5S.c line 883 in H5Sget_simple_extent_dims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
Bus error (core dumped)

Thanks.

@akgoins
Copy link
Contributor

akgoins commented Apr 11, 2018

Looks like it is "unable to open file". Did you try giving the full pathway to the file?

@jontromanab
Copy link
Contributor

Hello @apuroopkgs . The error is due to path error in your reachability map. Please check if the map is there.
For ROS kinetic, please use this one:
https://github.com/jontromanab/reuleaux/tree/kinetic-devel

If it still does not work, please send me the reachability map file. I will have a look at it.

@apuroopkgs
Copy link
Author

apuroopkgs commented Apr 12, 2018

@jontromanab I have cloned the package that you had mentioned eariler. But it shows up errors like H5Cpp.h: No such file or directory
I have tried following up with the thread #41 but no positive result

@jontromanab
Copy link
Contributor

That should not be the case as it is been tested by me and other people. That problem was solved with the kinetic branch. So which errors are you getting now? Is the path error is resolved? Can you please send me the errors in my branch?

@apuroopkgs
Copy link
Author

apuroopkgs commented Apr 12, 2018

When I run catkin_make, I encounter the following errors

`hutlab@11CPU0308L:~/real_ws$ catkin_make
Base path: /home/hutlab/real_ws
Source space: /home/hutlab/real_ws/src
Build space: /home/hutlab/real_ws/build
Devel space: /home/hutlab/real_ws/devel
Install space: /home/hutlab/real_ws/install

Running command: "make cmake_check_build_system" in "/home/hutlab/real_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/hutlab/real_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/hutlab/test_ws/devel;/home/hutlab/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/hutlab/test_ws/devel;/home/hutlab/catkin_ws/devel;/opt/ros/kinetic
-- 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/hutlab/real_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.11
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 3 packages in topological order:
-- ~~ - map_creator
-- ~~ - base_placement_plugin
-- ~~ - workspace_visualization
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'map_creator'
-- ==> add_subdirectory(reuleaux/map_creator)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- map_creator: 4 messages, 0 services
-- +++ processing catkin package: 'base_placement_plugin'
-- ==> add_subdirectory(reuleaux/base_placement_plugin)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:415 (message):
catkin_package() include dir
'/home/hutlab/real_ws/build/reuleaux/base_placement_plugin' should be
placed in the devel space instead of the build space
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
reuleaux/base_placement_plugin/CMakeLists.txt:55 (catkin_package)

-- +++ processing catkin package: 'workspace_visualization'
-- ==> add_subdirectory(reuleaux/workspace_visualization)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Using Qt5 based on the rviz_QT_VERSION: 5.5.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hutlab/real_ws/build

Running command: "make -j4 -l4" in "/home/hutlab/real_ws/build"

Scanning dependencies of target hdf5_dataset
[ 0%] Built target trajectory_msgs_generate_messages_py
[ 1%] Building CXX object reuleaux/map_creator/CMakeFiles/hdf5_dataset.dir/src/hdf5_dataset.cpp.o
[ 1%] Built target _map_creator_generate_messages_check_deps_WsSphere
[ 1%] Built target geometry_msgs_generate_messages_py
[ 1%] Built target _map_creator_generate_messages_check_deps_WorkSpace
[ 1%] Built target std_msgs_generate_messages_py
[ 1%] Built target geometry_msgs_generate_messages_lisp
[ 1%] Built target _map_creator_generate_messages_check_deps_capShape
[ 1%] Built target _map_creator_generate_messages_check_deps_capability
[ 1%] Built target std_msgs_generate_messages_lisp
[ 1%] Built target sensor_msgs_generate_messages_cpp
[ 1%] Built target tf_generate_messages_py
[ 1%] Built target roscpp_generate_messages_py
[ 1%] Built target graph_msgs_generate_messages_nodejs
[ 1%] Built target actionlib_msgs_generate_messages_nodejs
[ 1%] Built target tf2_msgs_generate_messages_py
[ 1%] Built target topic_tools_generate_messages_py
[ 1%] Built target actionlib_msgs_generate_messages_eus
[ 1%] Built target tf_generate_messages_lisp
[ 1%] Built target actionlib_generate_messages_lisp
[ 1%] Built target tf2_msgs_generate_messages_nodejs
[ 1%] Built target tf2_msgs_generate_messages_lisp
[ 1%] Built target nodelet_generate_messages_cpp
[ 1%] Built target sensor_msgs_generate_messages_eus
[ 1%] Built target actionlib_msgs_generate_messages_cpp
[ 1%] Built target rosgraph_msgs_generate_messages_nodejs
[ 1%] Built target std_msgs_generate_messages_nodejs
[ 1%] Built target visualization_msgs_generate_messages_py
[ 1%] Built target visualization_msgs_generate_messages_cpp
[ 1%] Built target actionlib_msgs_generate_messages_lisp
[ 1%] Built target bond_generate_messages_py
[ 1%] Built target dynamic_reconfigure_generate_messages_nodejs
[ 1%] Built target trajectory_msgs_generate_messages_cpp
[ 1%] Built target geometry_msgs_generate_messages_cpp
[ 1%] Built target std_srvs_generate_messages_lisp
[ 1%] Built target tf2_msgs_generate_messages_cpp
[ 1%] Built target tf2_msgs_generate_messages_eus
[ 1%] Built target pcl_ros_gencfg
[ 1%] Built target rosgraph_msgs_generate_messages_cpp
[ 1%] Built target pcl_msgs_generate_messages_eus
[ 1%] Built target geometry_msgs_generate_messages_nodejs
[ 1%] Built target actionlib_msgs_generate_messages_py
[ 1%] Built target geometry_msgs_generate_messages_eus
[ 1%] Built target nodelet_generate_messages_py
[ 1%] Built target roscpp_generate_messages_cpp
[ 1%] Built target roscpp_generate_messages_lisp
[ 1%] Built target graph_msgs_generate_messages_py
[ 1%] Built target visualization_msgs_generate_messages_lisp
[ 1%] Built target roscpp_generate_messages_eus
[ 1%] Built target bond_generate_messages_eus
[ 1%] Built target tf_generate_messages_eus
[ 1%] Built target rosgraph_msgs_generate_messages_lisp
[ 1%] Built target dynamic_reconfigure_generate_messages_py
[ 1%] Built target actionlib_generate_messages_py
[ 1%] Built target tf_generate_messages_cpp
[ 1%] Built target std_srvs_generate_messages_eus
[ 1%] Built target actionlib_generate_messages_nodejs
[ 1%] Built target bond_generate_messages_lisp
[ 1%] Built target graph_msgs_generate_messages_lisp
[ 1%] Built target nodelet_generate_messages_eus
[ 1%] Built target topic_tools_generate_messages_cpp
[ 1%] Built target topic_tools_generate_messages_eus
[ 3%] Generating Javascript code from map_creator/capability.msg
[ 3%] Built target std_msgs_generate_messages_cpp
[ 3%] Built target rosgraph_msgs_generate_messages_eus
[ 4%] Generating Javascript code from map_creator/WorkSpace.msg
[ 4%] Built target graph_msgs_generate_messages_cpp
[ 6%] Generating Javascript code from map_creator/capShape.msg
[ 8%] Generating Javascript code from map_creator/WsSphere.msg
[ 8%] Built target roscpp_generate_messages_nodejs
[ 8%] Built target sensor_msgs_generate_messages_nodejs
[ 8%] Built target sensor_msgs_generate_messages_py
[ 8%] Built target rosgraph_msgs_generate_messages_py
[ 8%] Built target map_creator_generate_messages_nodejs
[ 8%] Built target actionlib_generate_messages_cpp
[ 8%] Built target std_msgs_generate_messages_eus
[ 8%] Built target actionlib_generate_messages_eus
[ 8%] Built target trajectory_msgs_generate_messages_eus
[ 8%] Built target trajectory_msgs_generate_messages_lisp
[ 8%] Built target trajectory_msgs_generate_messages_nodejs
[ 8%] Built target visualization_msgs_generate_messages_nodejs
[ 8%] Built target dynamic_reconfigure_generate_messages_cpp
[ 8%] Built target bond_generate_messages_nodejs
[ 8%] Built target visualization_msgs_generate_messages_eus
[ 8%] Built target pcl_msgs_generate_messages_py
[ 8%] Built target dynamic_reconfigure_generate_messages_eus
[ 8%] Built target dynamic_reconfigure_generate_messages_lisp
[ 8%] Built target dynamic_reconfigure_gencfg
[ 9%] Generating C++ code from map_creator/capability.msg
[ 9%] Built target graph_msgs_generate_messages_eus
[ 9%] Built target nodelet_generate_messages_lisp
[ 11%] Generating C++ code from map_creator/WorkSpace.msg
[ 11%] Built target nodelet_generate_messages_nodejs
[ 12%] Generating C++ code from map_creator/capShape.msg
[ 14%] Generating C++ code from map_creator/WsSphere.msg
[ 14%] Built target bond_generate_messages_cpp
[ 14%] Built target pcl_msgs_generate_messages_lisp
[ 14%] Built target pcl_msgs_generate_messages_nodejs
[ 14%] Built target std_srvs_generate_messages_nodejs
[ 14%] Built target pcl_msgs_generate_messages_cpp
[ 14%] Built target std_srvs_generate_messages_cpp
[ 14%] Built target topic_tools_generate_messages_lisp
[ 14%] Built target sensor_msgs_generate_messages_lisp
[ 14%] Built target topic_tools_generate_messages_nodejs
[ 14%] Built target map_creator_generate_messages_cpp
Scanning dependencies of target kinematics
[ 14%] Built target tf_generate_messages_nodejs
[ 14%] Built target std_srvs_generate_messages_py
Scanning dependencies of target sphere_discretization
[ 16%] Automatic moc for target workspace_visualization
[ 17%] Building CXX object reuleaux/map_creator/CMakeFiles/kinematics.dir/src/kinematics.cpp.o
Generating moc_capability_map_display.cpp
[ 19%] Building CXX object reuleaux/map_creator/CMakeFiles/sphere_discretization.dir/src/sphere_discretization.cpp.o
Generating moc_reachability_map_display.cpp
[ 19%] Built target workspace_visualization_automoc
[ 20%] Generating Python from MSG map_creator/capability
[ 22%] Generating Python from MSG map_creator/WorkSpace
[ 24%] Generating Python from MSG map_creator/capShape
[ 25%] Generating Python from MSG map_creator/WsSphere
[ 27%] Generating Python msg init.py for map_creator
[ 29%] Linking CXX shared library /home/hutlab/real_ws/devel/lib/libhdf5_dataset.so
[ 29%] Built target map_creator_generate_messages_py
[ 30%] Generating Lisp code from map_creator/capability.msg
[ 32%] Generating Lisp code from map_creator/WorkSpace.msg
[ 33%] Generating Lisp code from map_creator/capShape.msg
[ 35%] Generating Lisp code from map_creator/WsSphere.msg
[ 35%] Built target map_creator_generate_messages_lisp
[ 37%] Generating EusLisp code from map_creator/capability.msg
[ 38%] Generating EusLisp code from map_creator/WorkSpace.msg
[ 40%] Generating EusLisp code from map_creator/capShape.msg
[ 40%] Built target hdf5_dataset
[ 41%] Generating EusLisp code from map_creator/WsSphere.msg
[ 43%] Built target map_creator_generate_messages_eus
Scanning dependencies of target load_reachability_map
Scanning dependencies of target load_capability_map
[ 45%] Building CXX object reuleaux/map_creator/CMakeFiles/load_capability_map.dir/src/load_capability_map.cpp.o
[ 46%] Building CXX object reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/src/load_reachability_map.cpp.o
[ 48%] Linking CXX shared library /home/hutlab/real_ws/devel/lib/libkinematics.so
[ 48%] Built target kinematics
[ 48%] Built target map_creator_generate_messages
[ 50%] Linking CXX executable /home/hutlab/real_ws/devel/lib/map_creator/load_capability_map
[ 51%] Linking CXX executable /home/hutlab/real_ws/devel/lib/map_creator/load_reachability_map
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/load_capability_map.dir/build.make:325: recipe for target '/home/hutlab/real_ws/devel/lib/map_creator/load_capability_map' failed
make[2]: *** [/home/hutlab/real_ws/devel/lib/map_creator/load_capability_map] Error 1
CMakeFiles/Makefile2:802: recipe for target 'reuleaux/map_creator/CMakeFiles/load_capability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/load_capability_map.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/build.make:325: recipe for target '/home/hutlab/real_ws/devel/lib/map_creator/load_reachability_map' failed
make[2]: *** [/home/hutlab/real_ws/devel/lib/map_creator/load_reachability_map] Error 1
CMakeFiles/Makefile2:1640: recipe for target 'reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/all] Error 2
[ 53%] Linking CXX shared library /home/hutlab/real_ws/devel/lib/libsphere_discretization.so
[ 53%] Built target sphere_discretization
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
`

@jontromanab
Copy link
Contributor

You do not have the hdf5 package installed. Have you tried installing hdf5 by

sudo apt-get install libhdf5-dev

@apuroopkgs
Copy link
Author

Yes it's already installed and is the newest version

libhdf5-dev is already the newest version (1.8.16+docs-4ubuntu1)

@jontromanab
Copy link
Contributor

maybe I have to tell you to check again if you have forked the correct branch. because the kinetic branch is not using the -lhdf5 library, which was done in the other branches. But not in the kinetic branch.

Otherwise, you can provide the link to the fork to the repo?

@apuroopkgs
Copy link
Author

https://github.com/jontromanab/reuleaux/tree/kinetic-devel

I have used this repo. I did not change anything after cloning.

@jontromanab
Copy link
Contributor

It should not be the case. That error should not be there if you have built the hdf5 properly.
Have you tried anything else with the hdf5 (rather than reuleaux). e.g running some sample codes or creating some database (my point is that maybe it is not built properly)
If you dont have some sample codes to run with hdf5, I can help with that. by which you can test whether hdf5 is there working

@apuroopkgs
Copy link
Author

apuroopkgs commented Apr 12, 2018

Thanks for the prompt reply. I guess the problem lies with the hdf5 as you mentioned. It would be so helpful if you guide me through the process of checking whether the hdf5 is working or not. I haven't worked with any other packages which involves hdf5. But lately when I was encountering this issue, I have gone through some forums and executed this commands

cd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5_serial.so.10.1.0 libhdf5.so

sudo ln -s libhdf5_serial_hl.so.10.0.2 libhdf5_hl.so
export LIBRARY_PATH=/opt/lib/

I guess execution of above commands must have done something wrong.

@jontromanab
Copy link
Contributor

can you remove hdf5 and install it again? I have the codes for testing somewhere in my old system. Otherwise, I have to find them out or have to create some new for you.

@apuroopkgs
Copy link
Author

I have reinstalled the hdf5 but the problem persists.

`hutlab@11CPU0308L:~/plot_ws$ catkin_make
Base path: /home/hutlab/plot_ws
Source space: /home/hutlab/plot_ws/src
Build space: /home/hutlab/plot_ws/build
Devel space: /home/hutlab/plot_ws/devel
Install space: /home/hutlab/plot_ws/install

Running command: "make cmake_check_build_system" in "/home/hutlab/plot_ws/build"

Running command: "make -j4 -l4" in "/home/hutlab/plot_ws/build"

[ 0%] Built target trajectory_msgs_generate_messages_py
[ 3%] Built target hdf5_dataset
[ 3%] Built target geometry_msgs_generate_messages_py
[ 3%] Built target _map_creator_generate_messages_check_deps_WorkSpace
[ 3%] Built target _map_creator_generate_messages_check_deps_capability
[ 3%] Built target std_msgs_generate_messages_py
[ 3%] Built target _map_creator_generate_messages_check_deps_WsSphere
[ 3%] Built target geometry_msgs_generate_messages_lisp
[ 3%] Built target std_msgs_generate_messages_lisp
[ 3%] Built target tf_generate_messages_py
[ 3%] Built target sensor_msgs_generate_messages_cpp
[ 3%] Built target graph_msgs_generate_messages_nodejs
[ 3%] Built target _map_creator_generate_messages_check_deps_capShape
[ 3%] Built target actionlib_msgs_generate_messages_nodejs
[ 3%] Built target roscpp_generate_messages_py
[ 3%] Built target tf2_msgs_generate_messages_py
[ 3%] Built target topic_tools_generate_messages_py
[ 3%] Built target actionlib_msgs_generate_messages_eus
[ 3%] Built target actionlib_generate_messages_lisp
[ 3%] Built target tf2_msgs_generate_messages_nodejs
[ 3%] Built target tf_generate_messages_lisp
[ 3%] Built target tf2_msgs_generate_messages_lisp
[ 3%] Built target nodelet_generate_messages_cpp
[ 3%] Built target actionlib_msgs_generate_messages_cpp
[ 3%] Built target rosgraph_msgs_generate_messages_nodejs
[ 3%] Built target sensor_msgs_generate_messages_eus
[ 3%] Built target std_msgs_generate_messages_nodejs
[ 3%] Built target visualization_msgs_generate_messages_py
[ 3%] Built target visualization_msgs_generate_messages_cpp
[ 3%] Built target dynamic_reconfigure_generate_messages_nodejs
[ 3%] Built target actionlib_msgs_generate_messages_lisp
[ 3%] Built target bond_generate_messages_py
[ 3%] Built target std_srvs_generate_messages_lisp
[ 3%] Built target geometry_msgs_generate_messages_cpp
[ 3%] Built target trajectory_msgs_generate_messages_cpp
[ 3%] Built target tf2_msgs_generate_messages_eus
[ 3%] Built target pcl_ros_gencfg
[ 3%] Built target tf2_msgs_generate_messages_cpp
[ 3%] Built target rosgraph_msgs_generate_messages_cpp
[ 3%] Built target pcl_msgs_generate_messages_eus
[ 3%] Built target geometry_msgs_generate_messages_eus
[ 3%] Built target geometry_msgs_generate_messages_nodejs
[ 3%] Built target actionlib_msgs_generate_messages_py
[ 3%] Built target roscpp_generate_messages_cpp
[ 3%] Built target roscpp_generate_messages_lisp
[ 3%] Built target nodelet_generate_messages_py
[ 3%] Built target graph_msgs_generate_messages_py
[ 3%] Built target visualization_msgs_generate_messages_lisp
[ 3%] Built target roscpp_generate_messages_eus
[ 3%] Built target bond_generate_messages_eus
[ 3%] Built target tf_generate_messages_eus
[ 3%] Built target dynamic_reconfigure_generate_messages_py
[ 3%] Built target rosgraph_msgs_generate_messages_lisp
[ 3%] Built target actionlib_generate_messages_py
[ 3%] Built target std_srvs_generate_messages_eus
[ 3%] Built target tf_generate_messages_cpp
[ 3%] Built target actionlib_generate_messages_nodejs
[ 3%] Built target graph_msgs_generate_messages_lisp
[ 3%] Built target nodelet_generate_messages_eus
[ 3%] Built target bond_generate_messages_lisp
[ 3%] Built target topic_tools_generate_messages_cpp
[ 3%] Built target topic_tools_generate_messages_eus
[ 3%] Built target rosgraph_msgs_generate_messages_eus
[ 9%] Built target map_creator_generate_messages_nodejs
[ 9%] Built target std_msgs_generate_messages_cpp
[ 9%] Built target graph_msgs_generate_messages_cpp
[ 9%] Built target roscpp_generate_messages_nodejs
[ 9%] Built target sensor_msgs_generate_messages_nodejs
[ 9%] Built target sensor_msgs_generate_messages_py
[ 9%] Built target rosgraph_msgs_generate_messages_py
[ 9%] Built target actionlib_generate_messages_cpp
[ 9%] Built target std_msgs_generate_messages_eus
[ 9%] Built target actionlib_generate_messages_eus
[ 9%] Built target trajectory_msgs_generate_messages_lisp
[ 9%] Built target trajectory_msgs_generate_messages_nodejs
[ 9%] Built target trajectory_msgs_generate_messages_eus
[ 9%] Built target visualization_msgs_generate_messages_nodejs
[ 9%] Built target bond_generate_messages_nodejs
[ 9%] Built target dynamic_reconfigure_generate_messages_cpp
[ 9%] Built target visualization_msgs_generate_messages_eus
[ 9%] Built target pcl_msgs_generate_messages_py
[ 9%] Built target dynamic_reconfigure_generate_messages_eus
[ 9%] Built target dynamic_reconfigure_generate_messages_lisp
[ 9%] Built target dynamic_reconfigure_gencfg
[ 16%] Built target map_creator_generate_messages_cpp
[ 16%] Built target graph_msgs_generate_messages_eus
[ 16%] Built target nodelet_generate_messages_nodejs
[ 16%] Built target nodelet_generate_messages_lisp
[ 16%] Built target bond_generate_messages_cpp
[ 16%] Built target pcl_msgs_generate_messages_lisp
[ 16%] Built target std_srvs_generate_messages_nodejs
[ 16%] Built target pcl_msgs_generate_messages_nodejs
[ 16%] Built target std_srvs_generate_messages_cpp
[ 16%] Built target topic_tools_generate_messages_lisp
[ 16%] Built target sensor_msgs_generate_messages_lisp
[ 16%] Built target pcl_msgs_generate_messages_cpp
[ 16%] Built target tf_generate_messages_nodejs
[ 16%] Built target topic_tools_generate_messages_nodejs
[ 16%] Built target std_srvs_generate_messages_py
[ 17%] Automatic moc for target workspace_visualization
[ 20%] Built target kinematics
[ 29%] Built target map_creator_generate_messages_py
[ 29%] Built target workspace_visualization_automoc
[ 35%] Built target map_creator_generate_messages_lisp
[ 41%] Built target sphere_discretization
[ 46%] Built target map_creator_generate_messages_eus
[ 48%] Linking CXX executable /home/hutlab/plot_ws/devel/lib/map_creator/load_reachability_map
[ 50%] Linking CXX executable /home/hutlab/plot_ws/devel/lib/map_creator/load_capability_map
[ 51%] Linking CXX executable /home/hutlab/plot_ws/devel/lib/map_creator/create_inverse_reachability_map
[ 53%] Linking CXX executable /home/hutlab/plot_ws/devel/lib/map_creator/create_capability_map
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/load_capability_map.dir/build.make:325: recipe for target '/home/hutlab/plot_ws/devel/lib/map_creator/load_capability_map' failed
make[2]: *** [/home/hutlab/plot_ws/devel/lib/map_creator/load_capability_map] Error 1
CMakeFiles/Makefile2:802: recipe for target 'reuleaux/map_creator/CMakeFiles/load_capability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/load_capability_map.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/build.make:325: recipe for target '/home/hutlab/plot_ws/devel/lib/map_creator/load_reachability_map' failed
make[2]: *** [/home/hutlab/plot_ws/devel/lib/map_creator/load_reachability_map] Error 1
CMakeFiles/Makefile2:1640: recipe for target 'reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/load_reachability_map.dir/all] Error 2
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/create_inverse_reachability_map.dir/build.make:329: recipe for target '/home/hutlab/plot_ws/devel/lib/map_creator/create_inverse_reachability_map' failed
make[2]: *** [/home/hutlab/plot_ws/devel/lib/map_creator/create_inverse_reachability_map] Error 1
CMakeFiles/Makefile2:1872: recipe for target 'reuleaux/map_creator/CMakeFiles/create_inverse_reachability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/create_inverse_reachability_map.dir/all] Error 2
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
reuleaux/map_creator/CMakeFiles/create_capability_map.dir/build.make:328: recipe for target '/home/hutlab/plot_ws/devel/lib/map_creator/create_capability_map' failed
make[2]: *** [/home/hutlab/plot_ws/devel/lib/map_creator/create_capability_map] Error 1
CMakeFiles/Makefile2:969: recipe for target 'reuleaux/map_creator/CMakeFiles/create_capability_map.dir/all' failed
make[1]: *** [reuleaux/map_creator/CMakeFiles/create_capability_map.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
`

@apuroopkgs
Copy link
Author

Hello sir,
After trying a lot, by creating a new workspace and again cloning the files from the given branch. I have found out that the motoman_reachability map was loading successfully. When I am giving an ABB IK related files and creating the map it is showing up an error saying segmentation fault and core dumped. I guess there must be something which I am missing.

@jontromanab
Copy link
Contributor

Hello @apuroopkgs . sorry for delayed reply. Please let me know where are you right now and which pkg are you using. Seems like you solved the problem with hdf5. If you are having problem with a reachability map, please send me that and I will have a look into it.

@apuroopkgs
Copy link
Author

Sorry for the delay. I am attaching the map file, kindly go through it and give me some direction to proceed.

reuleaux-kinetic-devel.zip

@jontromanab
Copy link
Contributor

Thank you, I will look into it.

@dsx0511
Copy link

dsx0511 commented Apr 23, 2018

Hallo @jontromanab I got the similar errors. Can you pls also look into my map file? I'm using ROS with Indigo-devel.
reuleaux.tar.gz

@jontromanab
Copy link
Contributor

jontromanab commented May 15, 2018

@apuroopkgs I have looked into your reach map. There is some problem with the transformations in the generated IK file. It also cannot create a map with 0.08 resolution (That is probably our fault). But it can create a map with 0.09 resolution. Here is the image of the map with resolution 0.09. Please try with a lower resolution
screenshot from 2018-05-14 21-43-55

You can also have a look at some of the reference maps I created long back:
https://github.com/jontromanab/ikfast_and_reach_maps/tree/master/reach_maps

@jontromanab
Copy link
Contributor

@dsx0511 Somehow your ikfast file takes ages to calculate the ik solutions.
I have tested with the demo file here. Could not obtain any IK solution

https://github.com/jontromanab/ikfast_and_reach_maps

Now I have to ask you what is the DOF of your robot? currently it only supports 6DOF. I still have not added extension for 7DOF. Have not tested with less dof (most probably won't work)

If you are in dire need to create a reachability map, you can try here (caution: it will take some time to generate. But pro: it will create a collision aware reach map, can be incorporated in moveit)

https://github.com/jontromanab/reuleaux_moveit

@vajrag
Copy link

vajrag commented Jun 4, 2018

Hello.

I have an error when I try to build my workspace. It is regarding hdf5.so files.
I have the latest version of hdf5 in my system and I am using Ubuntu 16.04. How can this be rectified?
I have attached the screenshot of the terminal below! :)

Looking forward to the answers.

Thank you

screenshot from 2018-06-04 22-12-07

@jontromanab
Copy link
Contributor

@vajrag have you tried my kinetic branch of Reuleaux?
https://github.com/jontromanab/reuleaux/tree/kinetic-devel

It should work.

@vajrag
Copy link

vajrag commented Jun 5, 2018

Hi @jontromanab.

Yes, I have the kinetic branch. And this issue is from there!!

@jontromanab
Copy link
Contributor

@vajrag are you sure you have hdf5 properly installed. Why don't you reinstall it and let me know about the results. You can also follow this issue here #41
Though your issue should go there. But it's OK.

@indraneelpatil
Copy link

@jontromanab Please guide me with this tiny confusion whenever possible! Thanking you in advance!
So I am currently working with the URDF of ABB 1410 and I have successfully followed your instructions to convert the urdf into a suitable collada file and then I have also found the ikfast.cpp file for this robot.

So my question is where do the joint limits of the robot which are specified in the urdf and the collada file fit into visualizing the reachability workspace?

When I visualize the reachability map I see a spherical shape in rviz whereas in reality due to the joint limits I should see only a part of the sphere as the reachable workspace. Is there any way I could visualize only the feasible workspace of the robot allowed by the joint limits in rviz?

@jontromanab
Copy link
Contributor

@apuroopkgs that is surely a very valid confusion. The current version of Reuleaux does not support self collision. Of course it supports joint limits. Otherwise the reachability does not make sense. I have a developmental repo [https://github.com/jontromanab/reuleaux_moveit] which considers joint limits and self-collision. You can try that.

@JuliusSustarevas
Copy link

Any advice when this issue appears again when building in melodic?

fatal error: H5Cpp.h: No such file or directory
 #include "H5Cpp.h"

@vkguda355
Copy link

Any advice when this issue appears again when building in melodic?

fatal error: H5Cpp.h: No such file or directory
 #include "H5Cpp.h"

if that message appears even after u had installed the lhdf5 libraries ? then it is related to the declaring the libraries in the bashrc.

@JuliusSustarevas
Copy link

JuliusSustarevas commented Sep 26, 2019

if that message appears even after u had installed the lhdf5 libraries ? then it is related to the declaring the libraries in the bashrc.

Can you elaborate on the declaring lhdf5 in bashrc? I'm not sure what you mean, didn't find anything similar online either.

@vkguda355
Copy link

if that message appears even after u had installed the lhdf5 libraries ? then it is related to the declaring the libraries in the bashrc.

Can you elaborate on the declaring lhdf5 in bashrc? I'm not sure what you mean, didn't find anything similar online either.

in your bashrc, after u source your worksapce, export the path of the library hdf5
example: export CPATH=/usr/include/hdf5/serial

and try if this helps.

@jontromanab
Copy link
Contributor

@vkguda355 @JuliusSustarevas Please use the proper kinetic branch. It is here.
https://github.com/jontromanab/reuleaux/tree/kinetic-devel

@bhtxy0525
Copy link

bhtxy0525 commented Sep 28, 2020

@jontromanab I also get this problem, please help me, thank you. My ros version is Kinetic and use your branch
[ INFO] [1601265877.425609318]: Opening map motorman_mh5_r0.08_rechability.h5
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 139967922034560:
#000: ../../../src/H5F.c line 604 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
1

@ChanSir-QZ
Copy link

ChanSir-QZ commented Jul 2, 2022

I built with the kinetic branch in mine melodic ros on Ubuntu18.04 by simply adding
using namespace std;
#61 in file
map_creator/include/mh5_ikfast.cpp.

And try giving the full pathway to the filein the command:
rosrun map_creator load_reachability_map motorman_mh5_r0.08_rechability.h5 .
It works with not issues #41,#66 happening.
Hope this could be helpful.

@CarbonIntelligence
Copy link

Hello, I am using the noetic version to compile reuleaux, but I encountered an error. Does anyone know about this issue? Thank you very much.
Uploading error1.png…

@liyuping0906
Copy link

@jontromanab Hello, sorry to bother you. Is there a version of Reuleaux for Noetic? Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests