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.
Diff: Global.cpp
- Revision:
- 25:589742cd3137
- Parent:
- 19:c6ad6b453b39
- Child:
- 26:a53c3208ac35
--- a/Global.cpp Thu Jun 23 14:42:24 2016 +0000 +++ b/Global.cpp Sat Jul 23 00:09:05 2016 +0000 @@ -5,7 +5,7 @@ Queue<char, 20> Global::initqueue; -//----------------普段は変動しない変数(定数)------------------------------------------------------ +//----------------普段は変動しない変数------------------------------------------------------ //サーボのパラメータ(角度(度数法)で設定)max,minはニュートラルを基準にしている double Global::maxpitch = 5.0; double Global::minpitch = -5.0; @@ -132,7 +132,7 @@ } -//定数チックな変数 +//init等で更新される変数 double Global::getmaxpitch(){return maxpitch;} double Global::getminpitch(){return minpitch;} double Global::getneutralpitch(){return neutralpitch;} @@ -177,7 +177,7 @@ void Global::settrimpitchrate(double _trimpitchrate){trimpitchrate=_trimpitchrate;} -//変数 +//常に更新される変数 double Global::getpitch(){return pitch;} double Global::getpitchdegree(){return pitchdegree;} int Global::getinttrimpitch(){return inttrimpitch;}