RT-AICHIPV3-sample
|
関数 | |
void | initAICHIP (void) |
void | setSendDataEnable (uint8_t en) |
void | setDutyMotor (float pwm_duty) |
float | getDutyMotor (void) |
void | setDutyRate (float targetDuty, float dutyRate) |
float | getDegree (void) |
void | setDegree (float deg) |
uint8_t | isStop (void) |
uint8_t | isCurve (void) |
uint8_t | isSlope (void) |
void | debugAICHIP (void) |
void debugAICHIP | ( | void | ) |
デバッグ用関数
void |
float getDegree | ( | void | ) |
現在の角度を返す
void |
float getDutyMotor | ( | void | ) |
motorに設定した現在のdutyを返す
void |
void initAICHIP | ( | void | ) |
AICHIPFunction.c内の関数を使用できるようにする
void |
uint8_t isCurve | ( | void | ) |
カーブしているかどうかを返す
void |
uint8_t isSlope | ( | void | ) |
斜面にいるかどうかを返す
void |
uint8_t isStop | ( | void | ) |
静止状態かどうかを返す
void |
void setDegree | ( | float | deg | ) |
角度をセットする
deg | [radian] |
void setDutyMotor | ( | float | pwm_duty | ) |
モータを指定したdutyで回転させる
pwm_duty | -1.0 to 1.0 |
void setDutyRate | ( | float | targetDuty, |
float | dutyRate | ||
) |
void setSendDataEnable | ( | uint8_t | en | ) |
機体データの送信をするかどうかを選択
en | 1:送信 0:送信じ禁止 |