Yosuke Kirihata / Mbed 2 deprecated Nucleo_roomba

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Roomba Class Reference

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 
)

コンストラクタ

Parameters:
tx
rx

Definition at line 9 of file Roomba.cpp.


Member Function Documentation

bool battery ( int *  batteryCapacity )

バッテリ状態 実装未完了

Parameters:
true
Returns:
Return values:

Definition at line 75 of file Roomba.cpp.

bool drive ( int  rightWheelVelocity,
int  leftWheelVelocity 
)

Parameters:
true

Definition at line 44 of file Roomba.cpp.

bool mode ( Roomba::Mode::EMode  m )

操作モード変更メソッド

Parameters:
操作モード
Returns:
true

Definition at line 32 of file Roomba.cpp.

bool start (  )

start

Returns:
true

Definition at line 19 of file Roomba.cpp.