Niet van mijzelf

Dependencies:   USBHost USBHostXpad mbed-rtos mbed

Fork of x4180_Tank by C K

Committer:
347467
Date:
Wed Feb 25 08:38:37 2015 +0000
Revision:
10:7e3987c8fa37
Parent:
0:79485480cd7e
Xboxcontroller;

Who changed what in which revision?

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