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

smach_viewer problem

asked 2011-05-30 21:41:56 -0600

Ugo gravatar image

updated 2011-05-30 22:23:41 -0600


smach_viewer is reporting an error when I'm trying to visualize my state machine. It's displaying the state machine correctly and I can see the states changing, but when it gives me the following error message: .

state_machines_library is not my package, it's just a subdirectory in my package src directory where I put some state machines.



edit retag flag offensive close merge delete


Which ros distribution are you using? What is the version of the executive_smach stack (see the CMakeList.txt file in the executive_smach root folder).
Wim gravatar image Wim  ( 2011-05-31 02:55:39 -0600 )edit
I'm using diamondback. The executive_smach version is 1.0.1
Ugo gravatar image Ugo  ( 2011-05-31 03:06:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-31 03:08:28 -0600

Wim gravatar image

Below is the relevant part of the smach code that is failing. It does not look very robust to changes in the exception. I created a ticket">here. Could you post details about the ros/smach/python version you were using?

try: self._local_data._data = pickle.loads(msg.local_data) break except ImportError as ie: # This will only happen once for each package
modulename = ie.args[0][16:] packagename = modulename[0:modulename.find('.')] roslib.load_manifest(packagename)

edit flag offensive delete link more


Ok, I added the info to the ticket.
Ugo gravatar image Ugo  ( 2011-05-31 03:13:02 -0600 )edit

Question Tools


Asked: 2011-05-30 21:41:56 -0600

Seen: 430 times

Last updated: May 31 '11