skipper_raspi_uart_test

Dependencies:   mbed MPU6050_2 HMC5883L_4 SDFileSystem3

config/falfalla.h

Committer:
taknokolat
Date:
2019-02-18
Revision:
24:0ad1725c7849
Parent:
20:011977a37394

File content as of revision 24:0ad1725c7849:

#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;
static int Time360;
static int Match_wid;
static int Camera_board_wait;

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