SlideShare a Scribd company logo
1 of 11
Download to read offline
Miaofei Mei
QoS Policies in ROS2 Dashing
June 2019
What are QoS Policies and Why Have Them
• Stands for quality of service
• Settings that control characteristics of the middleware
• Affects performance, fault tolerance, determinism, etc. of the
middleware’s communications
Originally Supported QoS Policies
• History
• Should publishers keep a history of sent messages
• Depth is a settable option
• Reliability
• Whether or not all messages in history must be delivered
• Durability
• Do messages in history need to outlive their publisher for late
coming subscriptions
Newly Supported QoS Policies
• Lifespan
• Deadline
• Liveliness
Lifespan QoS Policy
• The purpose is to avoid delivering “stale” data to the client
application
• Messages have a lifespan. Messages past their lifespan will not be
delivered to the application
• (There is no notification to the application that messages were
dropped)
Deadline QoS Policy
• Messages are expected to be sent and received within a period
• If the publisher’s offered deadline period is greater than the
subscription’s requested deadline period, then they are considered
incompatible
• The publisher/subscription will notify the client application if it is not
sending/receiving messages within the deadline
Liveliness QoS Policy
• When the publisher is not sending messages, it needs to assert its
liveliness to its subscriptions within some lease duration, either
automatically or manually
• Also subject to incompatibility between publisher and subscription
• The publisher will notify the client application if it has not asserted its
liveliness in time
• The subscription will notify the client application if its publisher did
not assert its liveliness in time
Publisher / Subscription API
• How to specify QoS policy settings and how will the client
application be notified of QoS events?
• create_publisher(topic_name, qos_settings, publisher_options);
• create_subscription(topic_name, qos_settings, msg_callback,
subscription_options, mem_strat);
Event Callback Functions
• Like the message callback function
• Specified in the publisher_options / subscription_options arguments
• Providing these callback functions are optional
• For example:
subscription_options.event_callbacks.deadline_callback =
[](rclcpp::QOSDeadlineRequestedInfo & event) -> void
{
printf("Requested deadline missed - total %d delta %d",
event.total_count, event.total_count_change);
};
Thank You!
Q&A
• Questions?
• Additional information can also be found at:
• DDS Specification
• Design Document

More Related Content

What's hot

DataProcessingInBuffettCode-20190213
DataProcessingInBuffettCode-20190213DataProcessingInBuffettCode-20190213
DataProcessingInBuffettCode-20190213Shu (shoe116)
 
MariaDB Columnstore 使いこなそう
MariaDB Columnstore 使いこなそうMariaDB Columnstore 使いこなそう
MariaDB Columnstore 使いこなそうKAWANO KAZUYUKI
 
TiDBのトランザクション
TiDBのトランザクションTiDBのトランザクション
TiDBのトランザクションAkio Mitobe
 
QoS for ROS 2 Dashing/Eloquent
QoS for ROS 2 Dashing/EloquentQoS for ROS 2 Dashing/Eloquent
QoS for ROS 2 Dashing/EloquentHideki Takase
 
신입 SW 개발자 취업 준비
신입 SW 개발자 취업 준비신입 SW 개발자 취업 준비
신입 SW 개발자 취업 준비인서 박
 
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...Deep Learning JP
 
10GbE時代のネットワークI/O高速化
10GbE時代のネットワークI/O高速化10GbE時代のネットワークI/O高速化
10GbE時代のネットワークI/O高速化Takuya ASADA
 
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~Ryousei Takano
 
ネットワーク運用自動化のためのサービス・運用設計
ネットワーク運用自動化のためのサービス・運用設計ネットワーク運用自動化のためのサービス・運用設計
ネットワーク運用自動化のためのサービス・運用設計Yuya Rin
 
Power apps formula cheat sheet
Power apps formula cheat sheetPower apps formula cheat sheet
Power apps formula cheat sheetMasayuki Ozawa
 
分割と整合性と戦う
分割と整合性と戦う分割と整合性と戦う
分割と整合性と戦うYugo Shimizu
 
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイド
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイドデータセンター向け高機能スイッチ Cisco Nexus スイッチ ガイド
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイドシスコシステムズ合同会社
 
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナーNGINX, Inc.
 
