SDの設定が反映されるように修正
Dependencies: mbed MPU6050_2 HMC5883L_2 SDFileSystem3
config/falfalla.h
- Committer:
- HARUKIDELTA
- Date:
- 2019-02-14
- Revision:
- 17:83db05cab3d1
- Parent:
- 16:26cee2aaf61d
File content as of revision 17:83db05cab3d1:
#ifndef FALFALLA_H #define FALFALLA_H #define SWITCH_CHECK 1400 #define NUMBER_FALFALLA 2 //何号機かを入れるとそれに応じて#if以下が変わって設定が変わる static int Servo_NEUTRAL_R; //SDcard用宣言 static int Servo_NEUTRAL_L; static int Servo_high_FORWARD_R; static int Servo_high_FORWARD_L; static int Servo_back_R; static int Servo_back_L; static int Servo_slow_FORWARD_R; static int Servo_slow_FORWARD_L; static int Turntable_NEUTRAL; static int Matchspeed; //機体角度調整 static int Focus_NEUTRAL;//カメラ焦点 static int Camera_deg_A;//カメラ角度調整 static int Camera_deg_B; static int Pint_speed; static float Pint_wait; static int Turntable_speed; #if NUMBER_FALFALLA == 1 //1号機 const int8_t Reverce_falfalla[4] = {1,-1,1,1}; //Nutral:1 , Reverce:-1 #elif NUMBER_FALFALLA == 2 //2号機 const int16_t Reverce_falfalla[4] = {1,-1,1,-1}; //Nutral:1 , Reverce:-1 #endif #endif /* ESTRELA_H_ */ /* x軸回り ロール y軸回り ピッチ z軸回り ヨー */