Ask Your Question
0

Error trying to build Robot_localization from git

asked 2017-10-29 20:32:18 -0500

pacifickid9 gravatar image

updated 2017-10-31 01:27:45 -0500

I have been trying to install the package robot_localizaton from i am using these commands to download it from github.

cd ~/ros_catkin_ws/src
git clone -b kinetic-devel https://github.com/cra-ros-pkg/robot_localization.git
cd ~/ros_catkin_ws
catkin_make

then i am running into the error:

-- +++ processing catkin package: 'tf2_bullet'
-- ==> add_subdirectory(geometry2/bullet)
-- Checking for module 'bullet' >-- No package 'bullet' found >CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
geometry2/bullet/CMakeLists.txt:7 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeOutput.log". > See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

even though I have tf2_bullet installed in my Geometry2 package. is the problem that the cmake is looking for 'bullet' verses 'tf2_bullet'?

Edit: I am following the procedure laid out by @gvdhoorn

im getting stuck on the error

pi@raspberrypi:~/ros_catkin_ws $ rosdep install --from-paths src --ignore-src --rosdistro kinetic ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
orocos_kinematics_dynamics: No definition of [python_orocos_kdl] for OS version [stretch]

i have cloned this git https://github.com/orocos/orocos_kine... in the src file but rosdep install is still not recognizing it. any suggestions?

edit retag flag offensive close merge delete

Comments

Could I please ask you to always include information on the platform (and OS) that you're trying to build things for? Especially ARM platforms are limited in what does and doesn't work, and not mentioning this can lead to long debugging/diagnostic sessions with no apparent progress, because ..

gvdhoorn gravatar image gvdhoorn  ( 2017-10-31 05:18:42 -0500 )edit

.. the people involved have different assumptions about key aspects like this.

gvdhoorn gravatar image gvdhoorn  ( 2017-10-31 05:19:21 -0500 )edit

Sorry still new at this. I am trying to install in on a raspberry pi 3 model B, and the OS is raspbian jessie. Sorry what are ARM platforms?

pacifickid9 gravatar image pacifickid9  ( 2017-10-31 11:35:49 -0500 )edit

ARM is the name of the mfg (well, technically, designer) of the CPU that runs your RPi.

gvdhoorn gravatar image gvdhoorn  ( 2017-10-31 14:02:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-30 02:24:17 -0500

gvdhoorn gravatar image

updated 2017-10-31 05:43:09 -0500

git clone-ing a package into a workspace is in almost all cases not enough to get it to build.

See #q252478 for the proper procedure.


Edit:

im getting stuck on the error

pi@raspberrypi:~/ros_catkin_ws $ rosdep install --from-paths src --ignore-src --rosdistro kinetic
ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:
orocos_kinematics_dynamics: No definition of [python_orocos_kdl] for OS version [stretch]

i have cloned this git https://github.com/orocos/orocos_kine... in the src file but rosdep install is still not recognizing it. any suggestions?

I just tried this myself and with just orocos_kinematics_dynamics and robot_localization in the source space of a workspace I get no complaints from rosdep (but that is on Ubuntu-Xenial+ROS-Kinetic on amd64).

The error essentially tells you that orocos_kinematics_dynamics states a dependency on python_orocos_kdl, but rosdep can't find that package. That would be strange, as it is part of the same repository. Can you make sure that you've cloned the orocos_kinematics_dynamics repository correctly (ie: does it show up in tree -d -L 2 $HOME/ros_catkin_ws/src)?

edit flag offensive delete link more

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: 2017-10-29 20:32:18 -0500

Seen: 1,129 times

Last updated: Oct 31 '17