Skip to Content
プログラミングROS ―Pythonによるロボットアプリケーション開発
book

プログラミングROS ―Pythonによるロボットアプリケーション開発

by Morgan Quigley, Brian Gerkey, William D. Smart, 河田 卓志, 松田 晃一, 福地 正樹, 由谷 哲夫
December 2017
Intermediate to advanced
480 pages
7h 13m
Japanese
O'Reilly Japan, Inc.
Content preview from プログラミングROS ―Pythonによるロボットアプリケーション開発

2章準備

ROSでコードを書き始める前に、このフレームワークを支えるキーとなる概念のいくつかを紹介します。ROSシステムはたくさんの独立したプログラムから構成され、それらはお互いに絶えず通信し合っています。本章では、このアーキテクチャーについて説明し、アーキテクチャーとやり取りをするコマンドラインツールを見ていきます。また、ROSが使用する命名規則や名前空間の詳細についても説明し、これらがどのように皆さんが作成するコードを再利用しやすくするのかを見ていきます。

2.1 ROSグラフ

ROSの設計の動機となったもともとの「困難な問題」の1つが「物を拾う」という問題でした。複数のカメラとレーザースキャナー、操作アーム、車輪付きの台座を装備した、比較的大きく複雑なロボットを想像してみてください。「物を拾う」という問題において、ロボットがすべきこと(タスク)は、家やオフィス環境の中を動き、要求されたものを見つけ、要求された場所に運ぶことです。このタスクを実現するには、複数のロボットソフトウェアアプリケーションによる複数の観点からの操作を必要とします。多くの他のロボットが行うタスクも状況は同じです。これが、ROSの設計上のゴールの1つとなりました。

  • アプリケーションタスクは、ナビゲーション、コンピュータービジョン、物をつかむなどたくさんの独立したサブシステムに分解できる。
  • これらのサブシステムは、保安巡回を行ったり、掃除したり、郵便物を配達したりするなどの他のタスクでも使用できる。
  • ハードウェアと形状の適切な抽象化レイヤーによって、このアプリケーションソフトウェアの大部分はどのようなロボットででも動かすことができる。

これらのゴールは、ROSシステムの基本となる表現、すなわちグラフ

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

初めてのGraphQL ―Webサービスを作って学ぶ新世代API

初めてのGraphQL ―Webサービスを作って学ぶ新世代API

Eve Porcello, Alex Banks, 尾崎 沙耶, あんどうやすし
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784873118093Other