Ask Your Question
0

how can i change the source of octomap

asked 2020-11-16 04:45:17 -0500

MjdKassem gravatar image

Dears

thank you for Solrac3589 for his answer about installing Octomap on Ros-Melodic.

Later i have colned the octomap_server to Catkin_ws folder beside to my package, then i include the content of octomap_mapping.launch file in my package launch file and the thing gone good, i can change the source of octomap_server without any problem, but when i am trying to change the source of octomap file like this function bool OcTreeBaseImpl<NODE,I>::computeRayKeys which located in OcTreeBaseImpl.hxx file, the editor -where i use VS code- ask me to be a super admin to save that changes, when i confirm the VS-Code request the PC not respond and i have to restart my PC. i think that i need to install the octomap from source beside my package, but i don't know how to build it using cmake and use it in ROS, any suggestion please

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-11-16 16:46:24 -0500

tfoote gravatar image

If you need to install something from source on top of an existing installation we call that an overlay and there's tutorials about that here: http://wiki.ros.org/catkin/Tutorials/...

It is highly not recommended to edit the installed files in /opt using super user permissions

edit flag offensive delete link more

Comments

thank you dear, now i have octomap_server package with roscd octomap_server i get ~/catkin_ws/src/octomap_mapping/octomap_server it is good, but with roscd octomap i get /opt/ros/melodic/share/octomap, how can i point to octomap which i have build from source from the source of octomap_server

MjdKassem gravatar image MjdKassem  ( 2020-11-22 04:52:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-11-16 04:45:17 -0500

Seen: 138 times

Last updated: Nov 16 '20