Initial Commit

Dependencies:   mbed HC05 QEI MODSERIAL SWSPI mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
harshb
Date:
Tue Oct 21 21:59:15 2014 +0000
Parent:
5:eb706d3e512c
Commit message:
Initial Commit

Changed in this revision

Drivers/HC05.lib Show annotated file Show diff for this revision Revisions of this file
Robot.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed/MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
mbed/SWSPI.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Drivers/HC05.lib	Tue Oct 21 14:02:19 2014 +0000
+++ b/Drivers/HC05.lib	Tue Oct 21 21:59:15 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/davervw/code/SWSPI/#e2d77a394590
+http://developer.mbed.org/teams/EdgeBotix/code/HC05/#e2d77a394590
--- a/Robot.lib	Tue Oct 21 14:02:19 2014 +0000
+++ b/Robot.lib	Tue Oct 21 21:59:15 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Abhishek/code/Robot_Original/#0eeea5f05e28
+http://developer.mbed.org/teams/EdgeBotix/code/eBot/#a95a6243c118
--- a/main.cpp	Tue Oct 21 14:02:19 2014 +0000
+++ b/main.cpp	Tue Oct 21 21:59:15 2014 +0000
@@ -32,8 +32,8 @@
 void Motorcontroller(void const *args)
 {
 
-    Current_Right_pulse= right.getPulses()/5;
-    Current_Left_pulse=left.getPulses()*(-1)/5;
+    Current_Right_pulse= right.getPulses()/10;
+    Current_Left_pulse=left.getPulses()*(-1)/9.85;
 
     Change_Right_pulse=Current_Right_pulse- Previos_Right_pulse;
     Change_Left_pulse=Current_Left_pulse- Previous_Left_pulse;
@@ -69,8 +69,8 @@
     if(Last_Error_Left==100) {
         Linput=0;
     }
-    *motors.Left = -Linput;          // HARSH change to -Linput for black and Linput for blue
-    *motors.Right = Rinput;        //// HARSH change to Rinput for black and -Rinput for blue
+    *motors.Left = Linput;          // HARSH change to -Linput for black and Linput for blue
+    *motors.Right = -Rinput;        //// HARSH change to Rinput for black and -Rinput for blue
 }
 char c;
 char buffer[10];
--- a/mbed/MODSERIAL.lib	Tue Oct 21 14:02:19 2014 +0000
+++ b/mbed/MODSERIAL.lib	Tue Oct 21 21:59:15 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Sissors/code/MODSERIAL/#657e235d88f8
+http://developer.mbed.org/teams/EdgeBotix/code/MODSERIAL/#657e235d88f8
--- a/mbed/SWSPI.lib	Tue Oct 21 14:02:19 2014 +0000
+++ b/mbed/SWSPI.lib	Tue Oct 21 21:59:15 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/davervw/code/SWSPI/#50294edaa3d2
+http://developer.mbed.org/teams/EdgeBotix/code/SWSPI/#50294edaa3d2