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.
Fork of Team5robotkode by
Diff: robot.cpp
- Revision:
- 3:30bdc3d9e1c6
- Parent:
- 2:1c27a43bb9b7
- Child:
- 4:62a6681510d6
--- a/robot.cpp Wed Nov 02 08:05:41 2016 +0000 +++ b/robot.cpp Wed Nov 02 08:11:24 2016 +0000 @@ -67,13 +67,6 @@ //fourth position: #define fourth_x 70 #define fourth_y 50 -/* -============================================================================= -Calculation of length between points -============================================================================= -*/ - double angle_desire = (second_y-first_y)/(second_x-first_x); - double error_present = atan(angle_desire)-0.785; Timer t; // define a timer t Serial pc(USBTX, USBRX); // not used here because we only have one serial