SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
Fast RTPS: Programming with the Default
Middleware for Robotics Adopted in ROS2
FIWARE Summit
21/02/2019
Jaime Martin Losa
CEO eProsima
JaimeMartin@eProsima.com
+34 607 91 37 45 www.eProsima.com
Agenda
§ Fast RTPS
• Motivation
• Introduction
□ DDS
□ Architecture
□ Shapes Demo
• Hello World Example
§ FIROS2: Quick update (if there is time)
1
Fast RTPS
Powering ROS2 & FIWARE
We are hiring!
§Jobs@eprosima.com
3
Fast RTPS - Motivation
§ Real Time Requirements
• Latency measured in µSec
§ High Throughput Requirements
• Take advantage of Pub/Sub Architecture
§ Low bandwidth, intermittent and unreliable datalinks
• Radio networks
• Wifi
§ Many to Many communications
§ Decoupled architectures
§ Different QoS over different datalinks and performance requirements.
§ Efficient Data Models
4
Fast RTPS - Motivation
§ C++
§ Full RTPS (Real Time Publish Subscribe) implementation
§ Security (Encryption and Authentication)
§ RPC layer available through eProsima RPC over DDS
§ Based on OMG standards, Interoperable.
§ Comprehensive docs, videos, examples, etc.
§ Multi-Platform: Windows, Linux, Android, Mac OS, iOS
• Many ports developed by the community
§ Robotics Adoption (ROS2)
§ Apache 2.0 License
5
Fast RTPS: Key Features
§ RTPS focused:
• Access to the protocol internals
§ Large Data Support:
• Fragmentation and Flow controllers.
§ DDS Security:
• Authentication, Encryption, Access control
§ Support for Static Discovery/Server based discovery
• Faster Discovery.
§ XML QoS Profiles (Available for ROS2 also)
• See ROSCON 2017 Presentation
https://roscon.ros.org/2017/presentations/ROSCon%202017%20ROS2%20Fine
%20Tuning.pdf
• Fine tunning for extreme scenarios. 6
Fast RTPS: Key Features II
§ Fully Open Source
• Apache 2.0
• Community of Contributors
• User ports for many platforms.
• No vendor lock-in
§ Lightweight
§ Commercial Support
• Fast Response
• User Driven Roadmap
§ Aligned with OS Community:
• ROS2, Dronecode, FIWARE
§ Standard
7
New Releases. What is new?
§ Fast RTPS 1.8 (May 2019):
§ Better Real-Time Support
• Static allocations
• Non-Blocking calls
§ Better QoS support
• Lifespan
• Manual Liveliness
• Deadline
• Reliability: Disable positive ACKs
§ Server Discovery
8
§ Fast RTPS 1.7 (Dec 2018):
§ TCP Transport: Fast RTPS on WAN/Internet
§ Dynamic Types
§ Updated to latest DDS Security Spec.
§ Important Performance improvements (ROS related)
§ Aligned with the upcoming ROS 2 Release (Crystal)
§ Fast RTPS 1.6 (June 2018):
§ Access Control
§ History persistence in database (sqlite).
Why Fast-RTPS for ROS2?
§ Fully Open-Source & Free:
• All features are Open Source
• Open Source Business model
• Contributors Community
§ Roadmap Aligned with ROS2 Roadmap
§ ROS2 TSC Members
• eProsima is a key contributor to ROS2
□ Fast RTPS: ROS2
□ Fast RTPS Security: Secure ROS2
□ XRCE-DDS: Micro-ROS
□ Integration Tools.
9
FIROS2 New Release
§ Connect Context Broker with Fast RTPS/ROS2
§ Already available in github:
• https://github.com/eProsima/FIROS2
§ The future: ROS Integration Service
• Coming soon, stay tuned.
10
DDS: Standards-based Integration Infrastructure for Critical
Applications
11
Streaming
Data
Sensors Events
Real-Time
Applications
Enterprise
Applications Actuators
Family of Specifications
12
Broad Adoption
§ Vendor independent
• API for portability
• Wire protocol for interoperability
§ Multiple implementations
• 10 of API
• 8 support RTPS
§ Heterogeneous
• C, C++, Java, .NET (C#, C++/CLI)
• Linux, Windows, VxWorks, other embedded & real time
§ Loosely coupled
13
DDS adopted by key programs in Europe
§ European Air Traffic Control
• DDS proposed for interoperate
ATC centers
§ Spanish Army
• DDS is mandated for C2
Interoperability (ethernet, radio &
satellite)
§ UK Generic Vehicle
Architecture
• Mandates DDS for vehicle comm.
• Mandates DDS-RTPS for interop.
14
US-DoD mandates DDS for data-distribution
§ DISR (formerly JTA)
• DoD Information Technology
Standards Registry
§ US Navy Open Architecture
§ Army, OSD
• UCS, Unmanned Vehicle Control
§ SPAWAR NESI
• Net-centric Enterprise Solutions for
Interoperability
• Mandates DDS for Pub-Sub SOA
15
RTPS Adoption
§ ROS (Robotic Operating System)
§ FIWARE
• EU R&D Software Platform
§ Many Drone Companies
• 3D Robotics
• Magma UAVs
• …
§ Dronecode
• Main OSS platform for Drones
16
ROS2: Robotics de facto Standard
§ The Robot Operating System (ROS) is a set of software libraries and tools that help
you build robot applications. From drivers to state-of-the-art algorithms, and with
powerful developer tools, ROS has what you need for your next robotics project. And
it's all open source. ROS has become a de facto standard for Robotic applications.
§ OSRF Sponsors: Bosh, DARPA, google, MathWorks, Nasa, Nissan, Qualcomm,
rethink robotics, ROS-Industrial Consortium, Sandia National Laboratories, SICK,
Willow Garage, Yujin Robot
17
DDS Architecture
DDS
§ DDS (Data Distribution Service for Real-Time Systems) is a OMG
specification for a pub/sub data centric model (DCPS, Data Centric
Publish/Subscribe) for Real-Time data comms in distributed systems.
§ DDS is a networking middleware that:
• Simplifies and Standardizes data flows in distributed real-time systems.
• Provides robust comms (no single point of failure) and efficient (minimum
latency)
• Provides all kind of QoS to shape the data flows and deliver predictable results.
19
DDS
§ DDS uses the concept of Global Data Space. In this Space we define topics of
data, and the publishers publish samples of these topics. DDS distributes these
samples to all the subscribers of those topics. Any node can be a publisher or a
subscriber.
20
Why DDS? Decoupled model
§ Space (location)
• Automatic Discovery ensures network topology independence
§ Redundancy:
• It is possible to configure redundant publishers and subscribers, primary/secundary and
takeover schemas supported
§ Time:
• The reception of data does not need to be synchronous with the writing. A subscriber
may, if so configured, receive data that was written even before the subscriber joined the
network.
§ Platform:
• Applications do not have to worry about data representation, processor architecture,
Operating System, or even programming language on the other side
§ Implementation:
• DDS Protocol is also an standard. Different implementations interoperate.
21
Why DDS? Fully configurable
22
QoS Policy
DURABILITY
HISTORY
READER DATA LIFECYCLE
WRITER DATA LIFECYCLE
LIFESPAN
ENTITY FACTORY
RESOURCE LIMITS
RELIABILITY
TIME BASED FILTER
DEADLINE
CONTENT FILTERS
Volatility
UserQoS
Delivery
PresentationRedundancy
Infrastructure
Transport
QoS Policy
USER DATA
TOPIC DATA
GROUP DATA
PARTITION
PRESENTATION
DESTINATION ORDER
OWNERSHIP
OWNERSHIP STRENGTH
LIVELINESS
LATENCY BUDGET
TRANSPORT PRIORITY
DDS Infrastructure
§ Standard API for
portability.
§ RTPS can be
implemented over any
transport
§ No central
Broker/Service
§ Different Comm
channel per topic
23
The DDS Model
24
Quality of Service: QoS
Domain Participant
Data
Reader
Node
Subscriber
Data Domain
Subscriber
Data
Writer
Data
Writer
Data
Reader
Data
Reader
Data
Writer
Publisher
Topic
Publisher
Topic Topic
Topics, Instances and Keys
§ Topic: A set of similar objects, sharing a common Data Type
§ Instance: A particular object of the set
§ Key: Fields of the Data Type to identify an object.
25
Qos Applied
by Instance.
Topic: RadarTrack
Key: Flight ID
Instance
Flight ID=
MAD-BER57
Instance
Flight ID=
PAR-BER89
Instance
Flight ID=
PAR-BER89
Demo
26
const long STR_LEN=24;
struct ShapeType {
string<MSG_LEN> color; //@key
long x;
long y;
long shapesize;
};
• 3 Topics:
• Square, Circle,
Triangle
• Color is the KEY
Questions?
Jaime Martin Losa
CTO eProsima
JaimeMartin@eProsima.com
+34 607 91 37 45 www.eProsima.com
Fast RTPS Hands On:
A Hello World
Hands-on Example (C++)
29
Type
Definition
MyType.idl
fastrtpsgen
MyType.h
MyTypePubSubTypes.c
MyTypePublisher.cxx
MyTypeSubscriber.cxx
MyType.sln
Publisher Subscriber.exe
Three minutes to a running app!!
1. Define your data
2. Create your project
3. Build
4. Run: publisher subscriber
compiler
Example #1 - Hello World
30
We will use this data-type :
const long MSG_LEN=256;
struct HelloMsg {
string<MSG_LEN> user; //@key
string<MSG_LEN> msg;
};
Generate type support (for C++) [Windows]
31
fastrtpsgen HelloMsg.idl -example x64Win64VS2015
-replace -ppDisable
l Look at the directory you should see:
– solution-x64Win64VS2015.sln
– And Several other files…
l Open the Solution:
l Compile from visual studio
Execute the program [Windows]
§ C++:
• On one window run:
□ binx64Win64VS2015HelloMsgPublisherSubscriberd.exe publisher
• On another window run:
□ binx64Win64VS2015HelloMsgPublisherSubscriberd.exe subscriber
§ You should see the subscribers getting an empty string…
32
Writting some data
§ Modify HelloMsgPublisher.cxx:
33
/* Main loop */
do
{
if(ch == 'y')
{
st.msg() = std::string("Hello using cpp ") +
std::to_string(msgsent);
mp_publisher->write(&st); ++msgsent;
cout << "Sending sample, count=" << msgsent <<
",send another sample?(y-yes,n-stop): ";
}
How to Get Data? (Listener-Based)
34
// Listener code
void HelloMsgSubscriber::SubListener::onNewDataMessage(Subscriber* sub)
{
// Take data
HelloMsg st;
if(sub->takeNextData(&st, &m_info))
{
if(m_info.sampleKind == ALIVE)
{
// Print your structure data here.
++n_msg;
cout << "Sample received, count=" << n_msg << endl;
cout << " " << st.msg() << endl;
}
}
}
Questions?
Jaime Martin Losa
CTO eProsima
JaimeMartin@eProsima.com
+34 607 91 37 45 www.eProsima.com
Thank you!
http://fiware.org
Follow @FIWARE on Twitter
Jaime Martin Losa
CTO eProsima
JaimeMartin@eProsima.com
+34 607 91 37 45 www.eProsima.com

Weitere ähnliche Inhalte

Was ist angesagt?

Micro XRCE-DDS: Bringing DDS into microcontrollers
Micro XRCE-DDS: Bringing DDS into microcontrollersMicro XRCE-DDS: Bringing DDS into microcontrollers
Micro XRCE-DDS: Bringing DDS into microcontrollerseProsima
 
FIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSFIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSJaime Martin Losa
 
micro-ROS: bringing ROS 2 to MCUs
micro-ROS: bringing ROS 2 to MCUsmicro-ROS: bringing ROS 2 to MCUs
micro-ROS: bringing ROS 2 to MCUseProsima
 
FIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSFIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSJaime Martin Losa
 
Integration Service: Integrating Communication Protocols
Integration Service: Integrating Communication ProtocolsIntegration Service: Integrating Communication Protocols
Integration Service: Integrating Communication ProtocolseProsima
 
Fast RTPS Workshop at FIWARE Summit 2018
Fast RTPS Workshop at FIWARE Summit 2018Fast RTPS Workshop at FIWARE Summit 2018
Fast RTPS Workshop at FIWARE Summit 2018Jaime Martin Losa
 
micro-ROS Galactic
micro-ROS Galacticmicro-ROS Galactic
micro-ROS GalacticeProsima
 
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...eProsima
 
Distributed Systems: How to connect your real-time applications
Distributed Systems: How to connect your real-time applicationsDistributed Systems: How to connect your real-time applications
Distributed Systems: How to connect your real-time applicationsJaime Martin Losa
 
Fiware - communicating with ROS robots using Fast RTPS
Fiware - communicating with ROS robots using Fast RTPSFiware - communicating with ROS robots using Fast RTPS
Fiware - communicating with ROS robots using Fast RTPSJaime Martin Losa
 
Towards Easy 5GS Integration in ROS2 - eProsima & Ericsson
Towards Easy 5GS Integration in ROS2 - eProsima & EricssonTowards Easy 5GS Integration in ROS2 - eProsima & Ericsson
Towards Easy 5GS Integration in ROS2 - eProsima & EricssoneProsima
 
2008-01-23 Red Hat Overview to CUNY Information Managers Forum
2008-01-23 Red Hat Overview to CUNY Information Managers Forum2008-01-23 Red Hat Overview to CUNY Information Managers Forum
2008-01-23 Red Hat Overview to CUNY Information Managers ForumShawn Wells
 
LF_DPDK17_rte_security: enhancing IPSEC offload
LF_DPDK17_rte_security: enhancing IPSEC offload LF_DPDK17_rte_security: enhancing IPSEC offload
LF_DPDK17_rte_security: enhancing IPSEC offload LF_DPDK
 
Dpdk frame pipeline for ips ids suricata
Dpdk frame pipeline for ips ids suricataDpdk frame pipeline for ips ids suricata
Dpdk frame pipeline for ips ids suricataVipin Varghese
 
Building an open control stack for quantum computers using RISC-V ecosystems
Building an open control stack for quantum computers using RISC-V ecosystemsBuilding an open control stack for quantum computers using RISC-V ecosystems
Building an open control stack for quantum computers using RISC-V ecosystemsRISC-V International
 
SDN and NFV: Facts, Extensions, and Carrier Opportunities
SDN and NFV: Facts, Extensions, and Carrier OpportunitiesSDN and NFV: Facts, Extensions, and Carrier Opportunities
SDN and NFV: Facts, Extensions, and Carrier Opportunitiesrjain51
 
Quieting noisy neighbor with Intel® Resource Director Technology
Quieting noisy neighbor with Intel® Resource Director TechnologyQuieting noisy neighbor with Intel® Resource Director Technology
Quieting noisy neighbor with Intel® Resource Director TechnologyMichelle Holley
 

Was ist angesagt? (20)

Micro XRCE-DDS: Bringing DDS into microcontrollers
Micro XRCE-DDS: Bringing DDS into microcontrollersMicro XRCE-DDS: Bringing DDS into microcontrollers
Micro XRCE-DDS: Bringing DDS into microcontrollers
 
FIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSFIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROS
 
micro-ROS: bringing ROS 2 to MCUs
micro-ROS: bringing ROS 2 to MCUsmicro-ROS: bringing ROS 2 to MCUs
micro-ROS: bringing ROS 2 to MCUs
 
FIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROSFIWARE Robotics: ROS2 & micro-ROS
FIWARE Robotics: ROS2 & micro-ROS
 
Integration Service: Integrating Communication Protocols
Integration Service: Integrating Communication ProtocolsIntegration Service: Integrating Communication Protocols
Integration Service: Integrating Communication Protocols
 
Fast RTPS Workshop at FIWARE Summit 2018
Fast RTPS Workshop at FIWARE Summit 2018Fast RTPS Workshop at FIWARE Summit 2018
Fast RTPS Workshop at FIWARE Summit 2018
 
micro-ROS Galactic
micro-ROS Galacticmicro-ROS Galactic
micro-ROS Galactic
 
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...
Open Middleware Technologies for Smart Robotics - a FIWARE Smart Fest present...
 
Distributed Systems: How to connect your real-time applications
Distributed Systems: How to connect your real-time applicationsDistributed Systems: How to connect your real-time applications
Distributed Systems: How to connect your real-time applications
 
Fiware - communicating with ROS robots using Fast RTPS
Fiware - communicating with ROS robots using Fast RTPSFiware - communicating with ROS robots using Fast RTPS
Fiware - communicating with ROS robots using Fast RTPS
 
Towards Easy 5GS Integration in ROS2 - eProsima & Ericsson
Towards Easy 5GS Integration in ROS2 - eProsima & EricssonTowards Easy 5GS Integration in ROS2 - eProsima & Ericsson
Towards Easy 5GS Integration in ROS2 - eProsima & Ericsson
 
2008-01-23 Red Hat Overview to CUNY Information Managers Forum
2008-01-23 Red Hat Overview to CUNY Information Managers Forum2008-01-23 Red Hat Overview to CUNY Information Managers Forum
2008-01-23 Red Hat Overview to CUNY Information Managers Forum
 
LF_DPDK17_rte_security: enhancing IPSEC offload
LF_DPDK17_rte_security: enhancing IPSEC offload LF_DPDK17_rte_security: enhancing IPSEC offload
LF_DPDK17_rte_security: enhancing IPSEC offload
 
Dpdk frame pipeline for ips ids suricata
Dpdk frame pipeline for ips ids suricataDpdk frame pipeline for ips ids suricata
Dpdk frame pipeline for ips ids suricata
 
The Universal Dataplane
The Universal DataplaneThe Universal Dataplane
The Universal Dataplane
 
Building an open control stack for quantum computers using RISC-V ecosystems
Building an open control stack for quantum computers using RISC-V ecosystemsBuilding an open control stack for quantum computers using RISC-V ecosystems
Building an open control stack for quantum computers using RISC-V ecosystems
 
SDN and NFV: Facts, Extensions, and Carrier Opportunities
SDN and NFV: Facts, Extensions, and Carrier OpportunitiesSDN and NFV: Facts, Extensions, and Carrier Opportunities
SDN and NFV: Facts, Extensions, and Carrier Opportunities
 
SDN, com fer-ho realitat i quins avantatges puc treure-hi
SDN, com fer-ho realitat i quins avantatges puc treure-hiSDN, com fer-ho realitat i quins avantatges puc treure-hi
SDN, com fer-ho realitat i quins avantatges puc treure-hi
 
Quieting noisy neighbor with Intel® Resource Director Technology
Quieting noisy neighbor with Intel® Resource Director TechnologyQuieting noisy neighbor with Intel® Resource Director Technology
Quieting noisy neighbor with Intel® Resource Director Technology
 
NSX, un salt natural cap a SDN
NSX, un salt natural cap a SDNNSX, un salt natural cap a SDN
NSX, un salt natural cap a SDN
 

Ähnlich wie Fast RTPS

Fiware: Connecting to robots
Fiware: Connecting to robotsFiware: Connecting to robots
Fiware: Connecting to robotsJaime Martin Losa
 
DDS, the US Navy, and the Need for Distributed Software
DDS, the US Navy,  and the Need for Distributed SoftwareDDS, the US Navy,  and the Need for Distributed Software
DDS, the US Navy, and the Need for Distributed SoftwareGerardo Pardo-Castellote
 
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)FIWARE
 
ROSCON Fr: is ROS 2 ready for production?
ROSCON Fr: is ROS 2 ready for production?ROSCON Fr: is ROS 2 ready for production?
ROSCON Fr: is ROS 2 ready for production?Thomas Moulard
 
eProsima RPC over DDS - OMG June 2013 Berlin Meeting
eProsima RPC over DDS - OMG June 2013 Berlin MeetingeProsima RPC over DDS - OMG June 2013 Berlin Meeting
eProsima RPC over DDS - OMG June 2013 Berlin MeetingJaime Martin Losa
 
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...Istvan Rath
 
How to Design Distributed Robotic Control Systems
How to Design Distributed Robotic Control SystemsHow to Design Distributed Robotic Control Systems
How to Design Distributed Robotic Control SystemsReal-Time Innovations (RTI)
 
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingDDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingJaime Martin Losa
 
WebRTC Webinar & Q&A - Sumilcast Standards & Implementation
WebRTC Webinar & Q&A - Sumilcast Standards & ImplementationWebRTC Webinar & Q&A - Sumilcast Standards & Implementation
WebRTC Webinar & Q&A - Sumilcast Standards & ImplementationAmir Zmora
 
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdf
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdfCyclone DDS Unleashed: ROS & Cyclone DDS.pdf
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdfZettaScaleTechnology
 
Real Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingReal Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingHari Shreedharan
 
MUM Middle East 2016 - System Integration Analyst
MUM Middle East 2016 - System Integration AnalystMUM Middle East 2016 - System Integration Analyst
MUM Middle East 2016 - System Integration AnalystFajar Nugroho
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaDataWorks Summit
 
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...Positive Hack Days
 
MPLS/SDN 2013 Intercloud Standardization and Testbeds - Sill
MPLS/SDN 2013 Intercloud Standardization and Testbeds - SillMPLS/SDN 2013 Intercloud Standardization and Testbeds - Sill
MPLS/SDN 2013 Intercloud Standardization and Testbeds - SillAlan Sill
 
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Ontico
 
Easing Integration of Large-Scale Real-Time Systems with DDS
Easing Integration of Large-Scale Real-Time Systems with DDSEasing Integration of Large-Scale Real-Time Systems with DDS
Easing Integration of Large-Scale Real-Time Systems with DDSRick Warren
 
20160217 - Overview of Vortex Intelligent Data Sharing Platform
20160217 - Overview of Vortex Intelligent Data Sharing Platform20160217 - Overview of Vortex Intelligent Data Sharing Platform
20160217 - Overview of Vortex Intelligent Data Sharing PlatformJamie (Taka) Wang
 
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...Gary Arora
 

Ähnlich wie Fast RTPS (20)

Fiware: Connecting to robots
Fiware: Connecting to robotsFiware: Connecting to robots
Fiware: Connecting to robots
 
DDS, the US Navy, and the Need for Distributed Software
DDS, the US Navy,  and the Need for Distributed SoftwareDDS, the US Navy,  and the Need for Distributed Software
DDS, the US Navy, and the Need for Distributed Software
 
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
 
ROSCON Fr: is ROS 2 ready for production?
ROSCON Fr: is ROS 2 ready for production?ROSCON Fr: is ROS 2 ready for production?
ROSCON Fr: is ROS 2 ready for production?
 
eProsima RPC over DDS - OMG June 2013 Berlin Meeting
eProsima RPC over DDS - OMG June 2013 Berlin MeetingeProsima RPC over DDS - OMG June 2013 Berlin Meeting
eProsima RPC over DDS - OMG June 2013 Berlin Meeting
 
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
 
How to Design Distributed Robotic Control Systems
How to Design Distributed Robotic Control SystemsHow to Design Distributed Robotic Control Systems
How to Design Distributed Robotic Control Systems
 
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin MeetingDDS Advanced Tutorial - OMG June 2013 Berlin Meeting
DDS Advanced Tutorial - OMG June 2013 Berlin Meeting
 
WebRTC Webinar & Q&A - Sumilcast Standards & Implementation
WebRTC Webinar & Q&A - Sumilcast Standards & ImplementationWebRTC Webinar & Q&A - Sumilcast Standards & Implementation
WebRTC Webinar & Q&A - Sumilcast Standards & Implementation
 
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdf
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdfCyclone DDS Unleashed: ROS & Cyclone DDS.pdf
Cyclone DDS Unleashed: ROS & Cyclone DDS.pdf
 
DDS Enabling Open Architecture
DDS Enabling Open ArchitectureDDS Enabling Open Architecture
DDS Enabling Open Architecture
 
Real Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingReal Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark Streaming
 
MUM Middle East 2016 - System Integration Analyst
MUM Middle East 2016 - System Integration AnalystMUM Middle East 2016 - System Integration Analyst
MUM Middle East 2016 - System Integration Analyst
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache Kafka
 
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...
Обнаружение вредоносного кода в зашифрованном с помощью TLS трафике (без деши...
 
MPLS/SDN 2013 Intercloud Standardization and Testbeds - Sill
MPLS/SDN 2013 Intercloud Standardization and Testbeds - SillMPLS/SDN 2013 Intercloud Standardization and Testbeds - Sill
MPLS/SDN 2013 Intercloud Standardization and Testbeds - Sill
 
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
Dataplane networking acceleration with OpenDataplane / Максим Уваров (Linaro)
 
Easing Integration of Large-Scale Real-Time Systems with DDS
Easing Integration of Large-Scale Real-Time Systems with DDSEasing Integration of Large-Scale Real-Time Systems with DDS
Easing Integration of Large-Scale Real-Time Systems with DDS
 
20160217 - Overview of Vortex Intelligent Data Sharing Platform
20160217 - Overview of Vortex Intelligent Data Sharing Platform20160217 - Overview of Vortex Intelligent Data Sharing Platform
20160217 - Overview of Vortex Intelligent Data Sharing Platform
 
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
 

Mehr von eProsima

AML & ALMA: Project Overview
AML & ALMA: Project OverviewAML & ALMA: Project Overview
AML & ALMA: Project OvervieweProsima
 
micro-ROS - ROS 2 into microcontrollers
micro-ROS - ROS 2 into microcontrollersmicro-ROS - ROS 2 into microcontrollers
micro-ROS - ROS 2 into microcontrollerseProsima
 
Fast DDS Hello World in Windows
Fast DDS Hello World in WindowsFast DDS Hello World in Windows
Fast DDS Hello World in WindowseProsima
 
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablerROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablereProsima
 
Algebraic Machine Learning - On changing the rules of the game
Algebraic Machine Learning - On changing the rules of the gameAlgebraic Machine Learning - On changing the rules of the game
Algebraic Machine Learning - On changing the rules of the gameeProsima
 
Vulcanexus: the all-in-one ROS 2 toolset
Vulcanexus: the all-in-one ROS 2 toolsetVulcanexus: the all-in-one ROS 2 toolset
Vulcanexus: the all-in-one ROS 2 toolseteProsima
 
micro-ROS Humble Hawskbill
micro-ROS Humble Hawskbillmicro-ROS Humble Hawskbill
micro-ROS Humble HawskbilleProsima
 
eProsima DDS Router: a micro-ROS Cloud scenario
eProsima DDS Router: a micro-ROS Cloud scenarioeProsima DDS Router: a micro-ROS Cloud scenario
eProsima DDS Router: a micro-ROS Cloud scenarioeProsima
 
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case eProsima
 
ALMA - Integration of AI in ROS 2 ecosystem
ALMA - Integration of AI in ROS 2 ecosystemALMA - Integration of AI in ROS 2 ecosystem
ALMA - Integration of AI in ROS 2 ecosystemeProsima
 
EU Project: ALMA
EU Project: ALMAEU Project: ALMA
EU Project: ALMAeProsima
 

Mehr von eProsima (11)

AML & ALMA: Project Overview
AML & ALMA: Project OverviewAML & ALMA: Project Overview
AML & ALMA: Project Overview
 
micro-ROS - ROS 2 into microcontrollers
micro-ROS - ROS 2 into microcontrollersmicro-ROS - ROS 2 into microcontrollers
micro-ROS - ROS 2 into microcontrollers
 
Fast DDS Hello World in Windows
Fast DDS Hello World in WindowsFast DDS Hello World in Windows
Fast DDS Hello World in Windows
 
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enablerROS 2 deployment in K8s: DDS Router as WAN comms enabler
ROS 2 deployment in K8s: DDS Router as WAN comms enabler
 
Algebraic Machine Learning - On changing the rules of the game
Algebraic Machine Learning - On changing the rules of the gameAlgebraic Machine Learning - On changing the rules of the game
Algebraic Machine Learning - On changing the rules of the game
 
Vulcanexus: the all-in-one ROS 2 toolset
Vulcanexus: the all-in-one ROS 2 toolsetVulcanexus: the all-in-one ROS 2 toolset
Vulcanexus: the all-in-one ROS 2 toolset
 
micro-ROS Humble Hawskbill
micro-ROS Humble Hawskbillmicro-ROS Humble Hawskbill
micro-ROS Humble Hawskbill
 
eProsima DDS Router: a micro-ROS Cloud scenario
eProsima DDS Router: a micro-ROS Cloud scenarioeProsima DDS Router: a micro-ROS Cloud scenario
eProsima DDS Router: a micro-ROS Cloud scenario
 
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case
ROS 2 AI Integration Working Group 1: ALMA, SustainML & ROS 2 use case
 
ALMA - Integration of AI in ROS 2 ecosystem
ALMA - Integration of AI in ROS 2 ecosystemALMA - Integration of AI in ROS 2 ecosystem
ALMA - Integration of AI in ROS 2 ecosystem
 
EU Project: ALMA
EU Project: ALMAEU Project: ALMA
EU Project: ALMA
 

Kürzlich hochgeladen

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Fast RTPS

  • 1. Fast RTPS: Programming with the Default Middleware for Robotics Adopted in ROS2 FIWARE Summit 21/02/2019 Jaime Martin Losa CEO eProsima JaimeMartin@eProsima.com +34 607 91 37 45 www.eProsima.com
  • 2. Agenda § Fast RTPS • Motivation • Introduction □ DDS □ Architecture □ Shapes Demo • Hello World Example § FIROS2: Quick update (if there is time) 1
  • 5. Fast RTPS - Motivation § Real Time Requirements • Latency measured in µSec § High Throughput Requirements • Take advantage of Pub/Sub Architecture § Low bandwidth, intermittent and unreliable datalinks • Radio networks • Wifi § Many to Many communications § Decoupled architectures § Different QoS over different datalinks and performance requirements. § Efficient Data Models 4
  • 6. Fast RTPS - Motivation § C++ § Full RTPS (Real Time Publish Subscribe) implementation § Security (Encryption and Authentication) § RPC layer available through eProsima RPC over DDS § Based on OMG standards, Interoperable. § Comprehensive docs, videos, examples, etc. § Multi-Platform: Windows, Linux, Android, Mac OS, iOS • Many ports developed by the community § Robotics Adoption (ROS2) § Apache 2.0 License 5
  • 7. Fast RTPS: Key Features § RTPS focused: • Access to the protocol internals § Large Data Support: • Fragmentation and Flow controllers. § DDS Security: • Authentication, Encryption, Access control § Support for Static Discovery/Server based discovery • Faster Discovery. § XML QoS Profiles (Available for ROS2 also) • See ROSCON 2017 Presentation https://roscon.ros.org/2017/presentations/ROSCon%202017%20ROS2%20Fine %20Tuning.pdf • Fine tunning for extreme scenarios. 6
  • 8. Fast RTPS: Key Features II § Fully Open Source • Apache 2.0 • Community of Contributors • User ports for many platforms. • No vendor lock-in § Lightweight § Commercial Support • Fast Response • User Driven Roadmap § Aligned with OS Community: • ROS2, Dronecode, FIWARE § Standard 7
  • 9. New Releases. What is new? § Fast RTPS 1.8 (May 2019): § Better Real-Time Support • Static allocations • Non-Blocking calls § Better QoS support • Lifespan • Manual Liveliness • Deadline • Reliability: Disable positive ACKs § Server Discovery 8 § Fast RTPS 1.7 (Dec 2018): § TCP Transport: Fast RTPS on WAN/Internet § Dynamic Types § Updated to latest DDS Security Spec. § Important Performance improvements (ROS related) § Aligned with the upcoming ROS 2 Release (Crystal) § Fast RTPS 1.6 (June 2018): § Access Control § History persistence in database (sqlite).
  • 10. Why Fast-RTPS for ROS2? § Fully Open-Source & Free: • All features are Open Source • Open Source Business model • Contributors Community § Roadmap Aligned with ROS2 Roadmap § ROS2 TSC Members • eProsima is a key contributor to ROS2 □ Fast RTPS: ROS2 □ Fast RTPS Security: Secure ROS2 □ XRCE-DDS: Micro-ROS □ Integration Tools. 9
  • 11. FIROS2 New Release § Connect Context Broker with Fast RTPS/ROS2 § Already available in github: • https://github.com/eProsima/FIROS2 § The future: ROS Integration Service • Coming soon, stay tuned. 10
  • 12. DDS: Standards-based Integration Infrastructure for Critical Applications 11 Streaming Data Sensors Events Real-Time Applications Enterprise Applications Actuators
  • 14. Broad Adoption § Vendor independent • API for portability • Wire protocol for interoperability § Multiple implementations • 10 of API • 8 support RTPS § Heterogeneous • C, C++, Java, .NET (C#, C++/CLI) • Linux, Windows, VxWorks, other embedded & real time § Loosely coupled 13
  • 15. DDS adopted by key programs in Europe § European Air Traffic Control • DDS proposed for interoperate ATC centers § Spanish Army • DDS is mandated for C2 Interoperability (ethernet, radio & satellite) § UK Generic Vehicle Architecture • Mandates DDS for vehicle comm. • Mandates DDS-RTPS for interop. 14
  • 16. US-DoD mandates DDS for data-distribution § DISR (formerly JTA) • DoD Information Technology Standards Registry § US Navy Open Architecture § Army, OSD • UCS, Unmanned Vehicle Control § SPAWAR NESI • Net-centric Enterprise Solutions for Interoperability • Mandates DDS for Pub-Sub SOA 15
  • 17. RTPS Adoption § ROS (Robotic Operating System) § FIWARE • EU R&D Software Platform § Many Drone Companies • 3D Robotics • Magma UAVs • … § Dronecode • Main OSS platform for Drones 16
  • 18. ROS2: Robotics de facto Standard § The Robot Operating System (ROS) is a set of software libraries and tools that help you build robot applications. From drivers to state-of-the-art algorithms, and with powerful developer tools, ROS has what you need for your next robotics project. And it's all open source. ROS has become a de facto standard for Robotic applications. § OSRF Sponsors: Bosh, DARPA, google, MathWorks, Nasa, Nissan, Qualcomm, rethink robotics, ROS-Industrial Consortium, Sandia National Laboratories, SICK, Willow Garage, Yujin Robot 17
  • 20. DDS § DDS (Data Distribution Service for Real-Time Systems) is a OMG specification for a pub/sub data centric model (DCPS, Data Centric Publish/Subscribe) for Real-Time data comms in distributed systems. § DDS is a networking middleware that: • Simplifies and Standardizes data flows in distributed real-time systems. • Provides robust comms (no single point of failure) and efficient (minimum latency) • Provides all kind of QoS to shape the data flows and deliver predictable results. 19
  • 21. DDS § DDS uses the concept of Global Data Space. In this Space we define topics of data, and the publishers publish samples of these topics. DDS distributes these samples to all the subscribers of those topics. Any node can be a publisher or a subscriber. 20
  • 22. Why DDS? Decoupled model § Space (location) • Automatic Discovery ensures network topology independence § Redundancy: • It is possible to configure redundant publishers and subscribers, primary/secundary and takeover schemas supported § Time: • The reception of data does not need to be synchronous with the writing. A subscriber may, if so configured, receive data that was written even before the subscriber joined the network. § Platform: • Applications do not have to worry about data representation, processor architecture, Operating System, or even programming language on the other side § Implementation: • DDS Protocol is also an standard. Different implementations interoperate. 21
  • 23. Why DDS? Fully configurable 22 QoS Policy DURABILITY HISTORY READER DATA LIFECYCLE WRITER DATA LIFECYCLE LIFESPAN ENTITY FACTORY RESOURCE LIMITS RELIABILITY TIME BASED FILTER DEADLINE CONTENT FILTERS Volatility UserQoS Delivery PresentationRedundancy Infrastructure Transport QoS Policy USER DATA TOPIC DATA GROUP DATA PARTITION PRESENTATION DESTINATION ORDER OWNERSHIP OWNERSHIP STRENGTH LIVELINESS LATENCY BUDGET TRANSPORT PRIORITY
  • 24. DDS Infrastructure § Standard API for portability. § RTPS can be implemented over any transport § No central Broker/Service § Different Comm channel per topic 23
  • 25. The DDS Model 24 Quality of Service: QoS Domain Participant Data Reader Node Subscriber Data Domain Subscriber Data Writer Data Writer Data Reader Data Reader Data Writer Publisher Topic Publisher Topic Topic
  • 26. Topics, Instances and Keys § Topic: A set of similar objects, sharing a common Data Type § Instance: A particular object of the set § Key: Fields of the Data Type to identify an object. 25 Qos Applied by Instance. Topic: RadarTrack Key: Flight ID Instance Flight ID= MAD-BER57 Instance Flight ID= PAR-BER89 Instance Flight ID= PAR-BER89
  • 27. Demo 26 const long STR_LEN=24; struct ShapeType { string<MSG_LEN> color; //@key long x; long y; long shapesize; }; • 3 Topics: • Square, Circle, Triangle • Color is the KEY
  • 28. Questions? Jaime Martin Losa CTO eProsima JaimeMartin@eProsima.com +34 607 91 37 45 www.eProsima.com
  • 29. Fast RTPS Hands On: A Hello World
  • 30. Hands-on Example (C++) 29 Type Definition MyType.idl fastrtpsgen MyType.h MyTypePubSubTypes.c MyTypePublisher.cxx MyTypeSubscriber.cxx MyType.sln Publisher Subscriber.exe Three minutes to a running app!! 1. Define your data 2. Create your project 3. Build 4. Run: publisher subscriber compiler
  • 31. Example #1 - Hello World 30 We will use this data-type : const long MSG_LEN=256; struct HelloMsg { string<MSG_LEN> user; //@key string<MSG_LEN> msg; };
  • 32. Generate type support (for C++) [Windows] 31 fastrtpsgen HelloMsg.idl -example x64Win64VS2015 -replace -ppDisable l Look at the directory you should see: – solution-x64Win64VS2015.sln – And Several other files… l Open the Solution: l Compile from visual studio
  • 33. Execute the program [Windows] § C++: • On one window run: □ binx64Win64VS2015HelloMsgPublisherSubscriberd.exe publisher • On another window run: □ binx64Win64VS2015HelloMsgPublisherSubscriberd.exe subscriber § You should see the subscribers getting an empty string… 32
  • 34. Writting some data § Modify HelloMsgPublisher.cxx: 33 /* Main loop */ do { if(ch == 'y') { st.msg() = std::string("Hello using cpp ") + std::to_string(msgsent); mp_publisher->write(&st); ++msgsent; cout << "Sending sample, count=" << msgsent << ",send another sample?(y-yes,n-stop): "; }
  • 35. How to Get Data? (Listener-Based) 34 // Listener code void HelloMsgSubscriber::SubListener::onNewDataMessage(Subscriber* sub) { // Take data HelloMsg st; if(sub->takeNextData(&st, &m_info)) { if(m_info.sampleKind == ALIVE) { // Print your structure data here. ++n_msg; cout << "Sample received, count=" << n_msg << endl; cout << " " << st.msg() << endl; } } }
  • 36. Questions? Jaime Martin Losa CTO eProsima JaimeMartin@eProsima.com +34 607 91 37 45 www.eProsima.com
  • 37. Thank you! http://fiware.org Follow @FIWARE on Twitter Jaime Martin Losa CTO eProsima JaimeMartin@eProsima.com +34 607 91 37 45 www.eProsima.com