Vision System for Industrial Robots

2. First steps with Colibri T20
Update #10120  |  23 Oct 2014

OpenEmbedded configuration and first program

 After completing the task of selection devices, it's time for the first steps with Colibri T20.

I decided on the Linux operating system because it has great configuration possibilities with hundreds of packages, and due to full support for QT and OpenCV.

In order to create SDK and packages for future development I began work on setting up OpenEmbedded on my developer machine. With a great article [1] posted on the Toradex work on the configuration cause me not so much problems as it could. And after a day of work I had already created hundreds of packages for future operating system update and the necessary toolchain [2].

I wrote the following program and after compiling with created toolchain I can move binary file to the target platform but first I need to flash Linux on target.

Code of simple C++ program made for first test on Colibri T20

Flashing Linux and result of first boot

I am using  [3] LinuxImageV2.3Beta1_20140804. For the function of QT and OpenCV in the future I will copy the compiled libraries and install the required packages instead of creating new image.

Flashing image went very smoothly and without any problems. And after few moments I saw starting desktop screen. The first thing I did was change the resolution and familiarize yourself with the system. Colibri T20 offers a very high resolution so that I could fully use the quality offered by the monitor. Keyboard and mouse set Microsoft Sculpt also works without any problems.

Picture of the system with a view of the newly launched operating system


I moved binary file using micro SD memory card. And here is the result of a running program on target:


Result of runing compiled program