NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: main.cpp
- Revision:
- 32:e2e02338805e
- Parent:
- 31:872d8b8c7812
- Child:
- 33:fd98776b6cc7
--- a/main.cpp Sat Mar 30 09:17:44 2013 +0000 +++ b/main.cpp Tue Apr 02 16:57:56 2013 +0000 @@ -14,7 +14,7 @@ #define RATE 0.002 // speed of the interrupt for Sensors and PID #define PPM_FREQU 495 // Hz Frequency of PPM Signal for ESCs (maximum <500Hz) #define MAXPITCH 40 // maximal angle from horizontal that the PID is aming for -#define RC_SENSITIVITY 20 +#define RC_SENSITIVITY 30 #define YAWSPEED 2 // maximal speed of yaw rotation in degree per Rate float P = 1.5; // PID values @@ -30,8 +30,8 @@ // initialisation of hardware (see includes for more info) LED LEDs; #ifdef PC_CONNECTED - PC pc(USBTX, USBRX, 115200); // USB - //PC pc(p9, p10, 115200); // Bluetooth + //PC pc(USBTX, USBRX, 115200); // USB + PC pc(p9, p10, 115200); // Bluetooth #endif LocalFileSystem local("local"); // Create the local filesystem under the name "local" //FILE *Logger;