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.
Revision 10:8f933ed27db0, committed 2020-07-27
- Comitter:
- nishimura_taku_pet
- Date:
- Mon Jul 27 05:01:04 2020 +0000
- Parent:
- 9:5f197f0fa9bd
- Child:
- 11:8fe62237a6a6
- Commit message:
- add watchsurrounding
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jul 27 01:43:23 2020 +0000
+++ b/main.cpp Mon Jul 27 05:01:04 2020 +0000
@@ -98,6 +98,7 @@
/* 障害物回避走行 */
void avoidance(void const *argument){
while(1){
+ watchsurrounding();
if(flag == 0){ // 障害物がない場合
run = ADVANCE; // 前進
}