Main repository for dump truck API development in Spring 2017

Dependencies:   Tracker mbed MotorV2 SRF05 nRF24L01P

Fork of DUMP_TRUCK_TEST_V1 by Terrabots

Activities

This Week

If needed, please contact Milo Pan at mpan9@gatech.edu for rights and access to this repository.

Revision:
5:dc4cf6cc24b3
Parent:
4:2f1a0f628875
Child:
6:5cc6a9b6f60e
--- a/DumpTruck.cpp	Tue Nov 29 20:04:34 2016 +0000
+++ b/DumpTruck.cpp	Tue Feb 07 21:01:20 2017 +0000
@@ -1,21 +1,14 @@
 #include "DumpTruck.h"
-#include "stdlib.h"
-#include "QEI.h"
+/*#include "stdlib.h"
 #include "stdio.h"
-#include "string.h"
+#include "string.h"*/
 
-
-Serial pc(USBTX, USBRX);
+//Serial pc(USBTX, USBRX);
 
 DumpTruck::DumpTruck(int truckId) : truckNumber(truckId) {
     truckNumber = truckId;
 }
 
-QEI wheel (p15, p16, NC, 128, QEI::X4_ENCODING); //orange, yellow
-float pulseCount; //number of pulses detected by encoder
-float encoding = 2; //X2
-float d = 13.25; //inches of circumference
-float distance;
 PwmOut DrivePin(p24);
 DigitalOut DirPin(p30);
 float travelled;
@@ -250,5 +243,7 @@
 //    float input = AnalogIn(x); // data from potentiometer
 //    return input;
 //    }
-//    
+//  
 
+*/  
+