sphero macrolab commands - · pdf filescreenshot add command stop roll stop rgb fade back led...

8
Sphero MacroLab Commands Command Icon Command Name Action Roll Moves Sphero for a programmed amount of time & direction. Stop Halts Sphero in its current direction Delay Sphero waits ___ milliseconds before starting the next command. Wait Until Stop Next command does not begin until Sphero has stopped Comment Use to leave notes to yourself and descriptive text of what your program does. RGB Change Sphero’s color. Sleep Turns Sphero off. Rotate Makes Sphero rotate a programmed number of degrees. Set Orientation Sets Sphero’s current heading (direction) to the direction it is currently facing. Loop Start Marks the beginning of a loop (a section of code that you want to repeat) Loop End Marks the ending of a repeated section of code (loop).

Upload: hamien

Post on 06-Mar-2018

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT

Sphero MacroLab Commands  

Command Icon  Command Name  Action 

 

Roll  Moves Sphero for a programmed amount of time & direction. 

 

Stop  Halts Sphero in its current direction 

 

Delay  Sphero waits ___ milliseconds before starting the next command. 

 

Wait Until Stop  Next command does not begin until Sphero has stopped 

 

Comment  Use to leave notes to yourself and descriptive text of what your program does. 

 

RGB  Change Sphero’s color. 

 

Sleep  Turns Sphero off. 

 

Rotate  Makes Sphero rotate a programmed number of degrees. 

 

Set Orientation  Sets Sphero’s current heading (direction) to the direction it is currently facing. 

 

Loop Start  Marks the beginning of a loop (a section of code that you want to repeat) 

 

Loop End  Marks the ending of a repeated section of code (loop). 

Page 2: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT

 Full Set of Commands   

 

  

Tutorials: http://www.gosphero.com/macro­lab­tutorials/ 

Page 3: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT
Page 4: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT
Page 5: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT
Page 6: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT
Page 7: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT
Page 8: Sphero MacroLab Commands - · PDF filescreenshot Add Command STOP Roll Stop RGB Fade Back LED Delay WaitUntilStop Set Orientation Rotate Rotation Rate Stabilization Raw Motor EMIT