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.
Fork of omuni by
Diff: omuni.cpp
- Revision:
- 3:51f47bf405a0
- Parent:
- 2:fe76af2dff4d
- Child:
- 5:5133533ed6d2
diff -r fe76af2dff4d -r 51f47bf405a0 omuni.cpp --- a/omuni.cpp Fri Oct 13 10:10:32 2017 +0000 +++ b/omuni.cpp Mon Oct 16 08:18:30 2017 +0000 @@ -30,7 +30,6 @@ RXData[2] = 0 ; RXData[3] = 0 ; RXData[4] = 0 ; - tick.attach(callback(this, &omuni::compute_task), delta); } void omuni::out(char rxdata[dataNum],float L) { @@ -59,16 +58,9 @@ m1 = s1; m2 = s2; m3 = s3; - //printf("%5.2f : %5.2f : %5.2f : %5.2f",(float)x2,(float)y2,sieta1*180/PI,r1); - //printf("\n"); -} - -void omuni::compute_task() -{ - m1.compute(); - m2.compute(); - m3.compute(); m1.run(); m2.run(); m3.run(); + //printf("%5.2f : %5.2f : %5.2f : %5.2f",(float)x2,(float)y2,sieta1*180/PI,r1); + //printf("\n"); } \ No newline at end of file