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

Trying to compile kobuki_driver C++ library without ROS

asked 2019-05-22 15:20:47 -0500

josephkim gravatar image

updated 2022-08-07 08:57:41 -0500

lucasw gravatar image

Hello all,

I'm trying to follow this guide to compile and run the pure C++ kobuki_driver library on Ubuntu 18.04.2 LTS and I've run into an issue with catkin_make_isolated --installwhen trying to prepare the catkin workspace.

Here's the error that I'm getting when I run the command above:

Base path: /home/josephkim/Desktop/csci370/swig_test/kobuki_core  
Source space: /home/josephkim/Desktop/csci370/swig_test/kobuki_core/src  
Build space: /home/josephkim/Desktop/csci370/swig_test/kobuki_core/build_isolated  
Devel space: /home/josephkim/Desktop/csci370/swig_test/kobuki_core/devel_isolated  
Install space: /home/josephkim/Desktop/csci370/swig_test/kobuki_core/install_isolated  
WARNING: Metapackage "kobuki_core" must buildtool_depend on catkin.  
WARNING: Metapackage "kobuki_core" should not have other dependencies besides a buildtool_depend on catkin and exec_depends.  
Traceback (most recent call last):  
File "/home/josephkim/Desktop/csci370/swig_test/kobuki_core/src/catkin/bin/catkin_make_isolated", line 160, in <module>  
    main()  
  File "/home/josephkim/Desktop/csci370/swig_test/kobuki_core/src/catkin/bin/catkin_make_isolated", line 156, in main  
    override_build_tool_check=opts.override_build_tool_check,  
  File "/home/josephkim/Desktop/csci370/swig_test/kobuki_core/src/catkin/bin/../python/catkin/builder.py", line 951, in build_workspace_isolated  
    packages = find_packages(sourcespace, exclude_subspaces=True)  
  File "/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 98, in find_packages  
    raise RuntimeError('\n'.join(duplicates))  
RuntimeError: Multiple packages found with the same name "ecl_mobile_robot":  
- ecl_core/ecl_mobile_robot  
- ecl_navigation/ecl_mobile_robot

Let me know if more specific information is needed; any help would be appreciated. Thanks!

edit retag flag offensive close merge delete

Comments

I believe you would have to ask Yujin about this: the error message is clear -- there are two packages with the same name in your workspace -- and that is not something we can fix here.

stonier/ecl_core or yujinrobot/kobuki_core might be better places to report this.

gvdhoorn gravatar image gvdhoorn  ( 2019-05-23 02:42:31 -0500 )edit

@gvdhoorn alright, I'll try asking there; thanks for the help! :)

josephkim gravatar image josephkim  ( 2019-05-23 09:30:42 -0500 )edit

If/when you post an issue on either tracker: please post a comment here with a link to your issue so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2019-05-23 09:35:17 -0500 )edit
josephkim gravatar image josephkim  ( 2019-05-23 09:50:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-08-20 14:51:33 -0500

Daniel Stonier gravatar image

updated 2020-08-20 14:59:35 -0500

I've recently rebuilt (and put under CI) instructions for building the core c++ kobuki library and it's dependencies using the ament/colcon build tools. Tested that it works on 18.04 and 20.04

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-05-22 15:20:47 -0500

Seen: 353 times

Last updated: Aug 20 '20