Dead Reckoning Objectives – –Understand what is meant by the term dead reckoning. –Realize the two major components of a dead reckoning protocol. –Be capable.

Slides:



Advertisements
Similar presentations
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Advertisements

Review of Topology and Access Techniques / Switching Concepts BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Computer Network Topologies
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
Congestion Control Algorithms
Chapter 13 Network Design and Management
Fundamentals of Computer Networks ECE 478/578
CMP206 – Introduction to Data Communication & Networks Lecture 1 - Networking Fundamentals.
Chapter Five - Managing Dynamic Shared State The Consistency-Throughput Tradeoff 101 Proof of the Tradeoff 104Proof of the Tradeoff 104 Design Implications.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Reliable Communication for Highly Mobile Agents ECE 7995: Term Paper.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Efficient Monitoring of QoS Parameters (EMQP) Authors: Vadim Drabkin Arie Orlovsky Constantine Elster Instructors: Dr. Danny Raz Mr. Ran Wolff.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Chapter 3 part II Data and Signals
The OSI and TCP/IP Models Last Update Copyright 2009 Kenneth M. Chipps Ph.D.
Network Topologies.
Switching Techniques Student: Blidaru Catalina Elena.
3.1 Figure 3.16 Two digital signals: one with two signal levels and the other with four signal levels.
Chapter 4: Managing LAN Traffic
Networked Games - consistency and real-time Objectives – –Understand the problems associated with networked games. –Realize the importance of satisfying.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Communicating over the Network Network Fundamentals – Chapter 2.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
M. Menelaou CCNA2 DYNAMIC ROUTING. M. Menelaou DYNAMIC ROUTING Dynamic routing protocols can help simplify the life of a network administrator Routing.
Network Physics Created by Ruslan Yavdoshak for Nikitova Games, 2008.
IEEE R lmap 23 Feb 2015.
Introduction to Networked Graphics Part 3 of 5: Latency.
NETWORKING FUNDAMENTALS. Bandwidth Bandwidth is defined as the amount of information that can flow through a network connection in a given period of time.Bandwidth.
1 Next Few Classes Networking basics Protection & Security.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Computer and Data Communications Semester Mohd Nazri Mahmud Session 2a-27 Feb 2012.
Analysis of a Protocol for Dynamic Configuration of IPv4 Link Local Addresses Using Uppaal Miaomiao Zhang Frits W. Vaandrager Department of Computer Science.
 Topology Topology  Different types of topology Different types of topology  bus topologybus topology  ring topologyring topology  star topologystar.
Distributed Virtual Environments Introduction. Outline What are they? DVEs vs. Analytic Simulations DIS –Design principles Example.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 4 Switching Concepts.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Lecture 6 Page 1 Advanced Network Security Review of Networking Basics Advanced Network Security Peter Reiher August, 2014.
Network Performance. Performance (1) What would be the characteristics of the ideal network? –It would be completely transparent in every conceivable.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Communicating over the Network Network Fundamentals – Chapter 2.
Routing and Routing Protocols
Internet Protocol: Routing IP Datagrams Chapter 8.
Dead Reckoning References: Gamasutra (1), Gamedev (1)1 Forum articles (1)1.
Networked Games Objectives – –Understand the types of human interaction that a network game may provide and how this influences game play. –Understand.
Dead Reckoning. Outline Basic Dead Reckoning Model (DRM) –Generating state updates –Position extrapolation Refinements –Time compensation –Smoothing.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
Building A Network: Cost Effective Resource Sharing
2016/3/11 1 Data Link Layer. 2016/3/11 2 Two basic services of Data Link Allows the upper layers to access the media using techniques such as framing.
Chapter 3 TRANSMISSION IMPAIRMENT. 3-4 TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes.
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Chapter 28 Q and A IS 333 Spring A quiz question Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer.
Instructor Materials Chapter 5: Dynamic Routing
Computer Data Communication
Parallel and Distributed Simulation
Layered Architectures
Distance-Vector Routing Protocols
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Chapter 5: Dynamic Routing
Learning Objectives After interacting with this Learning Object, the learner will be able to: Explain the process of collision detection in CSMA/CD.
Switching Techniques.
Data Link Layer 2019/2/19.
Building A Network: Cost Effective Resource Sharing
Tutorial 2 This elementary problem begins to explore propagation delay and transmission delay, two central concepts in data networking. Consider two hosts,
Approximate Mean Value Analysis of a Database Grid Application
Presentation transcript:

Dead Reckoning Objectives – –Understand what is meant by the term dead reckoning. –Realize the two major components of a dead reckoning protocol. –Be capable of identifying appropriate circumstances in which dead reckoning may be used.

Dead Reckoning – benefits and drawbacks Without dead reckoning –Hosts display positional information when they receive state update messages (centralised server, de-centralised server or peer – frequent state regeneration). With dead reckoning –Hosts may approximate the position of entities based on information held locally. Benefit –Less message passing required to update an entities state across all hosts of the virtual environment. Problems associated to jitter and lag are compensated for. Drawbacks –Hosts may not share a mutually consistent view of the virtual environment.

