Extension Updates for RL 2.0+: Signal State Machine and Deferred Command Queue

david.whittingham's Avatar

david.whittingham

16 Aug, 2013 06:28 AM

Hi,

Not sure if this is the correct place to let everyone know, but I've forked the Signals-based state machine for RL1 and updated it for use with 2.0+.

Edit:
I've now updated both Signal State Machine and Deferred Command Queue to be RL2.0+ compatible.

Signal State Machine

From a usage stand point, it should work exactly the same way as the old version (except for how it hooks into Robotlegs, a class implementing IExtension is included). The one exception to this is fallback commands. I wasn't clear on how they worked and couldn't find documentation explaining them. As I didn't have any need for them in the project I was working on, I didn't put a lot of effort into understanding them and dropped them.

I'm also yet to update the tests, but I plan to do this when time allows.

Deferred Command Queue

This one is completely updated including tests (which I ported to FlexUnit). It's not setup as a context extension.

  1. Support Staff 1 Posted by Ondina D.F. on 17 Aug, 2013 07:26 AM

    Ondina D.F.'s Avatar

    Thank you for sharing the rl2 state machine with us, David!
    I'll move the thread to Resources and Examples.

  2. 2 Posted by david.whittingh... on 19 Aug, 2013 08:18 AM

    david.whittingham's Avatar

    No problem.

    I've also now updated Stray's DeferredCommandQueue utility to work on RL2.0+.

    https://github.com/DavidWhittingham/robotlegs-utilities-DeferredCom...

    Hopefully someone finds these useful :)

  3. Support Staff 3 Posted by Ondina D.F. on 19 Aug, 2013 10:51 AM

    Ondina D.F.'s Avatar

    Of course they are useful!! Thank you for your work.

  4. Ondina D.F. closed this discussion on 23 Sep, 2013 02:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac