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
Fork of Team5_kode by
Revision 3:30bdc3d9e1c6, committed 2016-11-02
- Comitter:
- kimnielsen
- Date:
- Wed Nov 02 08:11:24 2016 +0000
- Parent:
- 2:1c27a43bb9b7
- Commit message:
- asd
Changed in this revision
robot.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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