Skip to content

theta-skunkworks/theta-plugin-spp-roverc

Repository files navigation

theta-plugin-spp-roverc

このソフトウェアは、 Apache 2.0ライセンスで配布されている製作物が含まれています。
This software includes the work that is distributed in the Apache License 2.0.

Overview

このリポジトリは、C&R研究所さまから出版されている「THETAプラグインで電子工作」という書籍
https://www.c-r.com/book/detail/1389

「CHAPTER 06 物体認識で動くメカナムホイール車 ~事例3」のプロジェクトファイル一式を公開しています。

動作している様子は以下画像をクリックして動画をご参照ください。

プロジェクトに関する詳しい説明は、書籍をご参照ください。

Supplement

  • 2021/03/23: サービスに関するファイルの置き場所について
    補足Qiita記事の該当箇所を参照してください。このapk単独であればこのままでも動作しますが、同じサービスのファイル構成を持つ別プロジェクトのapkのサービスは動作できません。  
  • 2021/03/23: Wait処理が必要なケースが1つ漏れていました
    EnableBluetoothClassicTask.javaの 61~62行目のコードの間に1行フラグを立てる処理が必要でした。
    以下のように修正してください。
        if (bluetoothPower.equals("OFF")) {
            //The processing that was missing in the following sample program was added.
            bluetoothRebootWait = true;
            Log.d(TAG,"set _bluetoothPower=ON");

この行がなかったため、Buletooth OFF(Z1の場合、OLED上部にBluetoothマークが無い状態)から本プラグインを起動するとペアリングが行えませんでした。 この行を追加することによって、上記ケースでも正常に動作します。(補足Qiita記事の該当箇所はこちら

Development Environment

Camera

  • RICOH THETA V Firmware ver.3.50.1 and above
  • RICOH THETA Z1 Firmware ver.1.60.1 and above

SDK/Library

Development Software

  • Android Studio 4.0.1/4.1.1
  • gradle ver.5.1.1

License

Copyright 2018 Ricoh Company, Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Contact

Contact

About

This is Case 3 of a book published in Japan.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published