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

smach_viewer problem

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

Ugo gravatar image

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

Hi,

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: http://pastebin.com/rfp7N914 .

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

Cheers,

Ugo

edit retag flag offensive close merge delete

Comments

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 -0500 )edit
I'm using diamondback. The executive_smach version is 1.0.1
Ugo gravatar image Ugo  ( 2011-05-31 03:06:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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 https://code.ros.org/trac/ros-pkg/ticket/4982">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

Comments

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

Question Tools

Stats

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

Seen: 438 times

Last updated: May 31 '11