Skip to content

Issuses with Spherov2 on M4 MacOs #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jswa9964 opened this issue Mar 5, 2025 · 3 comments
Open

Issuses with Spherov2 on M4 MacOs #45

jswa9964 opened this issue Mar 5, 2025 · 3 comments

Comments

@jswa9964
Copy link

jswa9964 commented Mar 5, 2025

I’m having some weird problems with using SpheroV2.

The robot can move forward and backward, and it turns. I can control the front and back LEDs. The Onfreefall and onland event handlers work, but the main LED and the Oncollision event handlers don’t.

When I run the same code on a Windows PC, everything works perfectly. But on a Mac, it only works partially.

Has anyone else had issues using this software on a Mac?

@superfashi
Copy link
Member

I'm not aware the reason of this happening. It could be a bug in the underlying bleak library. You can try updating the library but I'm not sure if there's API breakage.

@jswa9964
Copy link
Author

jswa9964 commented Mar 7, 2025

Thanks for the reply superfashi.
I managed to get it working!
I don't think its a Mac specific issue because today I came across 4 others with Windows Machines with the same problem.

I tried an older version of Python and that solved it for me.

I arbitrarily chose Python 3.9.6 and created a virtual environment in Vs Code and its works at least on my machine.
NOTE: I haven't tested all the capabilities out just yet, but will update this post if I come across other problems.

Hope this helps others.

Image

@superfashi
Copy link
Member

Hey thanks for figuring this out. Unfortunately I don't have any sphero devices with me anymore to test why this is the issue. I wish there were someone else that could help with development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants