Update of /cvsroot/playerstage/code/player/libplayercore
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5263/libplayercore

Modified Files:
        player.h 
Log Message:
applied Radu's camera patch for SR3K driver

Index: player.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/libplayercore/player.h,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** player.h    8 Nov 2006 18:21:28 -0000       1.120
--- player.h    13 Nov 2006 18:03:13 -0000      1.121
***************
*** 1626,1629 ****
--- 1626,1649 ----
  #define PLAYER_CAMERA_COMPRESS_JPEG 1
  
+ /** Request/reply subtype: set auto-illumination                          */
+ #define PLAYER_CAMERA_REQ_SET_AUTOILLUMINATION     1
+ /** Request/reply subtype: set modulation frequency                       */
+ #define PLAYER_CAMERA_REQ_SET_MODULATION_FREQ      2
+ /** Request/reply subtype: get modulation frequency                       */
+ #define PLAYER_CAMERA_REQ_GET_MODULATION_FREQ      3
+ /** Request/reply subtype: set integration time                           */
+ #define PLAYER_CAMERA_REQ_SET_INTEGRATION_TIME     4
+ /** Request/reply subtype: get integration time                           */
+ #define PLAYER_CAMERA_REQ_GET_INTEGRATION_TIME     5
+ /** Request/reply subtype: set threshold (eg. saturation, amplitude, etc) */
+ #define PLAYER_CAMERA_REQ_SET_THRESHOLD            6
+ /** Request/reply subtype: set IIR                                        */
+ #define PLAYER_CAMERA_REQ_SET_TEMPORAL_IIR         7
+ 
+ /** Threshold subtype: set saturation threshold */
+ #define PLAYER_CAMERA_REQ_SET_SATURATION_THRESHOLD 1
+ /** Threshold subtype: set amplitude threshold  */
+ #define PLAYER_CAMERA_REQ_SET_AMPLITUDE_THRESHOLD  2
+ 
  /** @brief Data: state (@ref PLAYER_CAMERA_DATA_STATE) */
  typedef struct player_camera_data
***************
*** 1652,1655 ****
--- 1672,1744 ----
  } player_camera_data_t;
  
+ /** @brief Request: Set the auto-illumination option on/off.
+ 
+ Send a @ref PLAYER_CAMERA_REQ_SET_AUTOILLUMINATION request to turn the 
+ auto-illumination option on/off. Null response. */
+ typedef struct player_camera_autoillumination_config
+ {
+     /** Auto-illumination setting: 0=off, 1=on */
+     uint8_t value;
+ } player_camera_autoillumination_config_t;
+ 
+ /** @brief Request/reply: Set/Get the modulation frequency.
+ 
+ The modulation frequency can be set using the @ref 
+ PLAYER_CAMERA_REQ_SET_MODULATION_FREQ request (response will be null), and 
queried
+ using a null @ref PLAYER_CAMERA_REQ_GET_MODULATION_FREQ request. */
+ typedef struct player_camera_modulation_freq_config
+ {
+     /** Modulation frequency setting. Note: The SwissRanger SR3000 employs 
the 
+        following values: 
+       40MHz  -> 3.75 m, 
+       30MHz  -> 5.0  m, 
+       21MHz  -> 7.1  m, 
+       20MHz  -> 7.5  m,
+       19MHz  -> 7.9  m,
+       10MHz  -> 15.0 m,
+       6.6MHz -> 22.5 m,
+       5MHz   -> 30.0 m.
+      */
+     uint8_t value;
+ } player_camera_modulation_freq_config_t;
+ 
+ /** @brief Request/reply: Set/Get the integration time.
+ 
+ The integration time can be set using the @ref
+ PLAYER_CAMERA_REQ_SET_INTEGRATION_TIME request (response will be null), and
+ queried using a null @ref PLAYER_CAMERA_REQ_GET_INTEGRATION_TIME request. */
+ typedef struct player_camera_integration_time_config {
+ 
+     /** Integration time setting: 0-255. */
+     uint8_t value;
+ } player_camera_integration_time_config_t;
+ 
+ /** @brief Request: Set various thresholds (such as amplitude or saturation).
+ 
+ Send a @ref PLAYER_CAMERA_REQ_SET_THRESHOLD request, together with a subtype
+ (@ref PLAYER_CAMERA_REQ_SET_SATURATION_THRESHOLD for saturaton or @ref
+ PLAYER_CAMERA_REQ_SET_AMPLITUDE_THRESHOLD for amplitude) to set threshold
+ values on the device. Null response. */
+ typedef struct player_camera_threshold_config
+ {
+     /** Threshold subtype */
+     uint8_t subtype;
+     /** Threshold value */
+     uint32_t value;
+ } player_camera_threshold_config_t;
+ 
+ /** @brief Request: Set the IIR values.
+ 
+ Send a @ref PLAYER_CAMERA_REQ_SET_TEMPORAL_IIR request to change the
+ temporal IIR values of the camera (where implemented). Null response. */
+ typedef struct player_camera_iir_config
+ {
+     /** static_delay value: 0.0-1.0. */
+     float static_delay;
+     /** dynamic_delay value: 0.0-1.0. */
+     float dynamic_delay;
+ } player_camera_iir_config_t;
+ 
+ 
  /** @} */
  


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to