GithubHelp home page GithubHelp logo

mypkg's Introduction

mypkg

ROS2の練習リポジトリ :このリポジトリにはtalker.pyとlistener.pyというノードが含まれている

talker.py

test

  • talker.py: 数字をカウントアップしてトピック/countupを通じてlistener.pyにデータを送信するパブリッシャをもつノードである
  • メッセージの型は16ビット符号付き整数である

listener.py

  • listener.py: トピック/countupからメッセージを受け取り表示するサブスクライバをもつノードである

使用例

  • 端末1

    ros2 run mypkg talker

  • 端末2

    ros2 run mypkg listener

    [INFO] [1672323191.834832600] [listener]: Listen: 37

    [INFO] [1672323192.327138300] [listener]: Listen: 38

    [INFO] [1672323192.826892300] [listener]: Listen: 39

必要なソフトウェア

  • Python
  • ROS2

テスト環境

  • Ubuntu

ライセンス

  • このソフトパッケージは、3条項BSDライセンスの下、再頒布および使用が許可されます。
  • © 2022 Rion Miura

mypkg's People

Contributors

rion731 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.