Open CAESAR Initiative
Open CAESAR InitiativeOpen CAESAR Initiative
Open CAESAR InitiativeMaged Elaasar
 
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013코끼리를 냉장고에 넣는 법 - 최부호, NDC2013
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013NDOORS
 
ひとりドキュメント担当の仕事を楽しむ
ひとりドキュメント担当の仕事を楽しむひとりドキュメント担当の仕事を楽しむ
ひとりドキュメント担当の仕事を楽しむsoishino
 
NDC12_Lockless게임서버설계와구현
NDC12_Lockless게임서버설계와구현NDC12_Lockless게임서버설계와구현
NDC12_Lockless게임서버설계와구현noerror
 
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
 
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪MAKERPRO.cc
 

What's hot (20)

DataProcessingInBuffettCode-20190213
DataProcessingInBuffettCode-20190213DataProcessingInBuffettCode-20190213
DataProcessingInBuffettCode-20190213
 
Open Match Deep Dive
Open Match Deep DiveOpen Match Deep Dive
Open Match Deep Dive
 
MariaDB Columnstore 使いこなそう
MariaDB Columnstore 使いこなそうMariaDB Columnstore 使いこなそう
MariaDB Columnstore 使いこなそう
 
TiDBのトランザクション
TiDBのトランザクションTiDBのトランザクション
TiDBのトランザクション
 
QoS for ROS 2 Dashing/Eloquent
QoS for ROS 2 Dashing/EloquentQoS for ROS 2 Dashing/Eloquent
QoS for ROS 2 Dashing/Eloquent
 
신입 SW 개발자 취업 준비
신입 SW 개발자 취업 준비신입 SW 개발자 취업 준비
신입 SW 개발자 취업 준비
 
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...
【DL輪読会】TrOCR: Transformer-based Optical Character Recognition with Pre-traine...
 
10GbE時代のネットワークI/O高速化
10GbE時代のネットワークI/O高速化10GbE時代のネットワークI/O高速化
10GbE時代のネットワークI/O高速化
 
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
 
ネットワーク運用自動化のためのサービス・運用設計
ネットワーク運用自動化のためのサービス・運用設計ネットワーク運用自動化のためのサービス・運用設計
ネットワーク運用自動化のためのサービス・運用設計
 
Power apps formula cheat sheet
Power apps formula cheat sheetPower apps formula cheat sheet
Power apps formula cheat sheet
 
分割と整合性と戦う
分割と整合性と戦う分割と整合性と戦う
分割と整合性と戦う
 
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイド
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイドデータセンター向け高機能スイッチ Cisco Nexus スイッチ ガイド
データセンター向け高機能スイッチ Cisco Nexus スイッチ ガイド
 
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
 
Open CAESAR Initiative
Open CAESAR InitiativeOpen CAESAR Initiative
Open CAESAR Initiative
 
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013코끼리를 냉장고에 넣는 법 - 최부호, NDC2013
코끼리를 냉장고에 넣는 법 - 최부호, NDC2013
 
ひとりドキュメント担当の仕事を楽しむ
ひとりドキュメント担当の仕事を楽しむひとりドキュメント担当の仕事を楽しむ
ひとりドキュメント担当の仕事を楽しむ
 
NDC12_Lockless게임서버설계와구현
NDC12_Lockless게임서버설계와구현NDC12_Lockless게임서버설계와구현
NDC12_Lockless게임서버설계와구현
 
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
 
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪
【1110ROS社群開講】ROS 2與DDS應用於工業領域_王健豪
 

Similar to QoS Policies in ROS 2 Dashing

Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material ccAnkit Gupta
 
AdSparx Programmatic Content Licensing
AdSparx Programmatic Content LicensingAdSparx Programmatic Content Licensing
AdSparx Programmatic Content LicensingKunal Lagwankar
 
Introduction to SLA.pptx
Introduction to SLA.pptxIntroduction to SLA.pptx
Introduction to SLA.pptxMadhuraK13
 