Network – some background information Bandwidth – –The rate at which the network can deliver data to a destination host. –Typical (new) Ethernet provides 100 Mbps (100, 000, 000 bits per second). –The more complex a virtual world is the more bandwidth is required. Latency – –The amount of time required to transfer a bit of data from one point to another. –LAN latency may be less than 10 milliseconds, transcontinental connections may be milliseconds and intercontinental connections may be over 200 milliseconds (taking the Internet as an example). –To ensure successful interaction the latency should not exceed 100 milliseconds (200 milliseconds delay overall).

Example – network requirements 20 hosts each connected in a peer configuration using frequent state regeneration. Each host is responsible for 100 animated entities (2000 in total virtual environment). Each entity requires position vector information to be distributed for a frame rate of 25 frames per second (assume this information may be carried in 3 eight bit word lengths – we ignore packet dependent data here). 24 * 2000 * 20 * 25 = 24, 000, 000 bits need to be distributed per second (bandwidth 24Mbs). Assuming computational requirements are around 5ms for each frame, then latency must be less than 1000/25 – 5 = 35 milliseconds.

Dead reckoning – predictive modeling Assume animation at 20 frames per second and the ability to only receive update message for the above plane once per second. If an update message indicates the velocity/direction of the plane then we can approximate its position at t2 given initial location at t1. t2 t1

Throughput consistency tradeoff Predicting position may lead to an inconsistency in views of the plane’s position. Since the last state update message the plane may have changed direction. –At the host (h1) where the plane is managed the updates would be made in real-time. –At the remote host (h2) receiving the update information the plane would be positioned using out of date information. h1 h2

Convergence Prediction is one aspect of a dead reckoning protocol. The other major element is convergence. When update messages are received that indicate the plane at h2 has moved away from the true flight path (as dictated by h1) then we must move the plane of h2 to the latest known correct position of the plane (as dictated by h1). Jumping to the new position presents an unnatural animation. A gradual correcting of the plane’s path is used to move the plane of h2 into a more appropriate position. h1 h2 Convergence point

Derivative polynomials Common dead reckoning protocols use derivative polynomials. Zero-order polynomials – use entity’s instantaneous position but does not use any derivative information. –This is equivalent to frequent state regeneration. –Predicted position after t seconds = position Order one polynomials – use velocity in calculations. –Predicted position after t seconds = position + velocity x t Second order polynomials – use velocity and acceleration. –Predicted position after t seconds = position + velocity x t + ½ x acceleration x t2 Second order polynomials are most popular. –Used in military simulations.

Which polynomial order? Second order polynomials may appear to present more accurate prediction. –They are more computationally expensive than order one polynomials. –They may not be better at predicting position. For example, acceleration may be changing frequently making this parameter almost useless in calculations. It may be wise to allow a choice of which polynomial order to use on a per entity basis at run-time. –This provides the greater benefit of lowering bandwidth requirements while aiming to preserve as much consistency as possible.

Prediction without polynomial prediction Sometimes polynomial prediction is not appropriate. –For example, a tank traveling down a road or a particular maneuver carried out by an aircraft. In the above examples we can predict the movement of an entity by identifying some preset maneuver that an entity will be participating in for some time. –This makes prediction a little easier. Sometimes polynomial prediction in 2D will suffice for 3D environments. –This is especially the case when objects are traveling along the ground.

Convergence methods Zero order (snap) – Immediately correct the prediction by immediately moving an entity to the latest known position (as described in a state update message). –Quick and easy. When large corrections are required an entity may appear to jump around the screen. Linear– identify convergence point as some point in the future on the latest predicted path and linearly animate an entity from its current position to the convergence point. –Better than zero order when large corrections are required but may still promote unnatural movement as entities suddenly change direction. Cubic spline – construct a third order curve to smooth the animation between current entity position and convergence point. –Computationally expensive (depending on the smoothing of the curve – how many intermediary points are used). Problem – What if is there is a collision as a result of convergence?

Non-regular sending of state update messages Sometimes the frequency of receiving state update messages may vary. –This is particularly true over long haul networks where message delays are variable (e.g., between 50 and 200 milliseconds). Variable delay results in more inconsistency. –If a message is sent once every second then there could be instances when messages are received in quick succession or substantial gaps are witnessed between the receiving of messages. –Furthermore, this inconsistency may be variable on a per network link basis, the message latency times between a sender and different receiving hosts may vary quite substantially. A method to overcome this problem would be determine the sending of a state update message based on a judgement made by the sending host. –Such a judgement is made on the state of the virtual environment as viewed by a sending host.

Non-regular transmission Only when the plane exceeds the predicted error bound will the host that owns the plane send a state update message. If the dead reckoning algorithm is very accurate there may be no need to send a message again! –To prevent this (and help distinguish failed hosts and enable initialization on other hosts) there is a maximum time set as to when a host may not send a state update message. Remote prediction error Actual flight as modeled by sending host (owner of plane) Predicted flight based on last state update message sent (as modeled by sending host – owner of plane)