Pulnix TMC-7DSP Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Kamery ochrony Pulnix TMC-7DSP. usu-csois-tr-05-01 - Utah State University [en] Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 32
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Real Time Computer Vision Development
for a 2-DOF Gimbal Application
Sakari Kettunen
Center for Self-Organizing and Intelligent Systems (CSOIS)
Department of Electrical and Computer Engineering
College of Engineering, Utah State Universtiy
4160 Old Main Hill, Logan Utah 84322-4160, USA
Web: http://www.csois.usu.edu/
Jan 24th 2005
Technical Report No. : USU-CSOIS-TR-05-01
Reports are available from http://mechatronics.ece.usu.edu/reports/
Przeglądanie stron 0
1 2 3 4 5 6 ... 31 32

Podsumowanie treści

Strona 1

Real Time Computer Vision Development for a 2-DOF Gimbal Application Sakari Kettunen Center for Self-Organizing and In

Strona 2

9Controlling Gimbal The third part of the project was to integrate image acquisition system and gimbal controlling system in to one computer. Until n

Strona 3 - Introduction

10 Figure 3 'Homef.mdl' - Home point search Simulink model ‘Homef.mdl’ [2] was used to find the home position of Gimbal. That is, the zero

Strona 4 - The goal of the project

11 ‘Point.mdl’[2] can be used for finding the starting point of the curve. Both axes will move straight to the desired angle (x_deg, y_deg). Simulati

Strona 5

12Kuva 1 Subsystem 'selected input signal' from 'Model.mdl' Math-file ‘ILCprocess.m’ To test and demonstrate the working of the s

Strona 6 - Image acquisition program

13F:/Sakari/gimbal_interface/ Folder ‘Gimbal’ includes only the necessary files for the project; the other folder is a working folder with extra fil

Strona 7 - Problems during programming

14Conclusions The reason why I run out of time with this project, and was not able to implement the ILC process can be blamed on two reasons: first,

Strona 8 - Saving the path

15Bibliography [1] The MathWorks - Support - MEX-files Guide http://www.mathworks.com/support/tech-notes/1600/1605.html [2] Mohua Ghosh, Master’s T

Strona 9 - Using ‘savePath.m’

16Appendix I ‘FrameCapt.h’ /* This program is based on a sample program called "acq2host.c"/"acq2host.h" produced by Data

Strona 10 - Controlling Gimbal

17/* by the current device */ typedef struct tagDEVCAPS { BOOL DoesInputFilter

Strona 11

18 OLT_LNG_RANGE TopRange; OLT_LNG_RANGE WidthRange; OLT_LNG_RANGE HeightRange; OLT_LNG_RANGE HorizontalIncRange;

Strona 12

1 Table of Contents Introduction...

Strona 13 - Math-file ‘ILCprocess.m’

19 DT3157_SYNC_CTL_HPULSE_WIDTH = 0x0003, DT3157_SYNC_CTL_VPULSE_WIDTH = 0x0004, DT3157_SYNC_CTL_PHASE = 0x0005 } DT3157_SYNC_CON

Strona 14

20BOOL PRIVATE InitInstance(HINSTANCE, int); LPARAM CALLBACK __export MainWndProc(HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK __export About(HWND, UIN

Strona 15 - Conclusions

21BOOL CALLBACK __export VideoAreaProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); void PRIVATE InitVideoAreaDlg(HWND hDlg, LPVIDEOAREAIN

Strona 16 - Bibliography

22Appendix II ‘FrameCapt.c’ /* This program is based on a sample program called "acq2host.c"/"acq2host.h" produced by Dat

Strona 17 - Appendix I

23 char *array; /* The gateway routine */ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const i

Strona 18

24 if(!memcpy(start_of_pr, hpAcquireBuf, bytes_to_copy)) { GlobalUnlock(hpAcquireBuf); GlobalFree(hAcquireBuf); OlFgDestroyFrame( Cu

Strona 19

25 /* Allocate space for info */ hDevInfoList = GlobalAlloc(GHND, iCount * sizeof(OLT_IMGDEVINFO)); if ( !hDevInfoList ) { FI

Strona 20

26 /* Try to open the device */ Status = OlImgOpenDevice(lpcszAlias, &DevId); if ( ! OlImgIsOkay( Status ) ) { mexPrintf("

Strona 21

27 /* Function: AcquireToHost */ BOOL AcquireToHost() { OLT_APISTATUS Status = 0L; ULNG ulPixelDepth = 0L; ULNG ulMinBufSize = 0L

Strona 22

28 FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, dw, MAKELANGID(LANG_NE

Strona 23 - Appendix II

2Introduction This document is about the project that I made for the Center of Self Organizing and Intelligent Systems (CSOIS), Utah State University

Strona 24

29Appendix III ‘ILCprocess.m’ clear; k = 0; while(k < 3) %starting point search model name: mn = 'point'; FrameCapt; %I

Strona 25

30 %%%%%%%%%%%%%%%%%%%%%%% % The actual curve: % --------------------------------------- %%%%%%%%%%%%%%%%%%%%%%% pause(2);

Strona 26

31 wc_stop('homef'); %pause(1); k = k + 1; end FrameCapt(1); %Close camera

Strona 27

3The goal of the project The Gimbal is a 2 DOF rotating robot. It consists of a vertically rotating shaft extending into a fork and another shaft pla

Strona 28

4Because of the limited time I had in use and the troubles I had with the system during the project I was not able to implement Iterative Learning Co

Strona 29

5Image acquisition program The first part of the project was to create a program, which grabs a frame from digital camera (Pulnix TMC-7DSP connected

Strona 30 - Appendix III

6NOTE! You have to wait a while (>0.5 seconds) after the camera initialization before you acquire the image. Otherwise the picture will contain er

Strona 31

7Saving the path The second part of the project was to create a program (MatLab m-file) which saves the curve that the laser pointer draws in the pap

Strona 32

8from the file ‘ILCprocess.m’. Sorry about that! Those lines are remains of earlier versions of the function. Read more about the file ‘ILCprocess.m’

Komentarze do niniejszej Instrukcji

Brak uwag