Microsoft - Feature Crew Model in Managed Services
Microsoft - Feature Crew Model in Managed ServicesMicrosoft - Feature Crew Model in Managed Services
Microsoft - Feature Crew Model in Managed ServicesDavid Burg
 
Software for Oil, Gas & Marine Sector by Labsols
Software for Oil, Gas & Marine Sector by LabsolsSoftware for Oil, Gas & Marine Sector by Labsols
Software for Oil, Gas & Marine Sector by LabsolsSapon Naskar
 
Publish Subscriber messaging pattern
Publish Subscriber messaging patternPublish Subscriber messaging pattern
Publish Subscriber messaging patternShirish Bari
 
Soa 20 steps to soa governance
Soa 20 steps to soa governanceSoa 20 steps to soa governance
Soa 20 steps to soa governanceVaibhav Khanna
 
Subscription Notifier Webinar
Subscription Notifier Webinar Subscription Notifier Webinar
Subscription Notifier Webinar Fishbowl Solutions
 
MSP Development Theme
MSP Development ThemeMSP Development Theme
MSP Development ThemeTOPdesk
 
Promoting Service Reuse within your Organization and Encouraging-SOA Success
Promoting Service Reuse within your Organization and Encouraging-SOA SuccessPromoting Service Reuse within your Organization and Encouraging-SOA Success
Promoting Service Reuse within your Organization and Encouraging-SOA SuccessWSO2
 
Resilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackResilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackC4Media
 
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)Amazon Web Services
 
Kinetic Data White Paper, Divide And Conquer To Accelerate Client Transitions
Kinetic Data White Paper, Divide And Conquer To Accelerate Client TransitionsKinetic Data White Paper, Divide And Conquer To Accelerate Client Transitions
Kinetic Data White Paper, Divide And Conquer To Accelerate Client Transitionsbrettnorgaard
 
Is the Time Right for Operators to Get Serious About Policy Management?
Is the Time Right for Operators to Get Serious About Policy Management?Is the Time Right for Operators to Get Serious About Policy Management?
Is the Time Right for Operators to Get Serious About Policy Management?Cisco Service Provider Mobility
 
Track B - 5 Ways to have control of the traffic sent by meta networks
Track B - 5 Ways to have control of the traffic sent by meta networksTrack B - 5 Ways to have control of the traffic sent by meta networks
Track B - 5 Ways to have control of the traffic sent by meta networksAffiliate Summit
 
Odca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sOdca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sSeanscs
 
ITIL Service Management
ITIL Service ManagementITIL Service Management
ITIL Service ManagementMarvin Sirait
 

Similar to QoS Policies in ROS 2 Dashing (20)

Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material cc
 
AdSparx Programmatic Content Licensing
AdSparx Programmatic Content LicensingAdSparx Programmatic Content Licensing
AdSparx Programmatic Content Licensing
 
NHS e-Referral Service: Supplier Testing Open Day
NHS e-Referral Service: Supplier Testing Open DayNHS e-Referral Service: Supplier Testing Open Day
NHS e-Referral Service: Supplier Testing Open Day
 
Unit 3 chap 1 itsm
Unit 3 chap 1 itsmUnit 3 chap 1 itsm
Unit 3 chap 1 itsm
 
Introduction to SLA.pptx
Introduction to SLA.pptxIntroduction to SLA.pptx
Introduction to SLA.pptx
 
Microsoft - Feature Crew Model in Managed Services
Microsoft - Feature Crew Model in Managed ServicesMicrosoft - Feature Crew Model in Managed Services
Microsoft - Feature Crew Model in Managed Services
 
Software for Oil, Gas & Marine Sector by Labsols
Software for Oil, Gas & Marine Sector by LabsolsSoftware for Oil, Gas & Marine Sector by Labsols
Software for Oil, Gas & Marine Sector by Labsols
 
Publish Subscriber messaging pattern
Publish Subscriber messaging patternPublish Subscriber messaging pattern
Publish Subscriber messaging pattern
 
