GithubHelp home page GithubHelp logo

sd_sample_pkg's Introduction

sd_sample_pkg

ROSを用いたロボットシミュレーション演習講義における、応用課題についてのプログラム

使い方

  • src/metch_templete.cpp内の${USERNAME}は、各自の環境のユーザ名に変更して有効なパスになるようにする
cd ~/catkin_ws/src
git clone https://github.com/sskitajima/sd_sample_pkg.git
cd ~/catkin_ws
catkin_make

サンプルプログラム

  • 各処理の詳細や内容についてはソースコードを見てほしい
  • カメラを用いたサンプルがあるが、ロボットへのカメラのモデリングは行っていない。

トピック通信のサンプルプログラム

  • src/listener.cpp
  • src/talker.cpp
# terminal 1
roscore

# terminal 2
rosrun sd_sample_pkg talker_node

# termianl 3
rosrun sd_sample_pkg listener_node

レーザースキャナとカメラのサンプルプログラム

  • src/SD_sample_laser.cpp
  • src/SD_sample_camera.cpp
# terminal 1
roslaunch sd_sample_pkg robot_simulation.launch

# terminal 2
rosrun sd_sample_pkg SD_sample_laser

# terminal 3
rosrun sd_sample_pkg SD_sample_camera

遠隔操作のサンプルプログラム

  • scripts/teleop.py
# terminal 1
roscore

# terminal 2
rosrun sd_sample_pkg teleop.py
  • もしくは、以下のようにして実行してもよい。
rosrun teleop_twist_keyboad teleop_twist_keyboard.py

画像処理のサンプルプログラム

  • src/metch_templete.cpp
    • テンプレート画像のパスを適切なものに書き換えてからビルドする。
# teminal 1
roscore

# teminal 2
rosrun sd_sample_pkg matching_node

シミュレーション

  • ロボットモデル: urdf/robot.urdf.xacro
  • サンプルのworld: worlds/sample.world

sd_sample_pkg's People

Contributors

sskitajima avatar

Watchers

 avatar

Forkers

decwest

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.