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

asked 2016-11-15 08:22:15 -0500

bhujbalshreyas gravatar image

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)??

edit retag flag offensive close merge delete

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.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-15 08:42:59 -0500 )edit

an example would be highly appreciated

AlexandrosNic gravatar image AlexandrosNic  ( 2021-05-06 10:20:44 -0500 )edit