Set rolling duration


I’m currently doing a small project with a Sphero Mini V2 and I was wondering if there is a way to set the duration of the roll with heading command.

If someone has some sort of documentation or code sample, it would be really helpful.


I came across this post which is quite similar.

I understand the purpose of the timeout but is there a way to decrease itin order to have a more precise control over it ?

Hi @Yanis,

RVR does have an interface for setting the control system timeout duration, but Mini does not. To drive for longer than 2 seconds, you’ll need to resend the roll with heading command before the previous command times out. To drive for shorter times, simply send a second command with the same heading but zero speed when you want it to stop.