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: main.cpp
- Revision:
- 9:e248986c8423
- Parent:
- 8:ded0354412ae
- Child:
- 10:a335588b9ef0
--- a/main.cpp Wed May 01 07:41:15 2019 +0000 +++ b/main.cpp Wed May 01 08:13:24 2019 +0000 @@ -296,8 +296,8 @@ robot.setLeg(&leg_lo, &leg_li); robot.setTickerTime(0.01); //モータ出力間隔 0.01 - motor_lo.setDutyLimit(0.3); - motor_li.setDutyLimit(0.3); + motor_lo.setDutyLimit(0.5); + motor_li.setDutyLimit(0.5); /* char str[255] = {}; @@ -322,7 +322,8 @@ while(1) { - straight(step_num_l, step_num_r); + //straight(step_num_l, step_num_r); + turnLeft(step_num_l, step_num_r); //printf("machine degree:%.3f\r\n", degree0); wait(0.01); }