How to run rosparam_shortcut in noetic
Good morning.
I would like to run hardware interface program for a 6 axis robot and I have used MoveIt for the inverse kinematic.
In the src directory there are the following package:
- aubo_description (where basically it contains URDF of an Aubo robot)
- aubo_moveit_config: a package created from MoveIt configuration
- ros_control_boilerplate: this package is provided at this repositories: https://github.com/PickNikRobotics/ro...
I have issues compiling the package ros_control_boilerplate and in particular I think that it is for a dependencies not found: rosparam_shortcuts.
From the terminal, here what I got:
Could NOT find rosparam_shortcuts (missing: rosparam_shortcuts_DIR)
-- Could not find the required component 'rosparam_shortcuts'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"rosparam_shortcuts" with any of the following names:
rosparam_shortcutsConfig.cmake
rosparam_shortcuts-config.cmake
Add the installation prefix of "rosparam_shortcuts" to CMAKE_PREFIX_PATH or
set "rosparam_shortcuts_DIR" to a directory containing one of the above
files. If "rosparam_shortcuts" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
ros_control_boilerplate/CMakeLists.txt:11 (find_package)
When I type from terminal
sudo apt-get install ros-noetic-rosparam-shortcuts
but I run in error that says that it is impossible to find rosparam-shortcuts
even if I try to build from source
rosdep install -y --from-paths src --ignore-src --rosdistro $noetic
but it still doesn't work.
I think that the problem is due to the fact that rosparam_shortcuts is currently only released for ROS Kinetic and Melodic.
Is there a way to compile and run a package in Noetic even if it is released in Melodic? If it is not the case, could you please suggest me a tutorial to interface Moveit configuration with the hardware? I'm using Ubuntu 20.04.4 LTS (focal), with ROS distro Noetic.
Thank you so much for your help!
according to status_page/ros_noetic_default.html?q=rosparam_shortcuts is available for Noetic.
thank you for your reply. Could you please give me some tips to install the package in noetic? I have tried sudo apt-get install ros-noetic-rosparam-shortcuts but it says that it is imposible to install the package.
Then I have tried to buid from source: I have cloned the package in the catkin_ws, then I run in terminal rosdep install -y --from-paths src --ignore-src --rosdistro noetic
it says that it is impossible find the package ros-noetic-rosparam-shortcuts
Should I use a different method to install the package?
Thank you
I would not start building things from source if the package should be available.
I suggest to figure out why you can't install it using
apt
.What is the output of
uname -a
on your system? Have you ran asudo apt update
recently? What is the exact error message you get fromapt
when runningsudo apt install ros-noetic-rosparam-shortcuts
? Please do not paraphrase error messages.just tested this in a
ros:noetic
Docker container, and I see this:That seems to imply
rosparam_shortcuts
is available and can be installed on Noetic.