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

Revision history [back]

I have the same problem. You can print the smach package path

import smach

smach.__path__

In my case, catkin_make create a redundant smach package in my workspace devel directory.

Just delete it.

I have the same problem and from smach import State can not solve my problem. You can So, I print the smach package pathpath.

import smach

smach.__path__print(smach.__path__)

In my case, I found that catkin_make create a redundant smach package in my workspace devel directory.directory. Just delete it and solved.

Just delete it.