etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
公開メンバ関数 | 公開変数類 | 限定公開変数類 | 全メンバ一覧
NormalCourse クラス

#include <NormalCourse.h>

NormalCourse の継承関係図
Inheritance graph
NormalCourse 連携図
Collaboration graph

公開メンバ関数

 NormalCourse ()
 
void stop ()
 
void runOrStop (Walker &walker)
 

公開変数類

LineTracerWalker lineTracerWalker
 

限定公開変数類

MotorAngle motor_angle
 
int8_t forward
 
int8_t turn
 

詳解

NormalCourse.h8 行目に定義があります。

構築子と解体子

NormalCourse::NormalCourse ( )
inline

NormalCourse.h10 行目に定義があります。

10 : motor_angle(), forward(0), turn(0) {}
int8_t forward
Definition: NormalCourse.h:17
MotorAngle motor_angle
Definition: NormalCourse.h:16

関数詳解

void NormalCourse::runOrStop ( Walker walker)

NormalCourse.cpp8 行目に定義があります。

9 {
10  if(lineTracerWalker.getForward() < 0) {
11  walker.run(0, 0);
12  } else {
14  }
15 }
void run(std::int8_t pwm, std::int8_t turn)
Definition: Walker.cpp:30
LineTracerWalker lineTracerWalker
Definition: NormalCourse.h:13

呼び出し関係図:

被呼び出し関係図:

void NormalCourse::stop ( )

NormalCourse.cpp3 行目に定義があります。

4 {
6 }
void setForward(int8_t setValue)
LineTracerWalker lineTracerWalker
Definition: NormalCourse.h:13

呼び出し関係図:

被呼び出し関係図:

メンバ詳解

int8_t NormalCourse::forward
protected

NormalCourse.h17 行目に定義があります。

LineTracerWalker NormalCourse::lineTracerWalker

NormalCourse.h13 行目に定義があります。

MotorAngle NormalCourse::motor_angle
protected

NormalCourse.h16 行目に定義があります。

int8_t NormalCourse::turn
protected

NormalCourse.h18 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: