VCC4cmddef.H

Go to the documentation of this file.
00001 /*!@file Devices/VCC4cmddef.H  command definitions for the Canon VC-C4 camera */
00002 
00003 // //////////////////////////////////////////////////////////////////// //
00004 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2001 by the //
00005 // University of Southern California (USC) and the iLab at USC.         //
00006 // See http://iLab.usc.edu for information about this project.          //
00007 // //////////////////////////////////////////////////////////////////// //
00008 // Major portions of the iLab Neuromorphic Vision Toolkit are protected //
00009 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency //
00010 // in Visual Environments, and Applications'' by Christof Koch and      //
00011 // Laurent Itti, California Institute of Technology, 2001 (patent       //
00012 // pending; application number 09/912,225 filed July 23, 2001; see      //
00013 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status).     //
00014 // //////////////////////////////////////////////////////////////////// //
00015 // This file is part of the iLab Neuromorphic Vision C++ Toolkit.       //
00016 //                                                                      //
00017 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can   //
00018 // redistribute it and/or modify it under the terms of the GNU General  //
00019 // Public License as published by the Free Software Foundation; either  //
00020 // version 2 of the License, or (at your option) any later version.     //
00021 //                                                                      //
00022 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope  //
00023 // that it will be useful, but WITHOUT ANY WARRANTY; without even the   //
00024 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //
00025 // PURPOSE.  See the GNU General Public License for more details.       //
00026 //                                                                      //
00027 // You should have received a copy of the GNU General Public License    //
00028 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write   //
00029 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,   //
00030 // Boston, MA 02111-1307 USA.                                           //
00031 // //////////////////////////////////////////////////////////////////// //
00032 //
00033 // Primary maintainer for this file: Dirk Walther <walther@caltech.edu>
00034 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Devices/VCC4cmddef.H $
00035 // $Id: VCC4cmddef.H 9308 2008-02-22 19:04:41Z rjpeters $
00036 //
00037 
00038 #ifndef __VCC4CMDDEF_H__
00039 #define __VCC4CMDDEF_H__
00040 
00041 #define VCC4_SetCameraPowerOFF                2   //
00042 #define VCC4_SetCameraPowerON                     3
00043 #define VCC4_SetFocusModeAF                        4
00044 #define VCC4_SetFocusModeMANUAL                5
00045 #define VCC4_SetFocusModeNEAR                6
00046 #define VCC4_SetFocusModeFAR                7
00047 #define VCC4_SetFocusPosition                8
00048 #define VCC4_GetFoucsPosition                9
00049 #define VCC4_SetOnePushAF                        10
00050 #define VCC4_SetZoomingSTOP                        11
00051 #define VCC4_SetZoomingWIDE                        12
00052 #define VCC4_SetZoomingTELE                        13
00053 #define VCC4_SetZoomingHIWIDE                14
00054 #define VCC4_SetZoomingHITELE                15
00055 #define VCC4_SetZoomPosition2                16
00056 #define VCC4_GetZoomPosition2                17
00057 #define VCC4_SetZoomPosition4                18
00058 #define VCC4_GetZoomPosition4                19
00059 #define VCC4_SetZoomSpeed                        20
00060 #define VCC4_GetZoomSpeed                        21
00061 #define VCC4_SetBackLightOFF                22
00062 #define VCC4_SetBackLightON                        23
00063 #define VCC4_SetExposedAUTO                        24
00064 #define VCC4_SetExposedMANUAL                25
00065 #define VCC4_SetShutterSpeedPRO                26
00066 #define VCC4_SetShutterSpeed3                28
00067 #define VCC4_SetShutterSpeed60                29
00068 #define VCC4_SetShutterSpeed100                30
00069 #define VCC4_SetAGCGain                                31
00070 #define VCC4_GetAGCGain                                32
00071 #define VCC4_SetIris                                33
00072 #define VCC4_GetIris                                34
00073 #define VCC4_SetAEVal                                35
00074 #define VCC4_GetAEVal                                36
00075 #define VCC4_SetGainSel                                37    // undocumented command
00076 #define VCC4_GetGainSel                                38    // undocumented command
00077 #define VCC4_SetWhiteBalance2                39
00078 #define VCC4_SetWhiteBalance3                40
00079 #define VCC4_SetWhiteBalance4                41
00080 #define VCC4_GetWhiteBalance                42
00081 #define VCC4_SetFading                                44
00082 #define VCC4_WhiteFade                                45
00083 #define VCC4_HiSpeedWhiteFade                46
00084 #define VCC4_HiSpeedBlackFade                47
00085 #define VCC4_CameraReset                        48
00086 #define VCC4_GetZoomRatio                        49
00087 #define VCC4_GetCCDSize                                50
00088 #define VCC4_GetZoomMax                                53
00089 #define VCC4_GetCameraVersion                57
00090 #define VCC4_GetEEPROMVersion                58
00091 #define VCC4_SetMotorSpeedPAN                59
00092 #define VCC4_SetMotorSpeedTILT                60
00093 #define VCC4_GetMotorSpeedPAN                61
00094 #define VCC4_GetMotorSpeedTILT                62
00095 #define VCC4_SetPanTilt1                        63
00096 #define VCC4_SetPanTilt2                        64
00097 #define VCC4_SetPanTilt3                        65
00098 #define VCC4_SetPanTilt4                        66
00099 #define VCC4_SetPanTilt5                        67
00100 #define VCC4_GoHome                                        69
00101 #define VCC4_PTinit1                                70
00102 #define VCC4_PTinit2                                71
00103 #define VCC4_GetPanMoter0                        72
00104 #define VCC4_GetPanMoter1                        73
00105 #define VCC4_GetTiltMotor0                        74
00106 #define VCC4_GetTiltMotor1                        75
00107 #define VCC4_GetPanGRatio                        76
00108 #define VCC4_GetMotorSpeed                        77
00109 #define VCC4_GetAngleRatio                        78
00110 #define VCC4_GetAngleRatio2                        79
00111 #define VCC4_GetAngleRatio0                        80
00112 #define VCC4_GetAngleRatio1                        81
00113 #define VCC4_PTStop                                        82
00114 #define VCC4_TiltUp                                        83
00115 #define VCC4_TiltDown                                84
00116 #define VCC4_PanRigth                                85
00117 #define VCC4_PanLeft                                86
00118 #define VCC4_PanRightTiltUP                        87
00119 #define VCC4_PanRightTiltDOWN                88
00120 #define VCC4_PanLeftTiltUP                        89
00121 #define VCC4_PanLeftTiltDOWN                90
00122 #define VCC4_SetPTAngle2                        92
00123 #define VCC4_GetPTAngle2                        93
00124 #define VCC4_SetPTAngle0                        94
00125 #define VCC4_SetPTAngle1                        95
00126 #define VCC4_GetPTAngle0                        96
00127 #define VCC4_GetPTAngle1                        97
00128 #define VCC4_SerRCON                                102
00129 #define VCC4_SetRCOFF                                103
00130 #define VCC4_GetStatus                                104
00131 #define VCC4_GetUnitName                        106
00132 #define VCC4_GetRomVersion                        107
00133 #define VCC4_SetPresetMemory                108
00134 #define VCC4_MovePreset                                109
00135 #define VCC4_GetPresetStatus                110
00136 #define VCC4_RemoteCommandPass0                113
00137 #define VCC4_RemoteCommandPassN                114
00138 #define VCC4_SetCascadeON                        118
00139 #define VCC4_SetCascadeOFF                        119
00140 #define VCC4_EnterHostMode                        120
00141 #define VCC4_EnterLocalMode                        121
00142 #define VCC4_SetScreenOFF                        122
00143 #define VCC4_SetScreenON                        123
00144 #define VCC4_ScreenTitleOFF                        124
00145 #define VCC4_ScreenTitleON                        125
00146 #define VCC4_SetTimeMode0                        126
00147 #define VCC4_SetTimeMode1                        127
00148 #define VCC4_SetTimeMode2                        128
00149 #define VCC4_SetDateMode0                        129
00150 #define VCC4_SetDateMode1                        130
00151 #define VCC4_SetDateMode2                        131
00152 #define VCC4_SetTitleString                        132
00153 #define VCC4_GetTitleString                        133
00154 #define VCC4_SetDate                                134
00155 #define VCC4_GetDate                                135
00156 #define VCC4_SetTime                                136
00157 #define VCC4_GetTime                                137
00158 #define VCC4_GetCameraOnTime                138
00159 #define VCC4_GetPedestalOnTime                139
00160 #define VCC4_DefaultReset                        140
00161 #define VCC4_GetExtMove                                147
00162 #define VCC4_GetExtPreset                        148
00163 #define VCC4_SpecifyShutterSpeed        149
00164 #define VCC4_SetWhiteBalance0                150
00165 #define VCC4_SetWhiteBalance1                151
00166 #define VCC4_GetFocusRange                        152
00167 #define VCC4_SetNotifyOFF                        155
00168 #define VCC4_SetNotifyON                        156
00169 #define VCC4_SetGlobalNotifyOFF                157
00170 #define VCC4_SetGlobalNotifyON                158
00171 #define VCC4_SetAELockOFF                        159
00172 #define VCC4_SetAELockON                        160
00173 #define VCC4_SetLedNormal                        164
00174 #define VCC4_SetLedGreenOn                        165
00175 #define VCC4_SetLedAllOff                        166
00176 #define VCC4_SetLedRedOn                        167
00177 #define VCC4_SetLedOrangeOn                        168
00178 #define VCC4_GetPedestalModel                170
00179 #define VCC4_GetCameraModel                        171
00180 
00181 #define VCC4_CMDMAX 139
00182 
00183 struct VCC4CMD {
00184   int cmdno;                      // command id number
00185   int cmdtyp;                     // command type:
00186                                   // 0 = no need to embed value
00187                                   // 1 = embed absolut number
00188                                   // 2 = embed angle. i.e. offset of 8000h
00189                                   // 3 = embed string, date or time
00190   int cmdlen;                     // command string length (FF to EF)
00191   int cmdparamlen;                // length of embeded parameter section
00192   int cmdparamstart;              // first byte position for paramaters
00193   char cmdstr[30];                // VCC4 command string
00194 } ;
00195 
00196 #endif
00197 
00198 // ######################################################################
00199 /* So things look consistent in everyone's emacs... */
00200 /* Local Variables: */
00201 /* indent-tabs-mode: nil */
00202 /* End: */
Generated on Sun May 8 08:40:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3