nicklasgav/Sphero-Desktop-API — pull request #4 by panther44 (2012-11-23 17:42:24+00:00)
Title: Bugfix and new commands

Hey,

I hope this is the right procedure to offer you some updates for ur project since I'm not that hardcore git user ;)
I have fixed that bug within the stbilization command class and added two macro commands: StartLoop and EndLoop. This allows you to define loops within macros.
An example might be:

macro.addCommand(new LoopStart(100));
macro.addCommand(new RGB(255, 0, 0, 0));
macro.addCommand(new Delay(1000));
macro.addCommand(new RGB(0, 255, 0, 0));
macro.addCommand(new Delay(1000));
macro.addCommand(new LoopEnd());

Best regards,
Sebastian