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.
Dependencies: mbed QEI mbed-rtos
Diff: main.cpp
- Revision:
- 14:02411880ffb9
- Parent:
- 13:ba71733c11d7
--- a/main.cpp Fri Mar 01 02:10:59 2013 +0000
+++ b/main.cpp Tue Mar 12 04:32:22 2013 +0000
@@ -79,7 +79,7 @@
// osPriorityHigh = +2, ///< priority: high
// osPriorityRealtime = +3, ///< priority: realtime (highest)
// osPriorityError = 0x84 ///< system cannot determine priority or thread has illegal priority
- float w_ref_req[2] = {2* 2*PI, 4* 2*PI}; // [rad/s], 指令速度(第2要素は指令速度急変後の指令速度)
+ float w_ref_req[2] = {2* 2*PI, 10* 2*PI}; // [rad/s], 指令速度(第2要素は指令速度急変後の指令速度)
float t; // [s], 現在の時間
init_parameters(); // モータの機器定数等の設定, 制御器の初期化