Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Roomba Class Reference
ルンバ制御クラス More...
#include <Roomba.h>
Inherited by ImplRoomba [protected]
.
Public Member Functions | |
Roomba (PinName tx, PinName rx) | |
コンストラクタ | |
bool | mode (Roomba::Mode::EMode m) |
操作モード変更メソッド | |
bool | start () |
start | |
bool | drive (int rightWheelVelocity, int leftWheelVelocity) |
| |
bool | battery (int *batteryCapacity) |
バッテリ状態 実装未完了 |
Detailed Description
ルンバ制御クラス
Definition at line 11 of file Roomba.h.
Constructor & Destructor Documentation
Roomba | ( | PinName | tx, |
PinName | rx | ||
) |
Member Function Documentation
bool battery | ( | int * | batteryCapacity ) |
bool drive | ( | int | rightWheelVelocity, |
int | leftWheelVelocity | ||
) |
- Parameters:
-
true
Definition at line 44 of file Roomba.cpp.
bool mode | ( | Roomba::Mode::EMode | m ) |
bool start | ( | ) |
Generated on Sat Jul 16 2022 09:17:49 by
