Update of /cvsroot/playerstage/code/player/server/drivers/shell
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12328

Modified Files:
        dummy.cc 
Log Message:
Added support for PTZ in dummy.


Index: dummy.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/shell/dummy.cc,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** dummy.cc    12 Apr 2006 13:33:31 -0000      1.16
--- dummy.cc    5 Jul 2006 16:24:15 -0000       1.17
***************
*** 41,45 ****
  
  - This driver can support any interface (currently supported are: laser, 
camera,
!   position2d, and wsn).
  
  @par Requires
--- 41,45 ----
  
  - This driver can support any interface (currently supported are: laser, 
camera,
!   position2d, ptz, and wsn).
  
  @par Requires
***************
*** 278,281 ****
--- 278,294 ----
                  break;
              }
+             case PLAYER_PTZ_CODE:
+             {
+                 player_ptz_data_t data;
+                 data.pan  = 1.0;
+                 data.tilt = 1.0;
+                 data.zoom = 1.0;
+                 data.panspeed  = 1.0;
+                 data.tiltspeed = 1.0;
+                 Publish (device_addr, NULL, PLAYER_MSGTYPE_DATA, 
+                          PLAYER_PTZ_DATA_STATE, (void*)&data, 
+                          sizeof (data), NULL);
+                 break;
+             }
              case PLAYER_WSN_CODE:
              {


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