23
1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D Cameras

1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

1

A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data

Adam LeeperSonny ChanKenneth Salisbury

RSS 2011 Workshop on RGB-D Cameras

Page 2: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Overview

• Motivation• Part One: Haptic Algorithm

• Part Two: Real-Time Strategies

• Results

Page 3: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

3

Motivation

• Force feedback for teleoperation is costly to measure.• We can use a model to estimate interaction forces.• Remote sensors produce 3D points.

Page 4: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Potential Fields and Penalty Methods

• Haptic force is computed from current HIP position.• Force is proportional to penetration depth.

x

F = -k*x

Infinite Wall Geometric Shapes

Page 5: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Potential Fields and Penalty Methods

• Haptic force is computed from current HIP position.• Force is proportional to penetration depth.

“pop-through” when objects are thin

Page 6: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Constraint-Based Methods

• A proxy / god-object is constrained to the surface.• A virtual spring connects proxy to HIP.

Page 7: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Some Previous Methods

• Cha, Eid, Saddik. EuroHaptics 2008.• Depth-image tessellation.• Proxy mesh algorithm.

• El-Far, Georganas, El Saddick. 2008.• Per-point AABB collision detection.• Proxy constrained to discrete point locations.

Page 8: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Constraint-Based Methods

• Constraint method works well for implicit functions• Salisbury & Tarr, 1997

http://xrt.wikidot.com/

f > 0

f < 0

Page 9: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Constraint-Based Methods

• A constraint-plane is given by the surface point and normal.

Page 10: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

From Points to an Implicit Surface

• Great. So how do we make an implicit surface from points?• First, we’ll give each point a compact weighting function.

• Then we have two options:• Metaballs: constructive geometry• Surfels: surface estimation

Page 11: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

From Points to an Implicit Surface

• Metaballs• Each point produces a 3D scalar field f(x,y,z).• The net scalar field is simply the sum of all points.• A threshold value, T, is chosen to define an isosurface on this field.

T = 0.2T = 0.6

Page 12: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

From Points to an Implicit Surface

• Metaballs• Each point produces a 3D scalar field f (x,y,z).• The net scalar field is simply the sum of all points.• A threshold value, T, is chosen to define an isosurface on this field.

T = 0.2 T = 0.6

Don’t need point normals!

Page 13: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

From Points to an Implicit Surface

• Metaballs• Each point produces a 3D scalar field f (x,y,z).• The net scalar field is simply the sum of all points.• A threshold value, T, is chosen to define an isosurface on this field.

Page 14: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

From Points to an Implicit Surface

• Surfels• Local surface estimation (Adamson and Alexa 2003)

weighted-average point position

weighted-average point normal

Page 15: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Selecting Parameters

• Auto-generated parameters adapt easily to any input cloud!• For each point:

• Compute the average distance, d, to the nearest N=3 neighbors.• Set R to some multiple m of d. Generally m ~= 2.

• For metaball rendering, T = 0.5 – 0.8 works for most data.

Page 16: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Part Two: Real-Time Strategies

• Fast Collision Detection• Spatial Issues• Temporal Issues

Page 17: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Fast Collision Detection

• Haptic servo loop is typically 1kHz, can’t use all points!• Points have only compact support of radius R.• A kd-tree or octree provides fast radius and kNN searches.

Page 18: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Spatial Issues

• 640x480 depth image = 300,000 points.• Some are outside the workspace of the haptic device.• Sensor quantization noise should be filtered.• Our kinesthetic sense just isn’t that good.• (Most) haptic devices just aren’t that good.

Use a voxel-grid filter to down-sample cloud.

Page 19: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Temporal Issues

• Cloud pre-processing must not interfere with servo loop.• Sensor noise feels like vibration, especially at edges.

Cloud 0

Processing CloudNew Cloud

Cloud 1 Cloud N. . .

Discarded

Update Thread

Servo Thread

We used N = 4.

Page 20: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Bonus: Multiple Point Sources

• This algorithm inherently handles multiple sensor clouds.• The union of nearby points in each cloud is used for rendering.

Cloud 0

Processing CloudNew Cloud

Cloud 1 Cloud N. . .

Discarded

Update Thread

Servo Thread

New Cloud

Page 21: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Results

• Metaballs:• Only option for sparse or non-planar regions.• Feels more wavy/knobbly in high noise regions.

• Surfels:• Better spatial noise reduction for planar regions.• Requires normal estimation.

• Real-Time Performance:• Kinect updates at about 10Hz.• Haptic loop time < 200us.

Page 22: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Conclusions

• Point clouds can be used to generate an implicit surface suitable for stable haptic rendering with no pop-through.

• Remote environments can be explored haptically with real-time updates from a 3D sensor.

• This strategy could be used to generate feedback constraint forces for robot teleoperation in a remote environment.

Page 23: 1 A Constraint-Based Method for 3-DOF Haptic Rendering of Arbitrary Point Cloud Data Adam Leeper Sonny Chan Kenneth Salisbury RSS 2011 Workshop on RGB-D

Acknowledgments

• Thanks to colleagues Reuben Brewer, Gunter Niemeyer.• National Science Foundation• NSERC of Canada

Come try the demo this afternoon!

?