can't find executable name when running the smach_viewer package
i was following a tutorial from the book ROS Robotics Projects
by Ramkumar Gandhinathan, Lentin Joseph in the 5th chapter when i run rosrun smach_viewer simple_fsm.py
i get an error it says [rosrun] Couldn't find executable named simple_fsm.py below /opt/ros/melodic/share/smach_viewer
even though i have sourced my workspace and it is in my $ROS_PACKAGE_PATH
please can anyone tell me how to solve this problem? Thank you
Try
rosrun smach_viewer smach_viewer.py
instead.After running the command
rosrun smach_viewer smach_viewer.py
the terminal sayswxversion 2.8 is not installed, installed versions are ['3.0-gtk3']
(smach_viewer.py:3051): Gtk-WARNING **: 04:47:09.099: gtk_disable_setlocale() must be called before gtk_init()
(smach_viewer.py:3051): Gtk-WARNING **: 04:47:11.661: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node entry, owner GtkEntry)
and some other warnings. When the smach_viewer opens all it says is PATH NOT AVAILABLEHow to install wxPython 2.8 on Ubuntu 18.04?
i tried the suggestions in the link you gave but none of them worked for me i couldn't install wxPython 2.8