This code includes FRDM-STBC-AGM01 in order to add 9dof Sensor Fusion to Nerf Gun Demo. 9dof = accelerometer, magnetometer and gyro.
Dependencies: DebounceIn FXAS21000 FXOS8700Q Madgwick_Algorithm Mahony_Algorithm mbed nRF24L01P
Fork of FRDM-STBC-AGM01 by
The goal of this project is to incorporate sensor fusion capability to the already existing Nerf Gun Demo. The demo is controlled using Freescale's FRDM-K64F. I'm looking to add the FRDM-STBC-AGM01 to the project, which not only has FSL's combo accelerometer and magnetometer part FXOS8700Q but also FSL's gyro part FXAS21000. Hopefully the combination of all three sensors for 9dof sensor fusion will improve the mobility and control of the the demo's movement.
Details of the project can be found on the Freescale online community at https://community.freescale.com/groups/demolab/projects/fun-with-sensorfusion-nerf-gun-and-openrov-projects.
Revision 4:651a5029e003, committed 2015-08-14
- Comitter:
- igalloway
- Date:
- Fri Aug 14 15:15:14 2015 +0000
- Parent:
- 3:10f487bae65c
- Commit message:
- added a comment in main.; Note the FXAS2100 library may have switched back to jim Carvers - may need to get Rio's again.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 10f487bae65c -r 651a5029e003 main.cpp --- a/main.cpp Thu Aug 13 22:17:28 2015 +0000 +++ b/main.cpp Fri Aug 14 15:15:14 2015 +0000 @@ -1,3 +1,5 @@ +//This is an intern project to port 9DOF sensor fusion to the Nerf gun. + #include "mbed.h" #include "FXOS8700Q.h" #include "FXAS21000.h"
diff -r 10f487bae65c -r 651a5029e003 mbed.bld --- a/mbed.bld Thu Aug 13 22:17:28 2015 +0000 +++ b/mbed.bld Fri Aug 14 15:15:14 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/da0ca467f8b5 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/b9ad9a133dc7 \ No newline at end of file