Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp@0:adae25491b93, 2016-04-18 (annotated)
- Committer:
- mikeb
- Date:
- Mon Apr 18 01:14:36 2016 +0000
- Revision:
- 0:adae25491b93
- Child:
- 1:4fceb43e2dd3
1st Draft. Some accuracy errors when close to sensor axis. ; Needs a filter and a method to process the 2 sensors. ; Filter is a must.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mikeb | 0:adae25491b93 | 1 | #include "mbed.h" |
mikeb | 0:adae25491b93 | 2 | #include "AoA_Est.h" |
mikeb | 0:adae25491b93 | 3 | #include "Phase_Finder.h" |
mikeb | 0:adae25491b93 | 4 | |
mikeb | 0:adae25491b93 | 5 | int main() { |
mikeb | 0:adae25491b93 | 6 | int x[2] = { 95, -82 }; |
mikeb | 0:adae25491b93 | 7 | int y[2] = { 77, -110 }; |
mikeb | 0:adae25491b93 | 8 | Phase_Finder phase(50000, 900); |
mikeb | 0:adae25491b93 | 9 | Phase_Finder phase2(50000, 900); |
mikeb | 0:adae25491b93 | 10 | Phase_Finder phase3(50000, 900); |
mikeb | 0:adae25491b93 | 11 | AoA_Est AoA(2, x, y, 900); |
mikeb | 0:adae25491b93 | 12 | while(1) { |
mikeb | 0:adae25491b93 | 13 | |
mikeb | 0:adae25491b93 | 14 | } |
mikeb | 0:adae25491b93 | 15 | } |