Soa 20 steps to soa governance
Soa 20 steps to soa governanceSoa 20 steps to soa governance
Soa 20 steps to soa governance
 
Subscription Notifier Webinar
Subscription Notifier Webinar Subscription Notifier Webinar
Subscription Notifier Webinar
 
MSP Development Theme
MSP Development ThemeMSP Development Theme
MSP Development Theme
 
Promoting Service Reuse within your Organization and Encouraging-SOA Success
Promoting Service Reuse within your Organization and Encouraging-SOA SuccessPromoting Service Reuse within your Organization and Encouraging-SOA Success
Promoting Service Reuse within your Organization and Encouraging-SOA Success
 
Resilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackResilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes Back
 
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)
AWS re:Invent 2016: Migrating Enterprise Messaging to the Cloud (ENT217)
 
Kinetic Data White Paper, Divide And Conquer To Accelerate Client Transitions
Kinetic Data White Paper, Divide And Conquer To Accelerate Client TransitionsKinetic Data White Paper, Divide And Conquer To Accelerate Client Transitions
Kinetic Data White Paper, Divide And Conquer To Accelerate Client Transitions
 
Is the Time Right for Operators to Get Serious About Policy Management?
Is the Time Right for Operators to Get Serious About Policy Management?Is the Time Right for Operators to Get Serious About Policy Management?
Is the Time Right for Operators to Get Serious About Policy Management?
 
Track B - 5 Ways to have control of the traffic sent by meta networks
Track B - 5 Ways to have control of the traffic sent by meta networksTrack B - 5 Ways to have control of the traffic sent by meta networks
Track B - 5 Ways to have control of the traffic sent by meta networks
 
Odca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sOdca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_s
 
sla nptl.pptx
sla nptl.pptxsla nptl.pptx
sla nptl.pptx
 
ITIL Service Management
ITIL Service ManagementITIL Service Management
ITIL Service Management
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 

QoS Policies in ROS 2 Dashing

  • 1. Miaofei Mei QoS Policies in ROS2 Dashing June 2019
  • 2. What are QoS Policies and Why Have Them • Stands for quality of service • Settings that control characteristics of the middleware • Affects performance, fault tolerance, determinism, etc. of the middleware’s communications
  • 3. Originally Supported QoS Policies • History • Should publishers keep a history of sent messages • Depth is a settable option • Reliability • Whether or not all messages in history must be delivered • Durability • Do messages in history need to outlive their publisher for late coming subscriptions
  • 4. Newly Supported QoS Policies • Lifespan • Deadline • Liveliness
  • 5. Lifespan QoS Policy • The purpose is to avoid delivering “stale” data to the client application • Messages have a lifespan. Messages past their lifespan will not be delivered to the application • (There is no notification to the application that messages were dropped)
  • 6. Deadline QoS Policy • Messages are expected to be sent and received within a period • If the publisher’s offered deadline period is greater than the subscription’s requested deadline period, then they are considered incompatible • The publisher/subscription will notify the client application if it is not sending/receiving messages within the deadline
  • 7. Liveliness QoS Policy • When the publisher is not sending messages, it needs to assert its liveliness to its subscriptions within some lease duration, either automatically or manually • Also subject to incompatibility between publisher and subscription • The publisher will notify the client application if it has not asserted its liveliness in time • The subscription will notify the client application if its publisher did not assert its liveliness in time
  • 8. Publisher / Subscription API • How to specify QoS policy settings and how will the client application be notified of QoS events? • create_publisher(topic_name, qos_settings, publisher_options); • create_subscription(topic_name, qos_settings, msg_callback, subscription_options, mem_strat);
  • 9. Event Callback Functions • Like the message callback function • Specified in the publisher_options / subscription_options arguments • Providing these callback functions are optional • For example: subscription_options.event_callbacks.deadline_callback = [](rclcpp::QOSDeadlineRequestedInfo & event) -> void { printf("Requested deadline missed - total %d delta %d", event.total_count, event.total_count_change); };
  • 11. Q&A • Questions? • Additional information can also be found at: • DDS Specification • Design Document