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: Control_Yokutan_CANver1 ADXL345_I2C mbed MPU6050
Fork of Souda_Yokutan_ver528TF by
Revision 40:ad98da5da7bf, committed 2017-03-11
- Comitter:
- YusukeWakuta
- Date:
- Sat Mar 11 22:42:45 2017 +0000
- Branch:
- XBus???
- Parent:
- 39:c6036315831a
- Child:
- 41:efebfdd955ac
- Child:
- 42:bf98a29e81ac
- Commit message:
- ????????????
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Mar 11 17:04:49 2017 +0000
+++ b/main.cpp Sat Mar 11 22:42:45 2017 +0000
@@ -12,12 +12,12 @@
#define SEND_DATAS_LOOP_TIME 0.1
#define RECEIVE_DATAS_LOOP_TIME 0.1
-#define ERURON_MOVE_DEG_INI_R 0.5
+#define ERURON_MOVE_DEG_INI_R 1.0
#define DRUG_MOVE_DEG_INI_R 0.32
#define ERURON_TRIM_INI_R 0
#define DRUG_TRIM_INI_R 0.62
-#define ERURON_MOVE_DEG_INI_L 0.5
+#define ERURON_MOVE_DEG_INI_L 1.0
#define DRUG_MOVE_DEG_INI_L 0.32
#define ERURON_TRIM_INI_L 0
#define DRUG_TRIM_INI_L 0.62
@@ -135,7 +135,7 @@
toSendDatas[i] = gyro_c[i];
}
// toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)(V/100);
- toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)77;
+ toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)V;
}
void receiveDatas()
