Update of /cvsroot/playerstage/code/player/server/drivers/ptz
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4102
Modified Files:
sonyevid30.cc
Log Message:
manually applied patch
[ 1358609 ] sonyevid30: d70 support and velocity control
patch was slightly out of date so please report any merge issues
Index: sonyevid30.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/ptz/sonyevid30.cc,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** sonyevid30.cc 20 Mar 2007 05:54:05 -0000 1.25
--- sonyevid30.cc 9 Jun 2007 02:19:36 -0000 1.26
***************
*** 32,37 ****
* @brief Sony EVI-D30 and EVI-D100 pan-tilt-zoom cameras
! The sonyevid30 driver provides control of a Sony EVI-D30 and Sony EVI-D100
! pan-tilt-zoom camera units.
The sonyevid30 driver operates over a direct serial link, not
--- 32,37 ----
* @brief Sony EVI-D30 and EVI-D100 pan-tilt-zoom cameras
! The sonyevid30 driver provides control of a Sony EVI-D30, Sony EVI-D70 or Sony
[...1445 lines suppressed...]
+
+ // this function will be run in a separate thread
+ void SonyEVID30::Main()
+ {
+ while (1) {
+ player_ptz_data_t data;
+
+ // Process incoming requests
+ pthread_testcancel();
+ ProcessMessages();
+ pthread_testcancel();
+
+
+ // Update the ptz state
+ if (UpdateState(data))
+ {
+ pthread_exit(NULL);
+ }
/* test if we are supposed to cancel */
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit