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

Installing navigation stack on ROS Melodic

asked 2018-08-17 08:13:24 -0500

woz gravatar image

updated 2018-08-17 08:14:27 -0500

Hi,

I've been trying to use some features from the ros-planning/navigation stack, but it seems that it is not currently available for ROS Melodic. In my case, I need to use the map_server feature, in one of my applications. So far I've read that (sic) It has been released, but a sync has not yet happened., but all the package is available on their github page. Is there a way to manually install the downloaded package from GitHub on ROS Melodic Distro? I've already tried sudo apt-get install ros-melodic-navigation and had no success.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

have you tried building github package?

Choco93 gravatar image Choco93  ( 2018-08-17 08:50:13 -0500 )edit

Haven't found any instructions on how to do that. Would you mind explaining how to?

woz gravatar image woz  ( 2018-08-17 08:55:39 -0500 )edit

clone into your workspace and do catkin build

Choco93 gravatar image Choco93  ( 2018-08-17 09:02:09 -0500 )edit

Didn't work. Copied the whole content into my catkin_ws folder, sourced it, tried to run catkin build and got catkin: command not found. Tried catkin_makeand nothing happened as well.

woz gravatar image woz  ( 2018-08-17 09:10:44 -0500 )edit

Also, downloaded the catkin_tools in order to use catkin build but when I tried to do it on my ws, I've got: The build space at '/home/<user>/catkin_ws/build' was previously built by 'catkin_make'. Please remove the build space or pick a different build space.

woz gravatar image woz  ( 2018-08-17 09:14:06 -0500 )edit

catkin clean -y && catkin build

Choco93 gravatar image Choco93  ( 2018-08-17 09:19:02 -0500 )edit

Didn't work as well: [clean] Error: The current or desired workspace could not be determined. Please runcatkin cleanfrom within a catkin workspace or specify the workspace explicitly with the--workspaceoption.

woz gravatar image woz  ( 2018-08-17 09:22:19 -0500 )edit

That is not at all how you would build a pkg from sources.

See #q252478 for the general procedure.

gvdhoorn gravatar image gvdhoorn  ( 2018-08-17 12:45:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-08-17 12:42:43 -0500

gvdhoorn gravatar image

If the packages are really released, built and just waiting for a sync, you can install them from the staging repository.

See wiki/ShadowRepository for information on how to do that.

Don't build things from source if you don't have to.

edit flag offensive delete link more

Comments

Your last comment on my post, and this post did exactly what I wanted. Thanks a lot, @gvdhoorn! Worked like a charm :)

woz gravatar image woz  ( 2018-08-17 12:59:52 -0500 )edit

If you're using the shadow-fixed repository then I'm not sure why you'd still need to build from source.

gvdhoorn gravatar image gvdhoorn  ( 2018-08-17 13:57:15 -0500 )edit

I wasn't using it. To be honest, I had no idea about its existence. Anyway, both your posts helped me a lot and for that I'm really grateful :)

woz gravatar image woz  ( 2018-08-17 14:00:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-08-17 08:13:24 -0500

Seen: 5,104 times

Last updated: Aug 17 '18