I’m trying to run my quiz for the Actions Server unit. I’m facing the following import error:
ImportError: cannot import name CustomActionMsgFeedback
I had tried also to change this:
" from actions_quiz import CustomActionMsgFeedback, CustomActionMsgResult, CustomActionMsgAction "
" from actions_quiz.msg import CustomActionMsgFeedback, CustomActionMsgResult, CustomActionMsgAction "
but then, I get
ImportError: No module named msg
I had followed all steps for creating custom actions, and I don’t know what is wrong. You can check all my code in this gist:
This file has been truncated.
## Compile as C++11, supported in ROS Kinetic and newer
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
<node pkg="actions_quiz" type="actions_quiz.py" name="action_custom_msg_as" output="screen">
There are more than three files.
Thank you very much in advanced.