Coder Social home page Coder Social logo

last_report's Introduction

目覚ましロボットアーム

・眠っていたらタンバリンを叩いて起こす
・起きなかったらお気に入りの人形を叩いたり、重要書類をぐちゃぐちゃにしたり嫌がらせしてきます。

システムの起動方法

CRANE-X7の制御信号ケーブルを制御用パソコンへ接続します。 Terminalを開き、crane_x7_bringupdemo.launchを起動します。 このlaunchファイルには次のオプションが用意されています。

  • fake_execution (default: true)

実機を使用する/使用しない

シミュレータを使う場合

実機無しで動作を確認する場合、 制御信号ケーブルを接続しない状態で次のコマンドを実行します。

roslaunch crane_x7_bringup demo.launch fake_execution:=true

実機を使う場合

実機で動作を確認する場合、 制御信号ケーブルを接続した状態で次のコマンドを実行します。

roslaunch crane_x7_bringup demo.launch fake_execution:=false

ケーブルの接続ポート名はデフォルトで/dev/ttyUSB0です。 別のポート名(例: /dev/ttyUSB1)を使う場合は次のコマンドを実行します。

roslaunch crane_x7_bringup demo.launch fake_execution:=false port:=/dev/ttyUSB1

Gazeboを使う場合

last_reportのフォルダーに入った状態で 次のコマンドで起動します。実機との接続やcrane_x7_bringupの実行は必要ありません。

./exe_test.bash

セットアップ方法

カメラのセットアップ(Realsenseを使用する場合)

・ カメラのセットアップや動作方法はこちらのリンク

プログラムのセットアップ

・ rt-net様のcrane_x7_rosをインストールしていない方は以下のコマンドを入力してください。(インストール済みの方は飛ばしてください)

cd /catkin_ws/src
git clone https://github.com/rt-net/crane_x7_ros.git
cd /catkin_ws
catkin_make
source ~/.bashrc

・ このリポジトリをインストールします。以下のコマンドを入力してください。

cd /catkin_ws/src/crane_x7_ros
git clone https://github.com/cit-team6/last_report.git
cd /catkin_ws
catkin_make
source ~/.bashrc

実行方法

・ターミナル上で以下を入力

roscore

・別のターミナルで以下を入力し

rosrun last_report realsense.py

・別のターミナルで以下を入力

rosrun last_report main_master.py

last_report's People

Contributors

sakatanitouga avatar knr2 avatar tanapl avatar kazumakumagai avatar yukitakahashi4690 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.