Robotics StackExchange | Archived questions

how should I integrate SMACH python scripts with my roscpp scripts??

I came across this package called SMACH, but it is written in python, I have been writing in CPP, how can I integrate the SMACH python scripts with my roscpp scripts?

Or I should go with decision_making(a package that supports cpp)??

Asked by bhujbalshreyas on 2016-11-15 09:22:15 UTC

Comments

If you're looking into state machines (SM) to coordinate your node graph, then if possible, use a topic / service / action interface between your SM and whatever you are coordinating. That way you separate the coordinator and the coordinated, making the language(s) used irrelevant.

Asked by gvdhoorn on 2016-11-15 09:42:59 UTC

an example would be highly appreciated

Asked by AlexandrosNic on 2021-05-06 10:20:44 UTC

Answers