Pulnix TMC-7DSP Manuale Utente

Navigare online o scaricare Manuale Utente per Telecamere di sicurezza Pulnix TMC-7DSP. usu-csois-tr-05-01 - Utah State University [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 32
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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/
Vedere la pagina 0
1 2 3 4 5 6 ... 31 32

Sommario

Pagina 1

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

Pagina 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

Pagina 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

Pagina 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

Pagina 5

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

Pagina 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

Pagina 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,

Pagina 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

Pagina 9 - Using ‘savePath.m’

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

Pagina 10 - Controlling Gimbal

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

Pagina 11

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

Pagina 12

1 Table of Contents Introduction...

Pagina 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

Pagina 14

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

Pagina 15 - Conclusions

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

Pagina 16 - Bibliography

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

Pagina 17 - Appendix I

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

Pagina 18

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

Pagina 19

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

Pagina 20

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

Pagina 21

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

Pagina 22

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

Pagina 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

Pagina 24

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

Pagina 25

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

Pagina 26

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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’

Commenti su questo manuale

Nessun commento