Rob Griffith / Mbed 2 deprecated rat_code

Dependencies:   mbed QEI

Committer:
rwgriffithv
Date:
Mon Nov 26 23:50:58 2018 +0000
Revision:
3:35deb5c21b33
Parent:
2:14f83a308b82
pid controller updated

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rwgriffithv 3:35deb5c21b33 1 #include "assignment3.h"
rwgriffithv 0:88c60458332e 2
rwgriffithv 0:88c60458332e 3 int main() {
rwgriffithv 0:88c60458332e 4 /***
rwgriffithv 0:88c60458332e 5 * Run a function from "run_modes" here.
rwgriffithv 0:88c60458332e 6 * You can also put some indicator to show that your mouse has booted,
rwgriffithv 0:88c60458332e 7 * such as a print statement or an LED blink.
rwgriffithv 0:88c60458332e 8 ***/
rwgriffithv 0:88c60458332e 9
rwgriffithv 0:88c60458332e 10 /*blinky_led(); assignment1 test1*/
rwgriffithv 0:88c60458332e 11 /*hello_world(); assignment1 test2*/
rwgriffithv 0:88c60458332e 12
dionigi 1:6f18bb7a77a5 13 /*read_encoders();
dionigi 1:6f18bb7a77a5 14
rwgriffithv 0:88c60458332e 15 left wheel
rwgriffithv 0:88c60458332e 16 R: 358
rwgriffithv 0:88c60458332e 17 Experimental 2R: 713
rwgriffithv 0:88c60458332e 18 Theoretical 2R: 716
rwgriffithv 0:88c60458332e 19 Experimental 3R: 1081
rwgriffithv 0:88c60458332e 20 Theoretical 3R: 1074
rwgriffithv 0:88c60458332e 21 right wheel
rwgriffithv 0:88c60458332e 22 R: 359
rwgriffithv 0:88c60458332e 23
rwgriffithv 0:88c60458332e 24 basic_motor_movement();
dionigi 1:6f18bb7a77a5 25 assignment2*/
dionigi 1:6f18bb7a77a5 26
rwgriffithv 3:35deb5c21b33 27 drive_straight(); // assignment3 test1
rwgriffithv 3:35deb5c21b33 28 do_turns3();
rwgriffithv 0:88c60458332e 29 }