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

Could I execute smach in c++?

asked 2012-09-04 04:42:43 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

I've made a state machine, but I need to compile it into c++, because I need to execute in the Nao.

Is there a way to execute Smach in Nao using python?.

Thanks.

edit retag flag offensive close merge delete

Comments

Loy gravatar image Loy  ( 2012-09-05 01:14:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-09-05 08:36:08 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

@Loy's answer to just run Python on the NAO looks like the right solution. SMACH is a pure python library. Though there have been implementations of SMACH semantics in other languages, there is no native implementation that I know of in c/c++.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-04 04:42:43 -0500

Seen: 1,243 times

Last updated: Sep 05 '12