camera aided robot progress report. aim? develop a camera guided robot. has to be able to detect red...

14
Camera Aided Robot Progress Report

Upload: jeffery-flynn

Post on 23-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Camera Aided Robot

Progress Report

Page 2: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

AIM?

• Develop a camera guided robot.• Has to be able to detect red circular objects

and the object position in each frame.• Needs to translate image co-ordinates to real

world co-ordinates for robot.• Robot uses the real world information to

locate object.• Draws a dot on centre of object.

Page 3: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Block Diagram

4460 Core

Arduino

Dagu 4 channel motor driver

Pandaboard

Dagu Rover 5

USBMotor

controlsencoders

Motor 1

Motor 2

Motor 3

M1OUTM2OUT

M3OUT

Camera

USB

Page 4: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

System FlowStart

Initialize camera and robot

Start looking for objects

Right

Detect position of object

object found?

Left Middle

object found?

Turn robot left

Stop robot

Turn robot rightDrive forward

Yes

No

NoNo

Yes Yes Yes

Page 5: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Development Environment

• Hardware Development Board– The development board chosen is the

Pandaboard ES.– 1.2GHz Dual core Arm 9 processor, SGX540 graphics core which supporting all major API's.– 1GB RAM, Adequate memory.

Page 6: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Development Enviroment

• Logitech 330 HD webcam being used for camera.

• Operating System– The OS chosen for this project is Ubuntu OMAP4. – TI kernel for the Pandaboard ES.– Support for OpenCV .– Driver support for camera’s (v4l) and arduino.

Page 7: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Development Environment

• Robot– To control the robot I have decided to use an Arduino for the sole control of the robot.– Dual motor driver from Pololu with two

MC332926 chips has been chosen as the motor driver.– Dagu Rover 5 is used for the robot chassis.

Page 8: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Progress To Date

• Pandaboard And Ubuntu Issues– Difficult integration of Ubuntu OS and the

Pandaboard.– TI kernel ondemand issue with clock solved.– Boot.script issue with RAM solved.

Page 9: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Progress To Date

• Application– Finds red circular objects in an image.– Elliptic Morphological kernel used to manipulate

image to find circular objects.– CvBlobs library used to extract circular objects

which are then stored in arrays.– Kalman filter used for tracking the object based on

centre point of object. noise and other external factors need to be taken into account.

Page 10: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Progress To Date

• Yellow x is the predicted centre of the object.• Blue square is the bounding box drawn by

CvBlobs library.

• The Memory used is small (Just 15 – 25 MB).

Page 11: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Progress To Date

• Robot & Arduino– Robot is not working.– Simple code developed for Arduino to control

the robot.– PWM generated depending on character

received over USB serial.

Page 12: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Future Plans

• Once a new motor driver is gotten the entire robot will be set up (excluding arm).

• Possible change in motor driver. Dagu provide a driver with 4 channels.• Simple starting application to calibrate the robot.• Integrate current Application on Pandaboard with Arduino and chassis and check calibration.

Page 13: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each

Future Plans

• Get a robotic arm and integrate into application. (Dagu - 2DOF Arm with Gripper and Servos) • Develop an algorithm to convert 2D image co-

ordinates to real world co-ordinates. • Translate the real world co-ordinates into robotic

arm commands and chassis movement.

Page 14: Camera Aided Robot Progress Report. AIM? Develop a camera guided robot. Has to be able to detect red circular objects and the object position in each