|
etrobocon2019 feat.KatLab
ece30a9a007fff7d3ad48592c0d09a74643377bb
|
#include <NormalCourse.h>

公開メンバ関数 | |
| NormalCourse (Controller &controller_, bool isLeftCourse_, int targetBrightness_) | |
| void | setIsLeftCourse (bool isLeftCourse_) |
| void | runNormalCourse () |
| bool | getIsLeftCourse () const |
| int | getTargetBrightness () const |
NormalCourse.h の 12 行目に定義があります。
| NormalCourse::NormalCourse | ( | Controller & | controller_, |
| bool | isLeftCourse_, | ||
| int | targetBrightness_ | ||
| ) |
コンストラクタ
| controller | [コントローラのインスタンス] |
| isLeftCourse_ | [エッジがどっちかtrueがLeftコース] |
| targetBrightness_ | [カラーセンサーの目標値] |
NormalCourse.cpp の 13 行目に定義があります。
| bool NormalCourse::getIsLeftCourse | ( | ) | const |
| int NormalCourse::getTargetBrightness | ( | ) | const |
targetBrightness(カラーセンサの目標値)を返すゲッター
NormalCourse.cpp の 69 行目に定義があります。
| void NormalCourse::runNormalCourse | ( | ) |
実際にNormalコースを走る.
実際にNormalコースを走る. ここにパラメータを頑張って書く.
詳しく見たいならLineTracer.hを見てね. 進む距離,目標スピード,スピードpid,ターンpid
NormalCourse.cpp の 31 行目に定義があります。


| void NormalCourse::setIsLeftCourse | ( | bool | isLeftCourse_ | ) |
1.8.13