Skip to Content
Python计算机视觉和自然语言处理
book

Python计算机视觉和自然语言处理

by Posts & Telecom Press, Álvaro Morena Alberolaï, Gonzalo Molina Gallegoï, Unai Garay Maestreï
May 2024
Intermediate to advanced
274 pages
4h 17m
Chinese
Packt Publishing
Content preview from Python计算机视觉和自然语言处理

第6章 机器人操作系统(ROS)

学习目标

阅读完本章之后,你将能够:

  • 解释机器人操作系统(ROS)的基本概念;
  • 创建并开发ROS软件包;
  • 利用从传感器获得的信息来操作虚拟机器人;
  • 为机器人开发并实现可工作的程序。

本章重点介绍ROS以及开发ROS软件包的各种方法,还会介绍如何基于传感器接收的信息,使用ROS操作一个虚拟机器人。

为机器人开发软件不像开发其他类型的软件那么容易。为了构建机器人,需要通过一定的方法和函数来获取传感器的信息、控制机器人的部件,并与机器人连接。ROS提供了这些方法和函数,让构建虚拟机器人变得更容易。

ROS是一个与Ubuntu(Linux)兼容的框架,用来编写机器人软件。利用ROS提供的库和工具,可以构建出机器人的不同行为。这个框架最有趣的特性之一是,编写出来的代码适用于任何机器人。此外,通过ROS可以同时开发几台不同的机器,例如,如果希望用机器人摘苹果,可以用一台计算机来获取关于苹果的摄像头信息并进行处理,用另一台机器来控制机器人的动作,最后由机器人摘下苹果。通过遵循这个工作流,计算机不用执行太多计算任务,执行过程也会更为流畅。

无论是对研究者还是对公司来说,ROS都是机器人学中应用最广泛的工具。ROS正在成为机器人执行任务的标准。此外,ROS仍在不断发展,可以解决新的问题,适应不同的技术。这些特点都使得ROS是一个很好的学习和实践主题。

第一次接触ROS不是很轻松,但和其他软件一样,你需要理解ROS的工作原理,以及如何使用ROS执行某些任务。因此,在安装和使用ROS框架之前,应该先理解ROS的基本概念。下面列举了ROS函数背后的关键概念,可以帮助你理解ROS的内部过程。

  • 节点(node):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

Hadoop实际解决方案手册

Hadoop实际解决方案手册

Posts & Telecom Press, JONATHAN OWENS, Lentz Jon, Femiano Brian
Kafka权威指南(第2版)

Kafka权威指南(第2版)

Gwen Shapira, Todd Palino, Rajini Sivaram, Krit Petty
精益AI

精益AI

Lomit Patel
写给系统管理员的Python脚本编程指南

写给系统管理员的Python脚本编程指南

Posts & Telecom Press, Ganesh Sanjiv Naik

Publisher Resources

ISBN: 9781836201175