RoboMasterC610クラス [詳解]
#include <Udon/Driver/RoboMasterMotor.hpp>
公開メンバ関数 | |
| Udon::Range< int16_t > | getCurrentRange () const override |
| 指定可能電流範囲 | |
| void | setCurrent (int16_t current) override |
| モーターの電流を設定 | |
| RoboMasterBase (Udon::ICanBus &bus, int motorId, Udon::Direction direction=Udon::Direction::Forward) | |
| コンストラクタ | |
| RoboMasterBase (const RoboMasterBase &)=delete | |
| コンストラクタ | |
| RoboMasterBase (RoboMasterBase &&other) | |
| コンストラクタ | |
基底クラス Udon::RoboMasterBase に属する継承公開メンバ関数 | |
| RoboMasterBase (Udon::ICanBus &bus, int motorId, Udon::Direction direction=Udon::Direction::Forward) | |
| コンストラクタ | |
| RoboMasterBase (const RoboMasterBase &)=delete | |
| コピーコンストラクタ | |
| RoboMasterBase (RoboMasterBase &&other) | |
| ムーブコンストラクタ | |
| double | getAngle () const |
| モーターの角度を取得 | |
| double | getRawAngle () const |
| モーターの角度を取得 | |
| int16_t | getVelocity () const |
| モーターの速度を取得 | |
| int16_t | getTorqueCurrent () const |
| モーターのトルク電流を取得 | |
| uint8_t | getTemperature () const |
| モーターの温度を取得 | |
その他の継承メンバ | |
基底クラス Udon::RoboMasterBase に属する継承限定公開メンバ関数 | |
| void | setRawCurrent (int16_t rawCurrent) |
RoboMasterC610クラス
|
inlineoverridevirtual |
指定可能電流範囲
Udon::RoboMasterBaseを実装しています。
|
delete |
コンストラクタ
| bus | CAN通信バス |
| motorId | モーターID (1~8) |
| direction | 回転方向 |
|
inline |
コンストラクタ
| bus | CAN通信バス |
| motorId | モーターID (1~8) |
| direction | 回転方向 |
|
inline |
コンストラクタ
| bus | CAN通信バス |
| motorId | モーターID (1~8) |
| direction | 回転方向 |
|
inlineoverridevirtual |