Hierarchical State Machine Framework for leJOS

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: imaqine, 99jonathan, roger

User avatar
Advanced Member
Posts: 325
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Re: Hierarchical State Machine Framework for leJOS

Postby esmetaman » Tue Nov 01, 2011 2:54 pm

Hi Matt,

yes, I am really interesting in your example. Last summer, I was researching in this field because HSM is the evolution for state machines. I think that HSM is more versatile than subsumption architecture so if you have some example, I would like to test. I have other implementation but you are the first leJOS user who are interested in this area.

I would like to test your idea.

I send you other alternatives:

Take a look the package about HSM for ROS:

Juan Antonio Breña Moral

New User
Posts: 1
Joined: Wed Nov 09, 2011 3:54 am

Re: Hierarchical State Machine Framework for leJOS

Postby mileoresko » Wed Nov 09, 2011 4:09 am

Hi folks :)

I'm the creator of hierarchism (http://code.google.com/p/hierarchism/).
I don't know much about leJOS honestly, but if you are interested in using my Java HSM implementation, I would be glad to help you get started.

It is not properly documented at this point, but I've been using it here and there with quite a bit of success, and also with a lot of ease.
HSM design complexity that you can achieve with this implementation is really high. The UML State Machine standard has been covered completely - at least afaik.
The state machine engine implementation itself is fairly lightweight, and (in my experience) high performing.
For your project, it may be important to note that hierarchism is tested and works fine on both Java ME and Java SE.

For starters, you can take a look at the Course/Enrollment test HSM in the source code, which can give you an idea of how to use the library.

So if you have interest, and have some questions, just let me know ...

Cheers :)

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 1 guest