Pulnix TMC-7DSP Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Sicherheitskameras Pulnix TMC-7DSP herunter. usu-csois-tr-05-01 - Utah State University [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 32
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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/
Seitenansicht 0
1 2 3 4 5 6 ... 31 32

Inhaltsverzeichnis

Seite 1

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

Seite 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

Seite 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

Seite 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

Seite 5

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

Seite 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

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

Seite 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

Seite 9 - Using ‘savePath.m’

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

Seite 10 - Controlling Gimbal

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

Seite 11

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

Seite 12

1 Table of Contents Introduction...

Seite 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

Seite 14

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

Seite 15 - Conclusions

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

Seite 16 - Bibliography

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

Seite 17 - Appendix I

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

Seite 18

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

Seite 19

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

Seite 20

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

Seite 21

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

Seite 22

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

Seite 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

Seite 24

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

Seite 25

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

Seite 26

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

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

Kommentare zu diesen Handbüchern

Keine Kommentare