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: DriveConroller IMU MDD Mycan Odometer PID RotaryEncoder UART USS mbed
Fork of AR_MastarNode by
Diff: hardwareConfig.h
- Revision:
- 9:ce5a1315fe0d
- Parent:
- 6:a102603c99fd
- Child:
- 10:ebb59c1d369e
--- a/hardwareConfig.h Mon Aug 20 13:39:26 2018 +0000 +++ b/hardwareConfig.h Sun Aug 26 09:07:19 2018 +0000 @@ -26,7 +26,7 @@ DriveController mecanum(jacobian, 0.95); //(計算周期時間[s], sla, sld) -IMU imu(0.005, p9, p10); +IMU imu(0.01, p9, p10); //(pwmPin, direPin) MDD Motor[4] = { MDD(p22, p21), @@ -38,7 +38,7 @@ Timer timer; //(A相, B相) -RotaryEncoder enc[3] = {RotaryEncoder(p5 , p6 , &timer, 400), +RotaryEncoder enc[3] = {RotaryEncoder(p5 , p6 , &timer, 100), RotaryEncoder(p18, p17, &timer, 100), RotaryEncoder(p16, p15, &timer, 100), };