Giter Site home page Giter Site logo

kenichi-ohara / airgraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sec-airgraph/airgraph

0.0 1.0 0.0 10.66 MB

AI and Robot Graphical IDE

License: GNU General Public License v3.0

Java 22.18% CSS 0.33% JavaScript 70.01% HTML 1.11% Batchfile 0.01% Python 1.11% Shell 0.97% CMake 3.79% C++ 0.50%

airgraph's Introduction

AirGraph

AirGraphはAIとRobot開発のための、グラフィカルなIDEです。 詳細は ドキュメント をお読みください.

Read this in other languages: English.

システム要件

  • Ubuntu 16.04

開発環境は Ubuntu 16.04 64bit on arm64 processor です。

依存関係

インストール手順

Step1. 依存パッケージのインストール

  • パッケージ情報の最新化

    $ sudo apt update
    $ sudo apt upgrade -y
    $ sudo apt update

    apt upgardeは任意

  • Java Open JDK 8 (AdoptOpenJDK)

    # wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
    # echo deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ xenial main > /etc/apt/sources.list.d/adoptopenjdk.list
    $ sudo apt update
    $ sudo apt install adoptopenjdk-8-hotspot
    $ echo "export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64" >> ~/.bashrc
    $ echo "export PATH=\$JAVA_HOME/bin:\$PATH" >> ~/.bashrc

    上記パスはUbuntu16.04(64bit版、armプロセッサ)の場合の例のため,必要に応じて変更

  • Apache Maven

    $ sudo apt install maven -y
  • Git

    $ sudo apt install git -y
  • sysv-rc-conf

    $ sudo apt install sysv-rc-conf -y

Step2. 依存関係のインストール

公式サイトを参照してインスト―ル。 (OpenRTM-aist, wasanbon, Keras)

Step3. AirGraphのビルド

  • Clone、ビルド
    $ cd ~
    $ git clone --recursive https://github.com/sec-airgraph/airgraph.git
    $ cd airgraph/release_app/scripts
    $ ./build_airgraph.sh

mavenのプロキシ設定は以下を参考

$ vi ~/.m2/settings.xml
<settings>
  <proxies>
    <proxy>
      <active>true</active>
      <protocol>プロトコル</protocol>
      <host>ホスト名</host>
      <port>ポート番号</port>
      <username>ユーザー名</username>
      <password>パスワード</password>
      <nonProxyHosts>ある時は設定</nonProxyHosts>
    </proxy>
  </proxies>
</settings>

Step4. AirGraphのインストール設定

実行ユーザの変更

  • release_app/scripts/airgraphの17行目を修正
    user="sec"

[optional]自動起動設定をオフにする

  • release_app/scripts/install_airgraph.shの60行目を修正
    # 自動起動設定
    set_startup off

Step5. AirGraphのインストール

$ sudo ./install_airgraph.sh

Step6. AirGraphの手動起動・停止(インストール直後など)

  • 起動

    $ sudo service airgraph start

    ブラウザにて以下のURLが起動できれば成功. http://localhost:8080/main

  • 停止

    $ sudo service airgraph stop

Author

  • AirGraph開発チーム - 株式会社セック mail

注意事項

1. AirGraphの初回起動時は時間がかかる可能性があります

AirGraphは、起動時にWasanbon Binderに登録されているRTコンポーネントを全てCloneします。 そのため、初回起動時は、時間がかかる可能性があります。

2. rtc-template関連のエラー

スケルトンコード生成のためのツールとして、IDLCompilerを利用しています。 IDLCompilerを動作させるためには以下の対応が必要です。(暫定)

  1. ~/.bashrc のPYTHONPATHを修正(必要があれば)

    export PYTHONPATH=/usr/lib/python2.7/dist-packages:$PYTHONPATH
  2. /usr/lib/python2.7/dist-packages にシンボリックリンクを追加

    cd /usr/lib/python2.7/dist-packages
    sudo ln -s /usr/lib/omniidl/omniidl ./omniidl
    sudo ln -s /usr/lib/omniidl/omniidl_be ./omniidl_be
  3. omniidlの呼び出しの引数を修正

    sudo vim /usr/lib/x86_64-linux-gnu/openrtm-1.1/py_helper/cxx_svc_impl.py
    - tree = _omniidl.compile(file)
    + tree = _omniidl.compile(file, "")

airgraph's People

Contributors

dependabot[bot] avatar kenichi-ohara avatar sec-hirose avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.