小安迪
小安迪

Reputation: 1

Sphero 2.0 RollCommand Is not working continuos

maybe I'm getting something wrong but if I send the RollCommand it will only move a little after a sec. it will stop.

In the QuickStart guide there is an information that it will roll until it hits something or it gets out of range.

What I'm not getting here? Do I have to repeat my function every second?

-(void)rollforward{
[RKRollCommand sendCommandWithHeading:90 velocity:0.5];}

Upvotes: 0

Views: 296

Answers (1)

naofireblade
naofireblade

Reputation: 23

This is called Motion Timeout. It's one of five option flags which can be set since Firmware 1.20. These flags keep their state even after sphero is switched off.

More information on how to set and get the flags can be found on these sample projects:

The documentation says this flag is off by default but maybe they changed this in a prior firmare update.

Upvotes: 0

Related Questions