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

Cannot find package sns_ik_lib for Melodic

asked 2019-08-19 15:44:19 -0600

satr gravatar image

I'm adopting to Ubuntu 18 and Melodic ROS distro installation script, made for Ubuntu 16 and Kinetic. Two packages I did not find for Melodic, existing for Kinect: ros-kinetic-qt-build ros-kinetic-sns-ik-lib

There is GitHub Melodic branch for sns_ir https://github.com/RethinkRobotics-op...

In [ros-workspace]/build/CMakeCache.txt this path was marked as "NOT_FOUND" - I fixed it manually (just for testing)

//The directory containing a CMake configuration file for sns_ik_lib.
sns_ik_lib_DIR:PATH=/opt/ros/melodic/share/sns_ik_lib/cmake

This is what I did for fix (I'm not proficient with C++ and ROS):

git clone https://github.com/RethinkRobotics-opensource/sns_ik.git
cd sns_ik\snk_ik_lib && mkdir build && cd build && cmake -DUSEWX=yes -DCMAKE_BUILD_TYPE=Release .. && make -j4
sudo cp -r devel/share/sns_ik_lib /opt/ros/melodic/share
sudo cp ../package.xml /opt/ros/melodic/share/snk_ik_lib/

After this catkin_make builds fine. I'm not sure about ros-kinetic-qt-build for Melodic.

Any suggestions how to fix this properly?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2019-08-19 18:14:39 -0600

updated 2019-08-20 15:26:11 -0600

Last year when I was teaching my ROS course, we used Sawyer/Baxter with Melodic with no issues. I wrote my students a custom rosinstall file to handle missing dependencies. Maybe this will help you: http://nu-msr.github.io/embedded-cour...

Note, the snippet below is for release-5.2.0 tags of the Intera software from Rethink. If your Sawyer is on a different software version, adjust the rosinstall file accordingly:

cd
mkdir -p sawyerws/src
cd sawyerws/src/
wstool init
wstool merge https://gist.githubusercontent.com/jarvisschultz/f65d36e3f99d94a6c3d9900fa01ee72e/raw/sawyer_packages.rosinstall
wstool update
cd ..
source /opt/ros/melodic/setup.bash
catkin_make
edit flag offensive delete link more

Comments

looks like simulation isn't working anymore.
Running roslaunch sawyer_sim_examples sawyer_pick_and_place_demo.launch robot never picks the box

artemiialessandrini gravatar image artemiialessandrini  ( 2021-02-11 11:06:24 -0600 )edit

Thank you very helpful. It also works with ROS Noetic.

osilva gravatar image osilva  ( 2021-09-12 06:12:05 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-08-19 15:44:19 -0600

Seen: 10,601 times

Last updated: Aug 20 '19