sphero-inc / Sphero-iOS-SDK

🚫 DEPRECATED: Sphero™ is the amazing robotic ball ( sphero.com ) created by Orbotix, this is the repository for the iOS SDK for Sphero™. Visit dev site for more information:
http://sdk.sphero.com
225 stars 81 forks source link

Macro command issue #61

Open citysite102 opened 7 years ago

citysite102 commented 7 years ago

Hello, we used the SDK from the beta branch and found out some weird issue when using the macro command to control our SPRK+, after sending command for motor and color changing, SPRK+ became out of control no matter what we sent to it, any help would be appreciated, thx for your help 👍

eldudo commented 6 years ago

Hello, I am facing a similar problem. I've bought a SPRK+ and an Ollie Darkside. I am able to run the different samples from the beta branch, except the MacroSample. For instance, the MacroSquare method does not work. But if I remove all the addCommand calls, except this one : [macro addCommand:[RKMCRoll commandWithSpeed:_robotSpeed heading:0 delay:_robotDelay]]; then it works... I suspect there is a kind of time out problem or buffer size of the command size (but changing the RKMacroObjectMode on the macro does not change anything).

Do you have any advice or knowledge of how to deal with several addCommand calls ?

Any help would be really appreciated !

Best regards