Closed jspikker closed 2 years ago
Seems like you didnt install libfranka properly. Just run:
git clone --recursive https://github.com/frankaemika/libfranka --branch 0.8.0
cd libfranka
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF ..
cmake --build .
cpack -G DEB
sudo dpkg -i libfranka-0.8.0-amd64.deb
and then run catkin_make without -DFranka_DIR
I have checked out and built libfranka 0.8.0 in ~/libfranka using
git checkout tags/0.8.0
and built it according to https://frankaemika.github.io/docs/installation_linux.html I need this version since I cannot update the robot at this moment.After building libfranka, the franka_ros package is retreived from github and built following the instructions on the above mentioned page. Initially I checked out
melodic-devel
version and later on I checked out thetags/0.9.0
version.During the following command:
catkin_make -DCMAKE_BUILD_TYPE=Release -DFranka_DIR:PATH=/home/<<my_username>>/libfranka/build
I get the following error during the building of franka_gripper:The franka_ros changelog says version 0.9.0 should be compatible with libfranka >= 0.8.0, but it seems not to be the case in my situation. Workaround for me now is checking out the 0.8.2 tag of
franka_ros
.I tested this on a clean installation of Ubuntu 18.04 with ros-melodic-desktop installed (+ additional build tools for packages as per instructions on the ROS Melodic installation page for Ubuntu).