sdカードに焦点調整を追加

Dependencies:   mbed MPU6050_2 HMC5883L_2 SDFileSystem3

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers falfalla.h Source File

falfalla.h

00001 #ifndef FALFALLA_H
00002 #define FALFALLA_H
00003 
00004 #define SWITCH_CHECK 1400
00005 #define NUMBER_FALFALLA 2 //何号機かを入れるとそれに応じて#if以下が変わって設定が変わる
00006 
00007 static int Servo_NEUTRAL_R;               //SDcard用宣言
00008 static int Servo_NEUTRAL_L;
00009 static int Servo_high_FORWARD_R;
00010 static int Servo_high_FORWARD_L;
00011 static int Servo_back_R;
00012 static int Servo_back_L;
00013 static int Servo_slow_FORWARD_R;
00014 static int Servo_slow_FORWARD_L;
00015 static int Turntable_NEUTRAL;
00016 static int Matchspeed; //機体角度調整
00017 static int Focus_NEUTRAL;//カメラ焦点
00018 static int Camera_deg_A;//カメラ角度調整
00019 static int Camera_deg_B;
00020 static int Pint_speed;
00021 static float Pint_wait;
00022 
00023 
00024 #if NUMBER_FALFALLA == 1    //1号機
00025 const int8_t Reverce_falfalla[4] = {1,-1,1,1};   //Nutral:1 , Reverce:-1
00026 
00027 #elif NUMBER_FALFALLA == 2  //2号機
00028 const int16_t Reverce_falfalla[4] = {1,-1,1,-1};   //Nutral:1 , Reverce:-1
00029 
00030 #endif
00031 
00032 
00033 #endif /* ESTRELA_H_ */
00034 
00035 /*
00036 x軸回り    ロール
00037 y軸回り    ピッチ
00038 z軸回り    ヨー
00039 */