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

Revision history [back]

click to hide/show revision 1
initial version

It's not direct answer to your question but maybe someone could find it useful. First make sure if you are using sim_time (use_simtime = true or in other words you are playing data from bag files) that you are actually playing bag file with --clock because smach_viewer won't show anything if clock is not published.

Also make sure to start IntrospectionServer.

I'm using Melodic Ubuntu 18.04 and it somehow started to work. My normal terminal output:

rosrun smach_viewer smach_viewer.py 
wxversion 2.8 is not installed, installed versions are ['3.0-gtk3']
wxversion 2.8 is not installed, installed versions are ['3.0-gtk3']

(smach_viewer.py:9336): Gtk-WARNING **: 17:23:15.839: gtk_disable_setlocale() must be called before gtk_init()

(smach_viewer.py:9336): Gtk-WARNING **: 17:23:16.118: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node entry, owner GtkEntry)

(smach_viewer.py:9336): Gtk-WARNING **: 17:23:16.118: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkToggleButton)

(smach_viewer.py:9336): Gtk-WARNING **: 17:23:16.118: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node spinbutton, owner GtkSpinButton)

(smach_viewer.py:9336): Gtk-WARNING **: 17:23:16.118: Negative content height -12 (allocation 0, extents 6x6) while allocating gadget (node entry, owner GtkSpinButton)