mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
docs: small improvements
This commit is contained in:
@@ -51,6 +51,9 @@ from std_msgs.msg import String
|
||||
# ...
|
||||
|
||||
foo_pub = rospy.Publisher('/foo', String, queue_size=1) # creating a Publisher
|
||||
|
||||
# ...
|
||||
|
||||
foo_pub.publish(data='Hello, world!') # posting the message
|
||||
```
|
||||
|
||||
@@ -103,4 +106,4 @@ Working on several PCs
|
||||
|
||||
Main article: http://wiki.ros.org/ROS/Tutorials/MultipleMachines.
|
||||
|
||||
The advantage of using ROS is the possibility of distributing the nodes across several PCs in the network. For example, a node that recognizes an image may be run on a more powerful PC; the node that controls the copter may be run directly on a Raspberry Pi connected to the flight controller, etc.
|
||||
The advantage of using ROS is the possibility of distributing the nodes across several PCs in the network. For example, a node that recognizes an image may be run on a more powerful PC; the node that controls the copter may be run directly on a Raspberry Pi connected to the flight controller, etc.
|
||||
|
||||
@@ -14,6 +14,8 @@ ROS уже установлен на [образе для RPi](microsd_images.md
|
||||
|
||||
Для использования ROS на компьютере рекомендуется ОС Ubuntu Linux (либо виртуальная машина, например [Parallels Desktop Lite](https://itunes.apple.com/ru/app/parallels-desktop-lite/id1085114709?mt=12) или [VirtualBox](https://www.virtualbox.org)).
|
||||
|
||||
> **Note** Для дистрибутива ROS Kinetic рекомендуется Ubuntu версии 16.04.
|
||||
|
||||
Концепции
|
||||
---
|
||||
|
||||
@@ -51,6 +53,9 @@ from std_msgs.msg import String
|
||||
# ...
|
||||
|
||||
foo_pub = rospy.Publisher('/foo', String, queue_size=1) # создаем Publisher'а
|
||||
|
||||
# ...
|
||||
|
||||
foo_pub.publish(data='Hello, world!') # публикуем сообщение
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user