-
Notifications
You must be signed in to change notification settings - Fork 390
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
[Friend V2] Friend can use accelerometer and gyroscope. ($500) #569
Comments
Please see my full code, I added firmware to be able to expose the accelerometer, it's not just one dot I swear! Wasn't too familiar with PRs lol |
Will review soon, thanks for the PR |
I'd suggest we support this for DevKit 1 as well. |
I think it does! Both versions have the same accelerometer, so in theory any firmware that uses the accelerometer will work on both. |
Yes. This was more of a comment so that the app doesn't try to gate this based on the hardware revision. :-) |
#569 How to Test: 1. Flash the zephyr.uf2 file located in friend/firmware/firmwarev1.0/accel_build. 2. Run the updated app in debug mode and open the console. 3. Wait for the hardware to connect. Then after a while you should see accelerometer data, including the gyroscope appear on the console. 4. Throw your friend hard, preferably onto a soft surface like a couch. If you throw hard enough you should get a notification labeled 'ouch.....' . I've tried fake falling and if the parameter fall_number listed in communication.dart is low enough, you can trigger the notification but you may trigger it on accident if you move fast.
Is your feature request related to a problem? Please describe.
I want to be able to retrieve gyroscope and accelerometer data from my Friend device.
Describe the solution you'd like
Test this feature by receiving the data with accelerometer and gyroscope, and make a fake the detect if your Friend falls, that triggers a notification that says smth about it.
The text was updated successfully, but these errors were encountered: