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: globalFlags.h
- Revision:
- 48:71aec693a7dc
- Parent:
- 47:d3fa874f336e
- Child:
- 50:76413e8e073d
diff -r d3fa874f336e -r 71aec693a7dc globalFlags.h
--- a/globalFlags.h Wed Feb 20 12:54:25 2019 +0000
+++ b/globalFlags.h Sun Feb 24 10:33:34 2019 +0000
@@ -29,7 +29,14 @@
* @def BRK_RPM
* @brief 前部サブプロペラのブレーキ用途で使用する回転数
*/
-#define BRK_RPM 7000
+#define BRK_RPM 9000
+
+/**
+* @def UPDATE_RATE
+* @brief タスクのアップデートレート 50Hz
+*/
+#define UPDATE_RATE 50
+
/**
* @typedef typPrintFlg
@@ -67,6 +74,7 @@
bool mo4 : 1;//!< Motor4 Offset val
bool ep1 : 1;//!< 前エンジンにセットされたパラメータ値
bool ep2 : 1;//!< 後エンジンにセットされたパラメータ値
+ bool mrpm :1;//!< Motor RPM
bool rsv_01 : 1;//!< reserve 01
bool rsv_02 : 1;//!< reserve 02
bool rsv_03 : 1;//!< reserve 03
@@ -74,7 +82,6 @@
bool rsv_05 : 1;//!< reserve 05
bool rsv_06 : 1;//!< reserve 06
bool rsv_07 : 1;//!< reserve 07
- bool rsv_08 : 1;//!< reserve 08
}bf;
}d2;
}typPrintFlg;
@@ -229,6 +236,7 @@
REAR, //!< 後部エンジン
};
+
/////////////////////////////////////////////////
/**