yei

Dependencies:   interface mbed enc_1multi calPID motorout KondoServoLibrary

Fork of cat18_operate by Catch the GIANT Caplico!

workinfo/workinfo.h

Committer:
yuto17320508
Date:
2018-09-09
Revision:
45:51ab3ca47228
Parent:
37:d4b711619962

File content as of revision 45:51ab3ca47228:

#ifndef INCLUDED_WORKINFO_H_
#define INCLUDED_WORKINFO_H_
///@file
///@brief ワークの初期設定
#include "state.h"
extern BoxPosi shootingbox[12];
extern WorkPosi work[24];
extern Pattern now_pattern;
//穴の数
extern const int kWorkAreaNum;
extern const int kCommonAreaNum;
extern const int kBoxNum;
//配列のスタート番号
extern const int kWorkStart;
extern const int kCommonStart;

///@brief ワーク等の情報をセット
void SetupPosition();
///@brief 共通エリアのパターン決定
void ArrangementPattern(Pattern pattern);
///@brief yaw,pitchを設定.カラーを入れた後にやること
void YawPitchSetup();


double GetIdealYawRad(WorkState state);
double GetIdealPitchRad(WorkState state);
#endif