|
ETrobocon2017 - 片山研究所モデルベース開発推進事業部
|
#include <Motor.h>

公開メンバ関数 | |
| Motor (ePortM port, bool brake=true, motor_type_t type=LARGE_MOTOR) | |
| ~Motor (void) | |
| void | reset (void) |
| int32_t | getCount (void) const |
| void | setCount (int32_t count) |
| void | setPWM (int pwm) |
| void | setBrake (bool brake) |
| void | stop () |
静的公開変数類 | |
| static const int | PWM_MAX = 100 |
| static const int | PWM_MIN = -100 |
限定公開メンバ関数 | |
| motor_port_t | getPort (void) const |
| bool | getBrake (void) const |
| int | getPWM (void) const |
フレンド | |
| class | Steering |
|
explicit |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
| void Motor::setBrake | ( | bool | brake | ) |
|
inline |
| void Motor::setPWM | ( | int | pwm | ) |
1.8.13