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.
Fork of Estrela_v12 by
SkipperSv2.h
00001 #ifndef SKIPPERSV2_H_ 00002 #define SKIPPERSV2_H_ 00003 00004 /*フライトモードの変数================ 00005 ModeBreak モードブレイク 状態変更時に1回だけ呼び出して、現在実行中のRTOSタスクを全部無効にする 00006 GroundCheck 初期化モード まず最初に呼び出して、各種設定を有効にし、機体のチェック等を行う 00007 ManualMode 手動飛行モード 通常のラジコンと同じ状態 00008 AutoLoop 自動操縦 水平旋回モード 00009 AutoMobius 自動操縦 8の字飛行モード 00010 AutoClimb 自動操縦 上昇旋回 00011 AutoGlide 自動操縦 自動滑空 00012 AutoLanding 自動操縦 自動着陸 00013 */ 00014 #define GROUNDCHECK 0 00015 #define MANUALMODE 1 00016 #define AUTOLOOP 2 00017 #define AUTOMOBIUS 3 00018 #define AUTOCLIMB 4 00019 #define AUTOGLIDE 5 00020 #define AUTOLANDING 6 00021 00022 #define MAGBIASX -144 //-63 00023 #define MAGBIASY 480 //580 00024 #define MAGBIASZ 125 //132 00025 00026 int OperationMode=GROUNDCHECK; //通常時 00027 //int OperationMode=2; //デバック用 00028 00029 bool Flag_ChangeMode=true; //モードを切り替えた瞬間を検出してtrueを返す モード変更が直ちに行われ、falseになる。 00030 //=========== end ============= 00031 00032 #endif /* SKIPPERSV2_H_ */
Generated on Thu Jul 14 2022 11:51:45 by
