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 3875_Individualproject
Diff: main/main.h
- Revision:
- 23:71e84953b3f3
- Parent:
- 22:02dda79d50b4
- Child:
- 24:adb946be4ce5
--- a/main/main.h Wed Apr 08 06:03:58 2020 +0000 +++ b/main/main.h Wed Apr 08 21:57:10 2020 +0000 @@ -3,6 +3,9 @@ #include "m3pi.h" #include "mbed.h" +#include <cmath> + +using namespace std; // Constants #define A 0.5 // 20 @@ -74,10 +77,11 @@ int dist_est_1 = 0; int dist_est_2 = 0; +bool first = true; bool t_restart = true; -char dir = 'N'; +char dir; int curr_coords[2]; -int total_points = 0; +int total_points; unsigned int looped_path[100] unsigned int point[100]; unsigned int type[100];