{"action":"created","issue":{"url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/29","labels_url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/29/comments","events_url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/29/events","html_url":"https://github.com/personalrobotics/or_ompl/issues/29","id":109871224,"number":29,"title":"Add FindOMPL.cmake so or_ompl will find ompl package in your catkin workspace","user":{"login":"DavidB-CMU","id":14189705,"avatar_url":"https://avatars.githubusercontent.com/u/14189705?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidB-CMU","html_url":"https://github.com/DavidB-CMU","followers_url":"https://api.github.com/users/DavidB-CMU/followers","following_url":"https://api.github.com/users/DavidB-CMU/following{/other_user}","gists_url":"https://api.github.com/users/DavidB-CMU/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidB-CMU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidB-CMU/subscriptions","organizations_url":"https://api.github.com/users/DavidB-CMU/orgs","repos_url":"https://api.github.com/users/DavidB-CMU/repos","events_url":"https://api.github.com/users/DavidB-CMU/events{/privacy}","received_events_url":"https://api.github.com/users/DavidB-CMU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T19:42:12Z","updated_at":"2015-10-05T19:53:51Z","closed_at":null,"body":"I would like the option to use bleeding edge source of OMPL with or_ompl and prpy.\r\n\r\nTherefore I think we should add a FindOMPL.cmake to our package \"or_ompl\".\r\nWithout this file, or_ompl will *only* find the official ROS package \"ros-indigo-ompl\" and uses OMPL_INCLUDE_DIRS = /opt/ros/indigo/include\r\n\r\nOn ROS Answers, people suggest uninstalling ros-indigo-ompl and creating a catkin package in your workspace.\r\n\r\nHowever, I found that when I add a FindOMPL.cmake file to our package or_ompl, it works for both scenarios without uninstalling anything:\r\n\r\nBy default, or_ompl will find the ROS package and uses OMPL_INCLUDE_DIRS = /opt/ros/indigo/include\r\n\r\nAlternatively, if I add a custom \"ompl\" package in by catkin workspace, or_ompl will successfully find it and uses OMPL_INCLUDE_DIRS = /home/USERNAME/SOME_WORKSPACE/devel/include\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/comments/145649322","html_url":"https://github.com/personalrobotics/or_ompl/issues/29#issuecomment-145649322","issue_url":"https://api.github.com/repos/personalrobotics/or_ompl/issues/29","id":145649322,"user":{"login":"DavidB-CMU","id":14189705,"avatar_url":"https://avatars.githubusercontent.com/u/14189705?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidB-CMU","html_url":"https://github.com/DavidB-CMU","followers_url":"https://api.github.com/users/DavidB-CMU/followers","following_url":"https://api.github.com/users/DavidB-CMU/following{/other_user}","gists_url":"https://api.github.com/users/DavidB-CMU/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidB-CMU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidB-CMU/subscriptions","organizations_url":"https://api.github.com/users/DavidB-CMU/orgs","repos_url":"https://api.github.com/users/DavidB-CMU/repos","events_url":"https://api.github.com/users/DavidB-CMU/events{/privacy}","received_events_url":"https://api.github.com/users/DavidB-CMU/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T19:53:51Z","updated_at":"2015-10-05T19:53:51Z","body":"@mkoval You're too quick I was still typing :-) I just revised my first message with more detail."}}