This thesis discusses the operation of Pixy digital camera, and demonstrates
the possibility of calculating the distance between the camera and the object,
based on the data the camera displays. The main chapters deal with robot
programming where function blocks connected with the camera are described
by using Lego Mindstorms EV3 Home Edition software environment.
The function block for the PID controller has also been described, along with
the calculation of its parameters that regulate the Lego motors.
In the empirical part of the thesis, Pixy camera operation has been tested in practice.
The camera was attached to a robot built from a Lego Mindstorms kit, and the
predator—prey hunt has been simulated. The program was developed in
Lego Mindstorms EV3 Home Edition software environment, although
the possibility of a code-based solution written in Robotc has also been
demonstrated.
|