Pioneer-Users
Date Index
Thread Index
camera shutter speed
- To: XXXXXXXX
- Subject: camera shutter speed
- From: Markman Raz <XXXXXXXX>
- Date: Tue, 11 Aug 1998 20:03:33 +0300 (IDT)
- Reply-To: Markman Raz <XXXXXXXX>
- Resent-Date: Tue, 11 Aug 1998 13:10:58 -0400
- Resent-From: XXXXXXXX
- Resent-Message-ID: <"RirA91.0.d-3.7d7qr"@css.mobilerobots.com>
- Resent-Sender: XXXXXXXX
Hi,
I want to set the shutter-speed of "Sony Pan-Tilt-Zoom camera" ,therefore I
added to ptzsys.c the next lines:
/* set the shutter speed: command string - 81 01 04 4A 0z 0z 0z 0z ff,
where zzzz = 0000 is the minimum speed (1/60 sec.)
and zzzz = 001B is the maximum speed (1/10000 sec.) */
static unsigned char shutterb[9] = { 0x81, 0x01, 0x04, 0x4A, 0x00, 0x00,
0x00, 0x00, 0xff };
EXPORT void
sfPTZCamShutter(void) {
sfRobotComStrn( sfCOMPTZCAM, shutterb, 9 );
/*sfCOMPTZCAM : the PSOS command number for PTZ camera-directed
commands.
shutterb(str) : the PTZ camera command string.
9(slen): the length of the command string. */
sfMessage( "PTZ camera shutter set . . ." );
}
and later ,in the sfLoadInit section:
sfAddEvalFn( "sfPTZCamShutter", sfPTZCamShutter, sfVoid, 0);
I remaked ptzsys.dll and added to ptzdemo.act the lines:
sfPTZCamShutter( );
wait 20;
Finally , I tried to run ptzdemo.act with many shutter-speeds. I didn't
notice any particular difference.
Have I done any mistake ?
Bye, Raz.