The project is not done yet

Dependencies:   USBHost USBHostXpad mbed-rtos mbed

Fork of Totaleprogramma by jordy morsinkhof

Committer:
juliandekker
Date:
Mon Mar 02 10:58:30 2015 +0000
Revision:
1:da390b3b1330
Parent:
0:345f76c72b9a
xbox controller robot

Who changed what in which revision?

UserRevisionLine numberNew contents of line
347467 0:345f76c72b9a 1 #include "mbed.h"
347467 0:345f76c72b9a 2
347467 0:345f76c72b9a 3 class Traxster {
347467 0:345f76c72b9a 4 private:
347467 0:345f76c72b9a 5 Serial& rob;
347467 0:345f76c72b9a 6 public:
347467 0:345f76c72b9a 7 Traxster(Serial& robotComm /* and other controls or sensors...*/)
347467 0:345f76c72b9a 8 : rob(robotComm)
347467 0:345f76c72b9a 9 {
347467 0:345f76c72b9a 10 rob.baud(19200);
347467 0:345f76c72b9a 11 };
347467 0:345f76c72b9a 12
347467 0:345f76c72b9a 13 // Set motor speeds. [-1, +1] of max speed for motor.
347467 0:345f76c72b9a 14 void SetMotors(float m1, float m2);
347467 0:345f76c72b9a 15
347467 0:345f76c72b9a 16 };