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: mbed
Diff: PeopleEngine/People.cpp
- Revision:
- 14:42b8a91e463c
- Parent:
- 13:eb60628db8bf
--- a/PeopleEngine/People.cpp Thu May 14 16:45:20 2020 +0000 +++ b/PeopleEngine/People.cpp Fri May 15 08:04:39 2020 +0000 @@ -75,7 +75,7 @@ _x -= int(_mag*5); _y -= int(_mag*5); } else if(_d == W){ _x -= int(_mag*5); _y -= 0; - } else if(_d == NW){ + } else if(_d == SW){ _x -= int(_mag*5); _y += int(_mag*5); } //printf("Mag = %f,Direction = %d,Coordinate = %d, %d\n",_mag,_d,_x,_y);