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.
Revision 4:40c5308a8d0d, committed 2021-02-17
- Comitter:
- mrtkhmbed
- Date:
- Wed Feb 17 08:16:15 2021 +0000
- Parent:
- 3:e58b5020b1c2
- Commit message:
- 123 while(duty>=-0.85) --> while(duty>-0.85)
Changed in this revision
| SCforMatlab.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SCforMatlab.cpp Wed Feb 17 08:14:27 2021 +0000
+++ b/SCforMatlab.cpp Wed Feb 17 08:16:15 2021 +0000
@@ -120,7 +120,7 @@
duty_count=0;
measure_mode=MEASURE_CCW; //逆転方向測定開始
ticker_.attach(callback(this,&SCforMatlab::measureTurn),delta_t);
- while(duty>=-0.85) { //デューティ比の上限は8.5になっている。上げる場合は配列の要素数が足りるか注意してください。
+ while(duty>-0.85) { //デューティ比の上限は8.5になっている。上げる場合は配列の要素数が足りるか注意してください。
least_squares[duty_count][MEASURE_CCW]=(ec_->getOmega())*GEER;
duty_count++;
duty=duty_count*(-0.05);