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

SMACH C++ counterpart

asked 2017-11-29 02:48:31 -0500

Westranger gravatar image

I was looking for a way to use SMACH in C++ but it seems that there is no C++ version of SMACH. I'm currently having some nodes written in python and some written in C++. The Python nodes all use SMACH and I mainly want it for visualizing the internal states of my robot. I also want my C++ components to be in shown in that visualization and I also want to use the hierarchical part of SMACH. Is there any implementation somewhere which can achieves this? I'm mainly interested in the visualization of internal states, writing a state machine is not that of a problem, but I don't want to spend any time on the visual part.

edit retag flag offensive close merge delete

Comments

Have you found a way to use smach in c++ ?

Cyril Jourdan gravatar image Cyril Jourdan  ( 2018-04-20 14:07:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-09-20 05:54:51 -0500

AlexandrosNic gravatar image

I know it's an old question but since it's still unanswered I'll reply. Check SMACC, or even alternatively try Behavior Trees as a replacement for Finite State Machines.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2017-11-29 02:48:31 -0500

Seen: 955 times

Last updated: Sep 20 '21