dds-firststeps
所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2017-03-10 11:07:33
上 传 者:
sh-1993
说明: 介绍数据分发服务的教程。,
(A tutorial to introduce you to Data Distribution Service.,)
文件列表:
LICENSE (1083, 2017-03-10)
ex1-basic/ (0, 2017-03-10)
ex1-basic/Tutorial.xml (2344, 2017-03-10)
ex1-basic/console.py (678, 2017-03-10)
ex1-basic/sensor.py (1257, 2017-03-10)
ex2-filtering/ (0, 2017-03-10)
ex2-filtering/Tutorial.xml (2499, 2017-03-10)
ex2-filtering/console.py (678, 2017-03-10)
ex2-filtering/sensor.py (1257, 2017-03-10)
ex3-ha/ (0, 2017-03-10)
ex3-ha/Tutorial.xml (4104, 2017-03-10)
ex3-ha/console.py (682, 2017-03-10)
ex3-ha/sensor.py (1472, 2017-03-10)
ex4-durability/ (0, 2017-03-10)
ex4-durability/Tutorial.xml (2829, 2017-03-10)
ex4-durability/console.py (682, 2017-03-10)
ex4-durability/sensor.py (1263, 2017-03-10)
ex5-isolation/ (0, 2017-03-10)
ex5-isolation/Tutorial.xml (2900, 2017-03-10)
ex5-isolation/console.py (682, 2017-03-10)
ex5-isolation/sensor.py (1442, 2017-03-10)
setenvironment (42, 2017-03-10)
setup (1138, 2017-03-10)
About this tutorial
-------------------
This tutorial is aimed to show you the basics of DDS data-centric model.
For the sake of simplicity, this tutorial is based on the Python RTI Connector API,
which simplifies the development and let the user focus on the basic concepts rather
than learning a complex API.
Requirements
------------
- python
- virtualenv package
- git (to download RTI Connector)
Preparing your environment
--------------------------
Run the ./setup script. This will download the RTI Connector API from
the repository and create a python virtual environment
The script performs the following tasks:
- Clone RTI Connector from the official github repository
- Create a python virtual environment under rticonnectorenv/
- Installs the RTI Connector in the rticonnectorenv environment
Running the exercises
---------------------
To avoid requiring administrator rights to install RTI Connector in
your system, the examples are prepared to be run using a python virtual
environment. For this reason, it is important to run the following command
in each terminal window you open before running the scripts:
source rticonnectorenv/bin/activate
Exercises
-------------------------
This tutorial contans the following exercises
- ex1-basic: Basic communication using publish/subscribe
- ex2-filtering: Filtering
- Time Based Filtering
- Content Based Filtering
- ex3-ha: High Availability:
- Ownership
- ex4-durability: Late Joiners
- ex5-isolation: Partitioning/Isolation
All the examples have the same structure:
- Tutorial.xml: A XML file where the system and QoS are defined
- sensor.py: A publisher application that publish sensor data
- console.py: A subscriber application that prints the information published using DDS
Follow the instructions in the README file of each exercise
近期下载者:
相关文件:
收藏者: