SlideShare a Scribd company logo
1 of 23
Download to read offline
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                                       Technische Universität München




                        Distributed Networks within ROS:

                                Challenges and possibilities



                                                      Luis Roalter

                                         Technische Universität München, Germany
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                                  Technische Universität München



About

                        Studied                                                             2004
                        Electrical Engineering and Information Technology
                        Technische Universität München

                        Starting PhD thesis                                                 2009
                        Technische Universität München

                        Research Topics:

                        •       Intelligent Systems, esp. for home-automation

                        •       Systems for homecare

                        •       Wireless Sensor Systems and Smartphones

                        •       Human-Computer Interfaces



20.09.2012       Luis Roalter                                                                              2
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                       Technische Universität München



Challenges

•     Large Intelligent Environments will have a substantial number of devices

•     Integration of sophisticated robots into Intelligent Environments

•     Make use of the “Internet of Things” within Intelligent environment

•     Transition to modern IPv6 protocol stack to be prepared for future networks

•     Make use of a distributed master-network

•     Security concerns in large networks




20.09.2012       Luis Roalter                                                                   3
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                    Technische Universität München



Problems to Solve:

•     Internet of Things (which could be a robot as well) commonly depends on
      IPv6, so ROS needs to be able to speak IPv6

•     Large environment are equipped with a huge number of sensors. A central
      ROS master would be inappropriate

•     Communication has to work over borders of networks (Routers or different
      radios). Creating bridges between networks will increase the number of
      use-cases

•     Internet of Things and Embedded systems have lower power. Decrease the
      size of the core-system and ease the configuration (low-weight nodes)

•     A large number of nodes can lead to namespace-collisions. Usage of clear
      naming rules have to be established

20.09.2012       Luis Roalter                                                                4
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



The IPv6 protocol

•     Expands the IP address range
•     Easier routing techniques possible within IPv6
•     Uses 128 bits for single addresses
•     Always get the same address within a network
•     Coding host-specific parts into the address (features, device-id, …)




20.09.2012       Luis Roalter                                                                  5
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                         Technische Universität München



IPv6-Ideas for ROS

•     Code the current location of the device inside the IP
•     Directly connect to devices from the Internet of Things
       –  In short: with a local proxy master (gateway to devices)
       –  In long: Full multimaster capability inside the client libraries

•     Communicate directly over network borders
       –  No more NAT in the way
       –  Smartphones with IPv6 connection can become part of the network from
          any place
       –  Problem: security concerns (when accessible from everywhere)




20.09.2012       Luis Roalter                                                                     6
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                     Technische Universität München



Multimaster Capabilities

•     Local masters reduce latency and CPU load
•     Multiple masters increase the reliability of the whole network

•     Robots with on-board master would integrate easily (nodes to ::1)
•     /remote/<master-name> namespace for non-local nodes:
        –  Nodes on different master can have the same name
        –  Less collisions
        –  Namespace of the node contains its approximate location




20.09.2012       Luis Roalter                                                                 7
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



Proxy Master Concept

•     Replace a full ROS master
•     Looks for another master and redirects all traffic to it
•     Very small memory footprint as no internal state has to be kept
       –  Interesting for embedded devices




20.09.2012       Luis Roalter                                                                  8
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                   Technische Universität München



Naming in ROS: Metadata for Nodes

•     Achieve a common and collision free namespace
•     No reconfiguration of any node for a specific network layout
•     Central set of rules controls the whole namespace
•     Nodes can look for services of local nodes or search the whole namespace




20.09.2012       Luis Roalter                                                               9
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                     Technische Universität München



Routing of Traffic Between Different Networks

•     Routes access to topics
       –  Reduce network load for nodes
       –  Interesting for low bandwidth and low power nodes (wsn)
•     No benefit when calling services
•     Usage of a VPN tunnel between two machines can be used to bridge two
      networks
       –  If a tunnel fails, the two networks continue to operate autonomously




20.09.2012       Luis Roalter                                                                 10
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



Security Risks

•     Problems may occur due to problems in the HTTP-calls
       –  DoS (Denial of Service)
       –  Man-in-the-Middle Attack

•     The attacker may fakes information that leads the robot trough the wall
       –  Integrity of data
       –  Certificates for connections
       –  Encrypting of data transferred




20.09.2012       Luis Roalter                                                                  11
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                       Technische Universität München



Adapting ros_comm  ros_comm6

•     Full IPv6 support for the master, client and libraries

•     ROS extensively uses names to address other nodes
•     Names can be provided by:
       –  /etc/hosts and regular stateless address auto configuration
       –  By DHCPv6
       –  DHCPv6 allows to specify how the IP address is generated

•     IPv6 is disabled by default and controlled with the environment variable
      $ROS_IPV6
       –  Has been tested with the PR2 simulation, virtual machines and on
          network running on a set of Beagle Boards
       –  Implemented for C++ and Python; Java and Lisp still missing



20.09.2012       Luis Roalter                                                                   12
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



Stability Enhancements

•     Better handling of temporary errors due to name resolving:

        –  Nodes can loose connections over a longer period of time and get found
           again

        –  IP can change as long as the name stays the same

        –  There is no timeout for local nodes if they loose the connection.
           This could be a problem as the master does not check for alive nodes




20.09.2012       Luis Roalter                                                                  13
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                    Technische Universität München



Planned implementation

•     Local sync node registers with remote master

•     The remote master send updates of its status to the sync node

•     The local sync node updates the local master with new information

•     The local master informs local nodes about new remote nodes

•     All remote nodes are put into the /remote/-namespace
       –  Prevents cycles: The sync node only cares about changes of nodes which
           are not in the /remote/-Namespace




20.09.2012       Luis Roalter                                                                14
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



The “Multimaster”

•     Fully mashed network between sync nodes and the masters
       –  Other sync nodes are discovered using multicast
       –  High network load for masters with frequent changes
       –  High failure tolerance if a master is not reachable anymore
            •  Nodes of an unreachable master are still available
            •  All the network is still connected on loss of a master




20.09.2012       Luis Roalter                                                                  15
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                     Technische Universität München



Metadata for Nodes

•     Generate system wide and unique topic and service names
•     They may contain:
       –  Name, location, function, owner and group of a node
       –  Name, location, function and group for each topic and service



        	
  




20.09.2012       Luis Roalter                                                                 16
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                     Technische Universität München



Transformation service

•     Metadata is loaded as XML by roslaunch as a parameter
       –  Can also be YAML
•     System node provides a transformation service
       –  No change to the client libraries needed
       –  Transformation is encapsulated, implementation resides in a single place
       –  Returns the namespace of specific topic/service
       –  Remap commands in launch-files will still work for incoming topics

•     Use XSLT processor to apply an XSLT style sheet
       –  XSLT gets loaded at the node start-up
       –  XSLT must be the same for the whole system

•     ROS-wide naming service, also usable for additional features for ROS


20.09.2012       Luis Roalter                                                                 17
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                   Technische Universität München



Routing between sync nodes

•     Replaces the fully meshed network with a routed network
       –  Total bandwidth usage gets reduced
       –  Makes the system more brittle

•     Building routes between different networks:
       –  Discovery of other sync nodes might fail in routed networks
       –  Master and Sync-Node need to communicate to connect two networks
       –  No more problems to reach each other




20.09.2012       Luis Roalter                                                               18
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                    Technische Universität München



Routing for topics and services

•     Local sync nodes registers itself with the local master
•     Local nodes contact their sync node, which forwards the request through the
      routed network to remote sync nodes
•     Remote sync node subscribes to the topic/calls the service




20.09.2012       Luis Roalter                                                                19
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                     Technische Universität München



Security Implementation

•     Provide data integrity trough checksums and pre-shared secrets (e.g. per
      node or service)
•     Encrypt connections by certificates

•     Missing failure tests for the ROS communication stack:
       –  DoS Attacks
       –  Code injections
       –  Manipulation of connections (overriding parameters)

•     Security concept for ROS




20.09.2012       Luis Roalter                                                                 20
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                              Technische Universität München




                                          Thank you for your attention!
                                                 Questions?




                                                      ?
                                                      ?
                                            roalter@tum.de
                                www.vmi.ei.tum.de/team/luis-roalter.html

20.09.2012       Luis Roalter                                                                          21
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                      Technische Universität München



Paper Reference

•     Please find the associated paper at:
      https://vmi.lmt.ei.tum.de/publications/2011/IE11_preprint.pdf

•     Please cite this work as follows:
•     Luis Roalter, Andreas Möller, Stefan Diewald, Matthias Kranz. 2012.
      Developing Intelligent Environments: A Development Tool Chain for Creation,
      Testing and Simulation of Smart and Intelligent Environments
      In: Proceedings of the 7th International Conference on Intelligent
      Environments (IE2011), pp. 214-221, Nottingham, UK, July 2011




