ros / executive_smach

A procedural python-based task execution framework with ROS integration.
Other
171 stars 139 forks source link

SMACH with no ROS #84

Open Jovimocar opened 3 years ago

Jovimocar commented 3 years ago

Hi. Using a Ubuntu with Melodic ROS Distro I'm able to import smach library on python only even not using any ROS functionality. So, I'm wondering if is it possible to use smach library without ROS on a Windows or Raspbian OS . Does somebody knows if that's possible?

theotromp97 commented 2 years ago

Hi,

The smach library can be used in any python project, independent of ROS see tutorial 1: getting started with smach:

Smach, which stands for "State Machine", is a powerful and scalable Python-based library for hierarchical state machines. The Smach library does not depend on ROS, and can be used in any Python project. The executive_smach stack however provides very nice integration with ROS, including smooth actionlib integration and a powerful Smach viewer to visualize and introspect state machines.

You can however not use the smach_viewer, since it needs to be roslaunched. Not sure about that latter though