Top Banner
Haptics and Virtual Reality M. Zareinejad Lecture 7: Haptic Rendering
43

M. Zareinejad. Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Dec 13, 2015

Download

Documents

Noreen Kelly
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptics and Virtual Reality

M. Zareinejad

Lecture 7:Haptic Rendering

Page 2: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

How does a basic haptic interface work?

Page 3: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic System Architecture

Page 4: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Use haptic device to physically interact withthe VE– optical encoders measure position of end effector– actuators apply forces to the user– haptic rendering algorithms compute such forces given the new

positions

Haptic System Architecture

Page 5: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic System Architecture

Page 6: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic System Architecture:Haptic Rendering

Page 7: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

“Haptic rendering is the process of computing and generating forces in response to user interaction with virtual environment”

Computing forces and torques that should be applied to the tip of the haptic display in order to represent forces of a physical phenomena or represent some data

The definition of haptic rendering

Page 8: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic Rendering: Parallels to Visual Rendering

Page 9: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic Rendering

Page 10: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic Rendering

Page 11: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic Rendering

Page 12: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 13: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Virtual Wall “algorithm”

Virtual Wall Algorithm

Page 14: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 15: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Sampled-Data System

Page 16: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Sampled-Data System

Page 17: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 18: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 19: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Vector Field In vector calculus, a vector field is an

assignment of a vector to each point in space

Page 20: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Force field

Page 21: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 22: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 23: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 24: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 25: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Thin Objects

Page 26: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Overlapping Objects

Page 27: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

‘God-object’ is an ideal interaction point. It stays on the surface when the object �

penetration occurs. It locates on the nearest surface from the �

HIP.

God-Object Method

Page 28: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Haptic Device and Avatar

Page 29: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Connecting the Device to the Avatar

Page 30: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

God Object Algorithm

Page 31: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

God Object Algorithm

Page 32: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

God Object Algorithm

Page 33: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

God Object Algorithm

Page 34: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 35: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.
Page 36: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

An active surface is the surface that has the God-object on it. To be an active surface, �• The God-object must be located in positive

distance from the surface.• The HIP must be located in negative

distance from the surface.

Active surface

Page 37: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Draw a line from the old God-object to the new HIP. If the line is not under three edges, the

surface is not active now. Change the active surface after a cycle.

Search of Active Surface

Page 38: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

To be an active surface, the HIP must located in negative distance from the surface.

On acute concave object, the God-object �moves below the surface but the HIP does not.

Acute Concave Object Problem

Page 39: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

I. Find a new God-object location. II. Using this as a HIP, check whether there

is a new constraint. III. If there is a new constraint, find “new”

God-object location. IV. Continue until no new constraint is found.

Solution: Iteration

Page 40: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

We find point Q with the minimal distance.

This is a new God-object location.

God-Object Computation

Page 41: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

For three active plane constraints,

This can be solved using the Lagrange Multiplier Theorem.

God Object Computation – Formulation

Page 42: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

Set Lagrangian as

By the Lagrange Multiplier Theorem

God Object Computation –Solution

Page 43: M. Zareinejad.  Use haptic device to physically interact with the VE – optical encoders measure position of end effector – actuators apply forces.

We can compute x, y and z in at most 65 of ×and ÷operations. Lower number of constraints make � computation much faster.

Complexitiy