For coursework of group 3 in SOFT564Z

Dependencies:   Motordriver ros_lib_kinetic

Revision:
7:2796f0b5228d
Parent:
4:8afc50a3e4ac
Child:
11:0b9098ec11c7
--- a/ROS_Handler.cpp	Mon Dec 02 13:13:15 2019 +0000
+++ b/ROS_Handler.cpp	Thu Dec 05 13:02:10 2019 +0000
@@ -8,8 +8,6 @@
 #include "Motors.hpp"
 #include "Pins.h"
 
-DigitalOut myLED(LED1);
-
 extern Motor A; // pwm, fwd, rev, can brake
 extern Motor B; // pwm, fwd, rev, can brake
 
@@ -32,7 +30,6 @@
 
 // Main function for thread to handle ROS comms
 void ROS_Handler(void){
-    myLED = 1;
     Node_.initNode();
     Node_.advertise(Pub_);
     Node_.subscribe(Sub_);