test program

Dependencies:   LSM9DS1_Library2 MotorV2 SRF05 Tracker2 mbed nRF24L01P

Fork of DUMP_TRUCK_SPR2017 by Terrabots

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;
 //    }
-//    
+//  
 
+*/  
+