Trying to compile kobuki_driver C++ library without ROS
Hello all,
I'm trying to follow this guide to compile and run the pure C++ kobukidriver library on Ubuntu 18.04.2 LTS and I've run into an issue with `catkinmake_isolated --install`when 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!
Asked by josephkim on 2019-05-22 15:20:47 UTC
Answers
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
Asked by Daniel Stonier on 2020-08-20 14:51:33 UTC
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.
Asked by gvdhoorn on 2019-05-23 02:42:31 UTC
@gvdhoorn alright, I'll try asking there; thanks for the help! :)
Asked by josephkim on 2019-05-23 09:30:42 UTC
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.
Asked by gvdhoorn on 2019-05-23 09:35:17 UTC
Here's the post I've made on stonier/ecl_core.
Asked by josephkim on 2019-05-23 09:50:06 UTC