20.09.2012       Luis Roalter                                                                  22
Distributed Multimodal Information Processing Group
Prof. Dr. Matthias Kranz                                                                  Technische Universität München



If you use BibTex, please use the following entry
to cite this work:



 @INPROCEEDINGS{ie2011,
   author = {Roalter, Luis and M{"o}ller, Andreas and Diewald, Stefan and Kranz, Matthias},
   title = {{Developing Intelligent Environments: A Development Tool Chain for Creation,
           Testing and Simulation of Smart and Intelligent Environments}},
   booktitle = {Proceedings of the 7th International Conference on Intelligent Environments (IE)},
   year = {2011},
   pages = {214--221},
   month = {july},
   doi = {10.1109/IE.2011.43},
   isbn = {978-0-7695-4452-6},
   keywords = {Android, Development, Development Process, Intelligent Environments,
           Middleware, Mobile Devices, ROS, Smart Spaces},
   numpages = {8}
 }




20.09.2012       Luis Roalter                                                                                              23

More Related Content

What's hot

Behavioral malware detection in delay tolerant networks
Behavioral malware detection in delay tolerant networksBehavioral malware detection in delay tolerant networks
Behavioral malware detection in delay tolerant networksShakas Technologies
 
Opportunistic Networking
Opportunistic NetworkingOpportunistic Networking
Opportunistic NetworkingNoorin Fatima
 
Ensuring Privacy in opportunistic Network
Ensuring Privacy in opportunistic NetworkEnsuring Privacy in opportunistic Network
Ensuring Privacy in opportunistic NetworkIOSR Journals
 
IRJET- Distributed Decentralized Data Storage using IPFS
IRJET- Distributed Decentralized Data Storage using IPFSIRJET- Distributed Decentralized Data Storage using IPFS
IRJET- Distributed Decentralized Data Storage using IPFSIRJET Journal
 
Delay Tolerant Network - Presentation
Delay Tolerant Network - PresentationDelay Tolerant Network - Presentation
Delay Tolerant Network - PresentationLaili Aidi
 
Multicore series-1-0223
Multicore series-1-0223Multicore series-1-0223
Multicore series-1-0223Aysha Khan
 
the darknet and the future of content distribution
the darknet and the future of content distributionthe darknet and the future of content distribution
the darknet and the future of content distributionmustafa sarac
 
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...ijwmn
 
Network Service in OpenStack Cloud, by Yaohui Jin
Network Service in OpenStack Cloud, by Yaohui JinNetwork Service in OpenStack Cloud, by Yaohui Jin
Network Service in OpenStack Cloud, by Yaohui JinHui Cheng
 

What's hot (13)

Behavioral malware detection in delay tolerant networks
Behavioral malware detection in delay tolerant networksBehavioral malware detection in delay tolerant networks
Behavioral malware detection in delay tolerant networks
 
Syllabus cse
Syllabus cseSyllabus cse
Syllabus cse
 
Opportunistic Networking
Opportunistic NetworkingOpportunistic Networking
Opportunistic Networking
 
Ensuring Privacy in opportunistic Network
Ensuring Privacy in opportunistic NetworkEnsuring Privacy in opportunistic Network
Ensuring Privacy in opportunistic Network
 
IRJET- Distributed Decentralized Data Storage using IPFS
IRJET- Distributed Decentralized Data Storage using IPFSIRJET- Distributed Decentralized Data Storage using IPFS
IRJET- Distributed Decentralized Data Storage using IPFS
 
Delay Tolerant Network - Presentation
Delay Tolerant Network - PresentationDelay Tolerant Network - Presentation
Delay Tolerant Network - Presentation
 
Multicore series-1-0223
Multicore series-1-0223Multicore series-1-0223
Multicore series-1-0223
 
Pptx present
Pptx presentPptx present
Pptx present
 
Darknet5
Darknet5Darknet5
Darknet5
 
the darknet and the future of content distribution
the darknet and the future of content distributionthe darknet and the future of content distribution
the darknet and the future of content distribution
 
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
Analyzing the Impact of Eaves on Energy Consumption of AODV Routing Protocol ...
 
An overview of JPSearch
An overview of JPSearchAn overview of JPSearch
An overview of JPSearch
 
Network Service in OpenStack Cloud, by Yaohui Jin
Network Service in OpenStack Cloud, by Yaohui JinNetwork Service in OpenStack Cloud, by Yaohui Jin
Network Service in OpenStack Cloud, by Yaohui Jin
 

Similar to Distributed Networks within ROS: Challenges and Possibilities

Research portfolio
Research portfolio Research portfolio
Research portfolio Mehdi Bennis
 
2.Introduction to Network Devices.ppt
2.Introduction to Network Devices.ppt2.Introduction to Network Devices.ppt
2.Introduction to Network Devices.pptjaba kumar
 
vnd.ms-powerpoint&rendition=1.ppt
vnd.ms-powerpoint&rendition=1.pptvnd.ms-powerpoint&rendition=1.ppt
vnd.ms-powerpoint&rendition=1.pptunnipb1
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.pptnilesh405711
 
Network protocol
Network protocolNetwork protocol
Network protocolQadarAhmed1
 
Unit I_Computer Networks_2.ppt
Unit I_Computer Networks_2.pptUnit I_Computer Networks_2.ppt
Unit I_Computer Networks_2.pptArumugam90
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.pptSaagar Shetage
 
A computer network links several computers. Office networks allow people to w...
A computer network links several computers. Office networks allow people to w...A computer network links several computers. Office networks allow people to w...
A computer network links several computers. Office networks allow people to w...sherinjoyson
 
Network- computer networking by vinod ppt
Network- computer networking by vinod pptNetwork- computer networking by vinod ppt
Network- computer networking by vinod pptDhruvilSTATUS
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.pptkrishna683602
 
Advanced Computer Network-20210426203825.ppt
Advanced Computer Network-20210426203825.pptAdvanced Computer Network-20210426203825.ppt
Advanced Computer Network-20210426203825.pptSmitaPatil541701
 
Computer Network basic
Computer Network basicComputer Network basic
Computer Network basicCeoTranDang
 
The Computer Network - All the basic Knowledge
The Computer Network - All the basic KnowledgeThe Computer Network - All the basic Knowledge
The Computer Network - All the basic Knowledgessuseree2ffc
 

Similar to Distributed Networks within ROS: Challenges and Possibilities (20)

Tool Support for Prototyping Interfaces
Tool Support for Prototyping InterfacesTool Support for Prototyping Interfaces
Tool Support for Prototyping Interfaces
 
Rmdtn ppt
Rmdtn pptRmdtn ppt
Rmdtn ppt
 
Research portfolio
Research portfolio Research portfolio
Research portfolio
 
Towards a Holistic Approach for Mobile Application Development in Intelligent...
Towards a Holistic Approach for Mobile Application Development in Intelligent...Towards a Holistic Approach for Mobile Application Development in Intelligent...
Towards a Holistic Approach for Mobile Application Development in Intelligent...
 
2.Introduction to Network Devices.ppt
2.Introduction to Network Devices.ppt2.Introduction to Network Devices.ppt
2.Introduction to Network Devices.ppt
 
vnd.ms-powerpoint&rendition=1.ppt
vnd.ms-powerpoint&rendition=1.pptvnd.ms-powerpoint&rendition=1.ppt
vnd.ms-powerpoint&rendition=1.ppt
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
 
slides15-1.pdf
slides15-1.pdfslides15-1.pdf
slides15-1.pdf
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Network.ppt
Network.pptNetwork.ppt
Network.ppt
 
Basic Networking.ppt
Basic Networking.pptBasic Networking.ppt
Basic Networking.ppt
 
Unit I_Computer Networks_2.ppt
Unit I_Computer Networks_2.pptUnit I_Computer Networks_2.ppt
Unit I_Computer Networks_2.ppt
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
 
A computer network links several computers. Office networks allow people to w...
A computer network links several computers. Office networks allow people to w...A computer network links several computers. Office networks allow people to w...
A computer network links several computers. Office networks allow people to w...
 
Network- computer networking by vinod ppt
Network- computer networking by vinod pptNetwork- computer networking by vinod ppt
Network- computer networking by vinod ppt
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
 
Networking devices.ppt
Networking devices.pptNetworking devices.ppt
Networking devices.ppt
 
Advanced Computer Network-20210426203825.ppt
Advanced Computer Network-20210426203825.pptAdvanced Computer Network-20210426203825.ppt
Advanced Computer Network-20210426203825.ppt
 
Computer Network basic
Computer Network basicComputer Network basic
Computer Network basic
 
The Computer Network - All the basic Knowledge
The Computer Network - All the basic KnowledgeThe Computer Network - All the basic Knowledge
The Computer Network - All the basic Knowledge
 

More from Distributed Multimodal Information Processing Group

More from Distributed Multimodal Information Processing Group (15)

Experimental Evaluation of User Interfaces for Visual Indoor Navigation
Experimental Evaluation of User Interfaces for Visual Indoor NavigationExperimental Evaluation of User Interfaces for Visual Indoor Navigation
Experimental Evaluation of User Interfaces for Visual Indoor Navigation
 
Visual Authentication - A Secure Single Step Authentication for User Authoriz...
Visual Authentication - A Secure Single Step Authentication for User Authoriz...Visual Authentication - A Secure Single Step Authentication for User Authoriz...
Visual Authentication - A Secure Single Step Authentication for User Authoriz...
 
Mit mobilem Lernen zur erweiterten Methodenkompetenz
Mit mobilem Lernen zur erweiterten MethodenkompetenzMit mobilem Lernen zur erweiterten Methodenkompetenz
Mit mobilem Lernen zur erweiterten Methodenkompetenz
 
Investigating Self-Reporting Behavior in Long-Term Studies
Investigating Self-Reporting Behavior in Long-Term StudiesInvestigating Self-Reporting Behavior in Long-Term Studies
Investigating Self-Reporting Behavior in Long-Term Studies
 
Decision-Point Panorama-Based Indoor Navigation
Decision-Point Panorama-Based Indoor NavigationDecision-Point Panorama-Based Indoor Navigation
Decision-Point Panorama-Based Indoor Navigation
 
The Smartphone as Mobile Authorization Proxy
The Smartphone as Mobile Authorization ProxyThe Smartphone as Mobile Authorization Proxy
The Smartphone as Mobile Authorization Proxy
 
GymSkill - A Personal Trainer for Physical Exercises
GymSkill - A Personal Trainer for Physical ExercisesGymSkill - A Personal Trainer for Physical Exercises
GymSkill - A Personal Trainer for Physical Exercises
 
The Healthcare and Motivation Seat - A Survey with the GewoS Chair
The Healthcare and Motivation Seat - A Survey with the GewoS ChairThe Healthcare and Motivation Seat - A Survey with the GewoS Chair
The Healthcare and Motivation Seat - A Survey with the GewoS Chair
 
DriveAssist – A V2X-Based Driver Assistance System for Android
DriveAssist – A V2X-Based Driver Assistance System for Android DriveAssist – A V2X-Based Driver Assistance System for Android
DriveAssist – A V2X-Based Driver Assistance System for Android
 
Update Behavior in App Markets and Security Implications: A Case Study in Goo...
Update Behavior in App Markets and Security Implications: A Case Study in Goo...Update Behavior in App Markets and Security Implications: A Case Study in Goo...
Update Behavior in App Markets and Security Implications: A Case Study in Goo...
 
MobiliNet: A Social Network for Optimized Mobility
MobiliNet: A Social Network for Optimized MobilityMobiliNet: A Social Network for Optimized Mobility
MobiliNet: A Social Network for Optimized Mobility
 
Gamification-supported Exploration of Natural User Interfaces
Gamification-supported Exploration of Natural User InterfacesGamification-supported Exploration of Natural User Interfaces
Gamification-supported Exploration of Natural User Interfaces
 
MobiDics: Cooperative Mobile e-Learning for Teachers
MobiDics: Cooperative Mobile e-Learning for TeachersMobiDics: Cooperative Mobile e-Learning for Teachers
MobiDics: Cooperative Mobile e-Learning for Teachers
 
A Mobile Indoor Navigation System Interface Adapted to Vision-Based Localization
A Mobile Indoor Navigation System Interface Adapted to Vision-Based LocalizationA Mobile Indoor Navigation System Interface Adapted to Vision-Based Localization
A Mobile Indoor Navigation System Interface Adapted to Vision-Based Localization
 
MobiMed: Comparing Object Identification Techniques on Smartphones
MobiMed: Comparing Object Identification Techniques on SmartphonesMobiMed: Comparing Object Identification Techniques on Smartphones
MobiMed: Comparing Object Identification Techniques on Smartphones
 

Recently uploaded

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Recently uploaded (20)

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Distributed Networks within ROS: Challenges and Possibilities

  • 1. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Distributed Networks within ROS: Challenges and possibilities Luis Roalter Technische Universität München, Germany
  • 2. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München About Studied 2004 Electrical Engineering and Information Technology Technische Universität München Starting PhD thesis 2009 Technische Universität München Research Topics: •  Intelligent Systems, esp. for home-automation •  Systems for homecare •  Wireless Sensor Systems and Smartphones •  Human-Computer Interfaces 20.09.2012 Luis Roalter 2
  • 3. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Challenges •  Large Intelligent Environments will have a substantial number of devices •  Integration of sophisticated robots into Intelligent Environments •  Make use of the “Internet of Things” within Intelligent environment •  Transition to modern IPv6 protocol stack to be prepared for future networks •  Make use of a distributed master-network •  Security concerns in large networks 20.09.2012 Luis Roalter 3
  • 4. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Problems to Solve: •  Internet of Things (which could be a robot as well) commonly depends on IPv6, so ROS needs to be able to speak IPv6 •  Large environment are equipped with a huge number of sensors. A central ROS master would be inappropriate •  Communication has to work over borders of networks (Routers or different radios). Creating bridges between networks will increase the number of use-cases •  Internet of Things and Embedded systems have lower power. Decrease the size of the core-system and ease the configuration (low-weight nodes) •  A large number of nodes can lead to namespace-collisions. Usage of clear naming rules have to be established 20.09.2012 Luis Roalter 4
  • 5. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München The IPv6 protocol •  Expands the IP address range •  Easier routing techniques possible within IPv6 •  Uses 128 bits for single addresses •  Always get the same address within a network •  Coding host-specific parts into the address (features, device-id, …) 20.09.2012 Luis Roalter 5
  • 6. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München IPv6-Ideas for ROS •  Code the current location of the device inside the IP •  Directly connect to devices from the Internet of Things –  In short: with a local proxy master (gateway to devices) –  In long: Full multimaster capability inside the client libraries •  Communicate directly over network borders –  No more NAT in the way –  Smartphones with IPv6 connection can become part of the network from any place –  Problem: security concerns (when accessible from everywhere) 20.09.2012 Luis Roalter 6
  • 7. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Multimaster Capabilities •  Local masters reduce latency and CPU load •  Multiple masters increase the reliability of the whole network •  Robots with on-board master would integrate easily (nodes to ::1) •  /remote/<master-name> namespace for non-local nodes: –  Nodes on different master can have the same name –  Less collisions –  Namespace of the node contains its approximate location 20.09.2012 Luis Roalter 7
  • 8. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Proxy Master Concept •  Replace a full ROS master •  Looks for another master and redirects all traffic to it •  Very small memory footprint as no internal state has to be kept –  Interesting for embedded devices 20.09.2012 Luis Roalter 8
  • 9. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Naming in ROS: Metadata for Nodes •  Achieve a common and collision free namespace •  No reconfiguration of any node for a specific network layout •  Central set of rules controls the whole namespace •  Nodes can look for services of local nodes or search the whole namespace 20.09.2012 Luis Roalter 9
  • 10. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Routing of Traffic Between Different Networks •  Routes access to topics –  Reduce network load for nodes –  Interesting for low bandwidth and low power nodes (wsn) •  No benefit when calling services •  Usage of a VPN tunnel between two machines can be used to bridge two networks –  If a tunnel fails, the two networks continue to operate autonomously 20.09.2012 Luis Roalter 10
  • 11. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Security Risks •  Problems may occur due to problems in the HTTP-calls –  DoS (Denial of Service) –  Man-in-the-Middle Attack •  The attacker may fakes information that leads the robot trough the wall –  Integrity of data –  Certificates for connections –  Encrypting of data transferred 20.09.2012 Luis Roalter 11
  • 12. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Adapting ros_comm  ros_comm6 •  Full IPv6 support for the master, client and libraries •  ROS extensively uses names to address other nodes •  Names can be provided by: –  /etc/hosts and regular stateless address auto configuration –  By DHCPv6 –  DHCPv6 allows to specify how the IP address is generated •  IPv6 is disabled by default and controlled with the environment variable $ROS_IPV6 –  Has been tested with the PR2 simulation, virtual machines and on network running on a set of Beagle Boards –  Implemented for C++ and Python; Java and Lisp still missing 20.09.2012 Luis Roalter 12
  • 13. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Stability Enhancements •  Better handling of temporary errors due to name resolving: –  Nodes can loose connections over a longer period of time and get found again –  IP can change as long as the name stays the same –  There is no timeout for local nodes if they loose the connection. This could be a problem as the master does not check for alive nodes 20.09.2012 Luis Roalter 13
  • 14. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Planned implementation •  Local sync node registers with remote master •  The remote master send updates of its status to the sync node •  The local sync node updates the local master with new information •  The local master informs local nodes about new remote nodes •  All remote nodes are put into the /remote/-namespace –  Prevents cycles: The sync node only cares about changes of nodes which are not in the /remote/-Namespace 20.09.2012 Luis Roalter 14
  • 15. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München The “Multimaster” •  Fully mashed network between sync nodes and the masters –  Other sync nodes are discovered using multicast –  High network load for masters with frequent changes –  High failure tolerance if a master is not reachable anymore •  Nodes of an unreachable master are still available •  All the network is still connected on loss of a master 20.09.2012 Luis Roalter 15
  • 16. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Metadata for Nodes •  Generate system wide and unique topic and service names •  They may contain: –  Name, location, function, owner and group of a node –  Name, location, function and group for each topic and service   20.09.2012 Luis Roalter 16
  • 17. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Transformation service •  Metadata is loaded as XML by roslaunch as a parameter –  Can also be YAML •  System node provides a transformation service –  No change to the client libraries needed –  Transformation is encapsulated, implementation resides in a single place –  Returns the namespace of specific topic/service –  Remap commands in launch-files will still work for incoming topics •  Use XSLT processor to apply an XSLT style sheet –  XSLT gets loaded at the node start-up –  XSLT must be the same for the whole system •  ROS-wide naming service, also usable for additional features for ROS 20.09.2012 Luis Roalter 17
  • 18. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Routing between sync nodes •  Replaces the fully meshed network with a routed network –  Total bandwidth usage gets reduced –  Makes the system more brittle •  Building routes between different networks: –  Discovery of other sync nodes might fail in routed networks –  Master and Sync-Node need to communicate to connect two networks –  No more problems to reach each other 20.09.2012 Luis Roalter 18
  • 19. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Routing for topics and services •  Local sync nodes registers itself with the local master •  Local nodes contact their sync node, which forwards the request through the routed network to remote sync nodes •  Remote sync node subscribes to the topic/calls the service 20.09.2012 Luis Roalter 19
  • 20. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Security Implementation •  Provide data integrity trough checksums and pre-shared secrets (e.g. per node or service) •  Encrypt connections by certificates •  Missing failure tests for the ROS communication stack: –  DoS Attacks –  Code injections –  Manipulation of connections (overriding parameters) •  Security concept for ROS 20.09.2012 Luis Roalter 20
  • 21. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Thank you for your attention! Questions? ? ? roalter@tum.de www.vmi.ei.tum.de/team/luis-roalter.html 20.09.2012 Luis Roalter 21
  • 22. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München Paper Reference •  Please find the associated paper at: https://vmi.lmt.ei.tum.de/publications/2011/IE11_preprint.pdf •  Please cite this work as follows: •  Luis Roalter, Andreas Möller, Stefan Diewald, Matthias Kranz. 2012. Developing Intelligent Environments: A Development Tool Chain for Creation, Testing and Simulation of Smart and Intelligent Environments In: Proceedings of the 7th International Conference on Intelligent Environments (IE2011), pp. 214-221, Nottingham, UK, July 2011 20.09.2012 Luis Roalter 22
  • 23. Distributed Multimodal Information Processing Group Prof. Dr. Matthias Kranz Technische Universität München If you use BibTex, please use the following entry to cite this work: @INPROCEEDINGS{ie2011, author = {Roalter, Luis and M{"o}ller, Andreas and Diewald, Stefan and Kranz, Matthias}, title = {{Developing Intelligent Environments: A Development Tool Chain for Creation, Testing and Simulation of Smart and Intelligent Environments}}, booktitle = {Proceedings of the 7th International Conference on Intelligent Environments (IE)}, year = {2011}, pages = {214--221}, month = {july}, doi = {10.1109/IE.2011.43}, isbn = {978-0-7695-4452-6}, keywords = {Android, Development, Development Process, Intelligent Environments, Middleware, Mobile Devices, ROS, Smart Spaces}, numpages = {8} } 20.09.2012 Luis Roalter 23