skipper_raspi_uart_test

Dependencies:   mbed MPU6050_2 HMC5883L_4 SDFileSystem3

config/falfalla.h

Committer:
taknokolat
Date:
2019-02-12
Revision:
13:b088f0db7158
Parent:
12:083662bca47d
Child:
16:26cee2aaf61d

File content as of revision 13:b088f0db7158:

#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;


#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軸回り    ヨー
*/