Changeset 422

Show
Ignore:
Timestamp:
02/17/07 22:00:31 (2 years ago)
Author:
goodea
Message:

organize

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/cmucam2/cmucam2.c

    r420 r422  
    769769{ 
    770770  cmucam2_cmds[RETURN] = "**"; 
     771 
     772  /* Buffer Commands */ 
     773  //  BM buffer mode 
     774  //  RF read frame 
     775 
     776  /* Camera Module Commands */ 
     777  cmucam2_cmds[CAMERA_REG] = "CR"; 
     778  //  CP camera power 
     779  //  CT camera type 
     780 
     781  /* Data Rate Commands */ 
     782  //  DM delay mode 
     783  cmucam2_cmds[POLL_MODE] = "PM"; 
     784  //  PS packet skip 
     785  //  RM raw mode 
     786  //  PF packet filter 
     787  //  OM output packet mask 
     788 
     789  /* Servo Commands */ 
     790  cmucam2_cmds[SET_SERVO] = "SV"; 
     791  //  SP servo parameters 
     792  //  GP get servo position 
     793  //  SM servo mask 
     794  //  SO servo output 
     795 
     796  /* Image Windowing Commands */ 
     797  cmucam2_cmds[SEND_FRAME] = "SF"; 
     798  cmucam2_cmds[DOWN_SAMPLE] = "DS"; 
     799  cmucam2_cmds[VIRTUAL_WINDOW] = "VW"; 
     800  //  FS frame stream 
     801  cmucam2_cmds[HI_RES] = "HR"; 
     802  cmucam2_cmds[GET_WINDOW] = "GW"; 
     803  //  PD pixel difference 
     804 
     805  /* Auxiliary I/O Commands */ 
     806  //  GB get button 
     807  //  GI get auxiliary I/O 
     808  cmucam2_cmds[LED_0] = "L0"; 
     809  //  L1 LED control 
     810 
     811  /* Color Tracking Commands */ 
     812  cmucam2_cmds[TRACK_COLOR] = "TC"; 
     813  cmucam2_cmds[TRACK_INVERT] = "TI"; 
     814  cmucam2_cmds[TRACK_WINDOW] = "TW"; 
     815  cmucam2_cmds[NOISE_FILTER] = "NF"; 
     816  cmucam2_cmds[LINE_MODE] = "LM"; 
     817  cmucam2_cmds[GET_TRACK] = "GT"; 
     818  //  ST set tracking parameters 
     819 
     820  /* Histogram Commands */ 
     821  cmucam2_cmds[GET_HISTOGRAM] = "GH"; 
     822  //  HC histogram config 
     823  //  HT histogram track 
     824 
     825  /* Frame Differencing Commands */ 
     826  cmucam2_cmds[FRAME_DIFF] = "FD"; 
     827  //  DC difference channel 
     828  //  LF load frame 
     829  //  MD mask difference 
     830  //  UD upload difference 
     831  //  HD hires difference 
     832 
     833  /* Color Statistics Commands */ 
     834  cmucam2_cmds[GET_MEAN] = "GM"; 
     835 
     836  /* System Level Commands */ 
     837  //  SD sleep deeply 
     838  //  SL sleep 
    771839  cmucam2_cmds[RESET] = "RS"; 
    772   cmucam2_cmds[TRACK_COLOR] = "TC"; 
    773   cmucam2_cmds[SEND_FRAME] = "SF"; 
    774   cmucam2_cmds[HI_RES] = "HR"; 
    775   cmucam2_cmds[FRAME_DIFF] = "FD"; 
    776840  cmucam2_cmds[GET_VERSION] = "GV"; 
    777   cmucam2_cmds[CAMERA_REG] = "CR"; 
    778   cmucam2_cmds[POLL_MODE] = "PM"; 
    779   cmucam2_cmds[GET_MEAN] = "GM"; 
    780   cmucam2_cmds[SET_SERVO] = "SV"; 
    781   cmucam2_cmds[VIRTUAL_WINDOW] = "VW"; 
    782   cmucam2_cmds[DOWN_SAMPLE] = "DS"; 
    783   cmucam2_cmds[LINE_MODE] = "LM"; 
     841 
     842  /* CMUcam3 New Commands */ 
    784843  cmucam2_cmds[SEND_JPEG] = "SJ"; 
    785844  cmucam2_cmds[GET_POLLY] = "GP"; 
    786   cmucam2_cmds[TRACK_WINDOW] = "TW"; 
    787   cmucam2_cmds[GET_WINDOW] = "GW"; 
    788   cmucam2_cmds[NOISE_FILTER] = "NF"; 
    789   cmucam2_cmds[GET_TRACK] = "GT"; 
    790   cmucam2_cmds[GET_HISTOGRAM] = "GH"; 
    791   cmucam2_cmds[LED_0] = "L0"; 
    792   cmucam2_cmds[TRACK_INVERT] = "TI"; 
    793845} 
    794846