NEKODESU

Dependencies:   PID R1370 wheelUnit states Controller ikarashiMDC omni_wheel

Files at this revision

API Documentation at this revision

Comitter:
talsl
Date:
Wed Jul 10 09:23:14 2019 +0000
Parent:
2:27ba304c2348
Commit message:
NEKODESU;

Changed in this revision

libs/pin_config.h Show annotated file Show diff for this revision Revisions of this file
libs/states.lib Show annotated file Show diff for this revision Revisions of this file
libs/wheelUnit.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 27ba304c2348 -r 1524930315f0 libs/pin_config.h
--- a/libs/pin_config.h	Wed Jul 10 08:02:18 2019 +0000
+++ b/libs/pin_config.h	Wed Jul 10 09:23:14 2019 +0000
@@ -24,12 +24,12 @@
 #define STOP PA_7
 
 /*PID*/
-const float KP = 5.5;        //速さ
+const float KP = 10;        //速さ
 const float KI = 5.0;        //揺れすぎたら大きく、動かな過ぎたら小さく
 const float KD = 0.0000005;  //ずらしたときに戻る力 がでかすぎたら小さく、小さすぎたら大きく
-const float minLimit = -1.0; //逆回転速度の最大値
-const float maxLimit = 1.0;  //回転速度の最大値
+const float minLimit = -1; //逆回転速度の最大値
+const float maxLimit = 1;  //回転速度の最大値
 
 /*モーター速度*/
-const float SPEEDRATE = 1.0;
+const float SPEEDRATE = 0.7;
 #endif
diff -r 27ba304c2348 -r 1524930315f0 libs/states.lib
--- a/libs/states.lib	Wed Jul 10 08:02:18 2019 +0000
+++ b/libs/states.lib	Wed Jul 10 09:23:14 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/THtakahiro702286/code/states/#38dd7564c15f
+https://os.mbed.com/users/talsl/code/states/#e91ca9213add
diff -r 27ba304c2348 -r 1524930315f0 libs/wheelUnit.lib
--- a/libs/wheelUnit.lib	Wed Jul 10 08:02:18 2019 +0000
+++ b/libs/wheelUnit.lib	Wed Jul 10 09:23:14 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/THtakahiro702286/code/wheelUnit/#3c9eaf598f21
+https://os.mbed.com/users/talsl/code/wheelUnit/#f2e7db075be1