-
|
Hey guys! @vtikha Are you still using Lua in yarp? I wanted to create a state machine in which, in different states it could send and receive information/commands from different modules. Do you recommend me to use Lua? Or is there something else which is better? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
|
Hi @amaroyo Yep, I can confirm that using |
Beta Was this translation helpful? Give feedback.
-
|
Hi @amaroyo @pattacini @vtikha @apaikan !! Disclaimer: no intention to go against any recommended best practice! Will begin The robotic video-game I'm involved in is currently written in C/C++. Facts are we actually made a small state machine library for it (with some limited documentation and tests), and are going to present it at an upcoming workshop. Feel free to take a look, reuse, and/or file an issue if you see anything worthy of comment. Regarding code integration (for not having to install the video-game as a dependency), I've spoken with other project leaders and we have the intention of splitting several projects into mini-repositories and then unifying them through git submodules. We could give priority to this library if required. |
Beta Was this translation helpful? Give feedback.
-
|
No problem @jgvictores, you're very welcome to advertise new solutions you're working on 😄. Side noteAiming to mini-repositories is a good way of organizing code and its dependencies, but using By the way, why don't you try our superbuild mechanism instead? cc @drdanz |
Beta Was this translation helpful? Give feedback.
-
|
@pattacini I was actually quite reluctant to |
Beta Was this translation helpful? Give feedback.
-
|
@jgvictores that's good! @amaroyo I've found this resource online: http://wiki.icub.org/images/4/46/Rfsm_yarp.pdf. |
Beta Was this translation helpful? Give feedback.
-
|
@pattacini thanks for sharing the tutorial. I guess that is the only tutorial using yarp with rfsm. @amaroyo honestly, I do not see any special need for other doc or tutorials regarding rFSM and Lua. What actually one needs is just to know: @jgvictores there are plenty reasons why we decided to stay away from c++-implemented or pure xml-based state machines (e.g., SCXML). Using scripting for developing state machines for component coordination has distinct advantages as thoroughly discussed in this article. |
Beta Was this translation helpful? Give feedback.
-
|
@jgvictores Thanks, I will take a look to the code! @pattacini Yes! I found the same slides in google, but I saw that the date was 2013 :) @apaikan Thanks for the documentation, I will take them a look and tell you how it goes! |
Beta Was this translation helpful? Give feedback.
Hi @amaroyo
Yep, I can confirm that using
Luais still our preferable way to code not only state machines but also behavior based applications within our infrastructure.cc @vtikha @apaikan