Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MPU6050_2 HMC5883L_2 SDFileSystem3
config/SkipperSv2.h
- Committer:
- taknokolat
- Date:
- 2019-02-11
- Revision:
- 11:8427ecccf07d
File content as of revision 11:8427ecccf07d:
#ifndef SKIPPERSV2_H_
#define SKIPPERSV2_H_
/*フライトモードの変数================
ModeBreak モードブレイク 状態変更時に1回だけ呼び出して、現在実行中のRTOSタスクを全部無効にする
StartUP 初期化モード まず最初に呼び出して、各種設定を有効にし、機体のチェック等を行う
ManualMode 手動飛行モード 通常のラジコンと同じ状態
AutoLoop 自動操縦 水平旋回モード
AutoMobius 自動操縦 8の字飛行モード
AutoClimb 自動操縦 上昇旋回
AutoGlide 自動操縦 自動滑空
AutoLanding 自動操縦 自動着陸
*/
#define MAGBIASX 0 //-63
#define MAGBIASY 0 //580
#define MAGBIASZ 0 //132
bool Flag_ChangeMode=true; //モードを切り替えた瞬間を検出してtrueを返す モード変更が直ちに行われ、falseになる。
//=========== end =============
#endif /* SKIPPERSV2_H_ */