Home› Programming
Discussion
Back to discussions page
mbirkholz
Posts: 4 Apprentice
Using 2F 140 Gripper with ROS kinetic |
674 views
|
Answered | |
/ Most recent by mbirkholz
in Programming
|
5 comments |

in Programming
Hi there,
i was trying to use the 2F-Gripper with the ROS robotiq package and got an Import Error as i was executing
rosrun robotiq_2f_gripper_control Robotiq2FGripperRTUNode.py /dev/ttyUSB0
saying the folder module msg was missing, which is a filename extension and also a folder name:
Traceback (most recent call last):
File "/opt/ros/kinetic/share/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py", line 50, in <module>
from robotiq_2f_gripper_control.msg import _Robotiq2FGripper_robot_input as inputMsg
ImportError: No module named msg
should i change the import mechanism or did i miss something?
File "/opt/ros/kinetic/share/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py", line 50, in <module>
from robotiq_2f_gripper_control.msg import _Robotiq2FGripper_robot_input as inputMsg
ImportError: No module named msg
should i change the import mechanism or did i miss something?
Best regards,
Michael
Tagged:
Our ROS expert @jproberge can certainly guide you through your question.
Best regards,
Thanks for reaching out to us!
This is definitely abnormal and should not be happening, it's strange! Have you compiled your catkin workspace properly? Any errors during compilation? Do you source your workspace (source [...]/catkin_ws/devel/setup.bash) ?
In case you sourced and compiled your catkin workspace properly, could you tell me a bit more about your setup (Linux OS, ROS version)? Also, after having compiled the workspace, could you try to generate the messages explicitly by typing:
"catkin_make robotiq_2f_gripper_control_generate_messages"
without quotes and see if you get the same error?
All the best,
Jean-Philippe Roberge,
ROS Package Developper / Maintainer
[email protected]
Could not find a package configuration file provided by
"controller_manager" with any of the following names:
controller_managerConfig.cmake
controller_manager-config.cmake
Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or
set "controller_manager_DIR" to a directory containing one of the above
files. If "controller_manager" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
robotiq/robotiq_3f_gripper_control/CMakeLists.txt:4 (find_package)
-- Could not find the required component 'controller_manager'. 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/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"controller_manager" with any of the following names:
controller_managerConfig.cmake
controller_manager-config.cmake
Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or
set "controller_manager_DIR" to a directory containing one of the above
files. If "controller_manager" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
robotiq/robotiq_3f_gripper_control/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/t1/Schreibtisch/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/t1/Schreibtisch/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:528: die Regel für Ziel „cmake_check_build_system“ scheiterte
make: *** [cmake_check_build_system] Fehler 1
Invoking "make cmake_check_build_system" failed