Skip to content
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

Sphero BOLT Magnetometer #21

Open
gazialankus opened this issue Aug 26, 2020 · 2 comments
Open

Sphero BOLT Magnetometer #21

gazialankus opened this issue Aug 26, 2020 · 2 comments
Assignees

Comments

@gazialankus
Copy link

I can use Sphero BOLT's magnetometer value just fine in Sphero Edu App using getCompassDirection() in the JavaScript code in the app. But I can't find magnetometer sensor reading in this library. All I could do was to run the calibration procedure where the robot turns around itself.

What's the easies way to reverse engineer BOLT to figure out how to get magnetometer readings? I can decompile the app, but the relevant parts are minified with ProGuard, it seems. Should I try to intercept BLE messages? Could you lead me in the right direction to get this to work?

Thank you for this awesome library!

@EnotYoyo EnotYoyo self-assigned this Sep 9, 2020
@EnotYoyo
Copy link
Owner

EnotYoyo commented Sep 9, 2020

Should I try to intercept BLE messages?

Yes, that's a good way.
I think you should try to use the magnetometer_north_yaw_notify command

@MatP-MatP
Copy link
Contributor

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

3 participants