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.
Dependents: wheel_test6 wheel_test7 2019NHK_A_manual_red 2019NHK_A_manual_red
Revision 17:88782093ab68, committed 2019-10-03
- Comitter:
- highfieldsnj
- Date:
- Thu Oct 03 17:28:58 2019 +0900
- Parent:
- 16:893d1d146757
- Commit message:
- change angle
Changed in this revision
OmniPosition.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 893d1d146757 -r 88782093ab68 OmniPosition.cpp --- a/OmniPosition.cpp Thu Jun 20 08:35:28 2019 +0000 +++ b/OmniPosition.cpp Thu Oct 03 17:28:58 2019 +0900 @@ -59,8 +59,7 @@ int16_t OmniPosition::getY() { return Y; } float OmniPosition::getTheta() { - return (float)(theta / 100.0) * (M_PI / 180.0); + return (float)(theta / 100.0);// * (M_PI / 180.0); } void OmniPosition::reset() { putc('R'); } -