Looking for Programming Help

I am wondering if advanced coders know of way to code (or can create a program for) Sphero to both rotate and revolve at the same time? I’ve tried everything that I could think of with no luck.

1 Like

Hey @TeachSTEM!

Are you looking for something like a spinning bot moving in a circle on the floor?

Looking forward to hearing more!

Kelsey

1 Like

I think they might be referring to the fact that it usually stops before changing directions and accelerating again.

Ahhhhhh!! That is much easier than what I said :laughing:
Thank you, @Emerald_RVR!

To fluidly change direction as you are still moving, you can do something like this:

The delays in the code just mean that the bot will go in the previously set direction (heading) for the delay’s time period :slight_smile:

I hope this helps and, @TeachSTEM, let me know if this isn’t quite what you were looking for! Can’t wait to see what you’re doing with it :relaxed:

Kelsey

1 Like