davetcoleman / ompl_visual_tools

A library for visualizing and debugging Open Motion Planning Library algorithms in Rviz.
http://ompl.kavrakilab.org/
48 stars 24 forks source link

Compilation error #9

Open LuisYordano opened 7 years ago

LuisYordano commented 7 years ago

Hi,

There is an error when compiling into kinetic devel : moveit_ompl-kinetic-devel ompl_visual_tools-kinetic-devel

moveit_ompl-kinetic-devel/src/model_based_statespace.cpp:82:3: error: ‘bounds’ was not declared in this scope bounds_.resize(joint_boundsstorage.size()); ^ moveit_ompl-kinetic-devel/CMakeFiles/moveit_ompl.dir/build.make:62: recipe for target 'moveit_ompl-kinetic-devel/CMakeFiles/moveit_ompl.dir/src/model_based_state_space.cpp.o' failed make[2]: [moveit_ompl-kinetic-devel/CMakeFiles/moveit_ompl.dir/src/model_based_state_space.cpp.o] Error 1 CMakeFiles/Makefile2:410: recipe for target 'moveit_ompl-kinetic-devel/CMakeFiles/moveit_ompl.dir/all' failed make[1]: [moveit_ompl-kinetic-devel/CMakeFiles/moveit_ompl.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed

Could you tell me how to fix this error?

davetcoleman commented 7 years ago

I apologize but this package is difficult to maintain for other users, and I think I will stop supporting it because it takes a tricky configuration to run. Still, the problem you are running into is because you are not building OMPL using a special branch "bolt" I have, which you wouldn't have known:

https://github.com/davetcoleman/ompl/tree/bolt

davetcoleman commented 7 years ago

I have noted this in the main README.md just now

indraneelpatil commented 5 years ago

Dear @davetcoleman Firstly thank you for making the ompl_visual_tools package available to everyone.

Please guide me with this, since it seems like you are the only person in the world who could help me get through this one.It is very important for me to get this package to work so that I can visualise my custom planner in OMPL in rviz.

Since this package is no longer maintained ROS kinetic onwards, I installed ROS indigo from source on ubuntu 16.04 and then tried compiling moveit from source but I ran into many compilation errors due to fcl-0.5 library. Then my only option left was using ROS Kinetic and I could successfully build moveit from source using fcl-0.5 library. But then I am running into the same error above while compiling ompl_visual_tools on ROS Kinetic.

error: 'bounds_' was not declared in this scope

I also tried compiling your OMPL branch 'bolt' and then linking bolt to ompl_visual_tools but I still get the same error. Is there any way of getting this package to work on ROS kinetic? Please let me know or please suggest any alternative way of visualizing OMPL planners with rviz?

Thanks in advance!

davetcoleman commented 5 years ago

Note the README.md:

THIS LIBRAY IS NO LONGER MAINTAINED IN KINETIC ONWARD

sorry :-(

indraneelpatil commented 5 years ago

@davetcoleman Thank you for responding! Hopefully I come up with another way soon.