【サンプル】Node.js JavaScript
Webブラウザからの各種制御
Section titled “Webブラウザからの各種制御”ChromeブラウザのWeb Bluetooth APIを使用し、KeiganMotorをコントロールするサンプルです。
Android版Chromeブラウザ、Mac版Chromeで動作します。
https://keigan-motor.com/apiSample/motorApiSample/
ソースコード(GitHub)
https://github.com/keigan-motor/kmconnector-js/tree/master/examples/browser_webbluetooh
音声との連動
Section titled “音声との連動”ブラウザでJavaScriptを用いてKeiganMotorをコントロールするサンプルです。
モーターを接続し、PLAYボタンで音声と共にモーターを再生します。
Android版Chromeブラウザ、Mac版Chromeで動作します。
>>デモURL
Section titled “>>デモURL”https://keigan-motor.com/apiSample/riz-keigan/
ソースコード
音声コントロールによる制御
Section titled “音声コントロールによる制御”ChromeブラウザのWeb Bluetooth APIを使用し、音声でKeiganMotorをコントロールするサンプルです。
音声認識にはwebkitSpeechRecognitionを使用しています。
Android版Chromeブラウザ、Mac版Chromeで動作します。
>>デモURL
Section titled “>>デモURL”https://keigan-motor.com/apiSample/voiceCtlMotor-keigan/
ソースコード
https://docs.keigan-motor.com/apiSample/voiceCtlMotor-keigan/voiceCtlMotor-keigan.zip
テレプレゼンスロボット
Section titled “テレプレゼンスロボット”KeiganMotor をインターネットを介して遠隔操作する「テレプレゼンスロボット」のデモです。
リアルタイム通信には Skyway(NTTコミュニケーションズが提供する、WebRTC の仕組みを利用したリアルタイムコミュニケーション用API)を使用しています。

ロボット側 | 操縦者側 |
|
|
※ 本デモは、Web Bluetooth API の使用出来る Chrome ブラウザで動作します。
ロボット側端末での操作 | 操縦者側端末での操作 |
|
|

ソースコード
© Keigan Inc.
