robotic platform for appearance editing

22
Robotic Platform for Appearance Editing C. D. Tharindu Mathew Advisor: Prof. Daniel Aliaga

Upload: tharindu-mathew

Post on 13-May-2015

73 views

Category:

Science


3 download

DESCRIPTION

A Robot powered by a Raspberry Pi, is built and used as a dynamic moving projector for Appearance Editing work. This was developed at the CGVLab at Purdue University for ongoing Appearance Editing research.

TRANSCRIPT

Page 1: Robotic Platform for Appearance Editing

Robotic Platform for Appearance Editing

C. D. Tharindu MathewAdvisor: Prof. Daniel Aliaga

Page 2: Robotic Platform for Appearance Editing

Appearance Editing

● Illuminate an object using digital projectors, so that its appearance is visually altered

Source: http://wiki.cs.purdue.edu/cgvlab/doku.php?id=projects:virtual_restoration

Page 3: Robotic Platform for Appearance Editing

Setup Details - Robots

Wheeled mobile robots equipped with ● Raspberry Pi with HDMI output and wifi dongle● Micro Projector● Infrared LED pattern on top● Control circuit to drive motors

Page 4: Robotic Platform for Appearance Editing

Setup Details - Control Table

● Table with checkerboard pattern● Overhead camera with infrared filter

Page 5: Robotic Platform for Appearance Editing

Setup Details - Control Program

● Receives input from overhead camera● Issues commands and pose information to robots● Calibration of camera and projector

Page 6: Robotic Platform for Appearance Editing

Contribution

● Robots, Control table - Luis Rodrigo, Control Program - Prof. Aliaga

● Robot control program existed, written in Python● Re-wrote the robot control program in a more structured

manner with reliable execution

Page 7: Robotic Platform for Appearance Editing

wiringPi

● C Library that allows to control GPIO pins● Allows to generate software based PWM signals● High performance in benchmarks - Possible to generate

6.9 MHz signal

Source: http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/

Page 8: Robotic Platform for Appearance Editing

Development Environment

● Raspberry Pi runs Raspbian 32-bit● Eclipse allows to configure different compilers● Windows Batch script to deploy into robots

Page 9: Robotic Platform for Appearance Editing

Initial Attempt

● Wrote a control loop that does the following:o Rotate towards destination pointo Move at constant speed for 2so Repeat

Page 10: Robotic Platform for Appearance Editing

Video - Initial Attempt

https://www.youtube.com/watch?v=iLXbehabnwY

Page 11: Robotic Platform for Appearance Editing

Control Theory

Source: http://en.wikipedia.org/wiki/File:Feedback_loop_with_descriptions.svg

Page 12: Robotic Platform for Appearance Editing

Error and Input w.r.t. the Robotic Platform

● Measured Output - (xc, yc)● Measured Error - (x, y, ϴ)

● Output - (vl, vr)

Page 13: Robotic Platform for Appearance Editing

Proportional-Integral-Derivative (PID) Controllers

Sources: http://www.oemheaters.com/t-temperature-controller-styles.aspx, http://en.wikipedia.org/wiki/PID_controller

Page 14: Robotic Platform for Appearance Editing

Model Equations

Page 15: Robotic Platform for Appearance Editing

Video - Attempt after integration of PID Controller

https://www.youtube.com/watch?v=iLXbehabnwY

Page 16: Robotic Platform for Appearance Editing

Velocity cut offs

● Maximum velocity operates at 30%● Minimum velocity is 10%● Ratio between vl and vr are considered when one value

hits maximum

Page 17: Robotic Platform for Appearance Editing

Tuning the PID Controller

● To accommodate the table size, more rotation is needed compared to translation

● Use 66x more Kp and Ki values for output ϴ (0.3 vs 200)

Page 18: Robotic Platform for Appearance Editing

Video 3 - Tuned PID Controller

https://www.youtube.com/watch?v=RjGPhbkbHsQ

Page 19: Robotic Platform for Appearance Editing

Projector Calibration

● Uses overhead camera to calibrate Projector using Tsai’s method

● Then, create image to project based on the

image→world coordinates

Page 20: Robotic Platform for Appearance Editing

Results

● Reliable movement of robot● Projector error of 3mm

Page 21: Robotic Platform for Appearance Editing

Future Work

● Increasing projector accuracy to sub-millimeter range● Increase motion precision to millimeter range

Page 22: Robotic Platform for Appearance Editing

Thank You

Questions?