PTZ Robotic Camera Software

Your PTZ Robotic Camera assemblies with software support for controlling the pan, tilt, and zoom features of the camera through your ActivMedia robot’s operating system, such as P2OS and AROS. In addition, we provide C- and C++-language-based libraries and source code for integration of the PTZ Robotic Camera with your client applications.

Server-Level Communications
When install to auxiliary serial port of your robot’s microcontroller, integrated control of the PTZ Robotic Camera happens through the client-connected HOST serial control port. If you want to communicate with the camera directly through those ports at the lowest client-server level, use the AROS/P2OS TTY2 command #42 with a string argument to have that string sent out the AUX(1) port of the controller to the attached serial device, namely the PTZ camera. Similarly, use the AROS-only TTY3 command #66 to send a string argument to the AUX2 port, if the camera is attached there.

AROS and P2OS also maintain circular buffers for incoming serial data from its AUX(1) or AUX2 serial ports. On request, AROS/P2OS sends successive portions of the buffers to your client via the HOST port in the respective SERAUXpac (type = 176; 0xB0) and SERAUX2pac (type = 184; 0xB8) SIPs. Use the GETAUX command 43 for AUX1 or GETAUX2 command number 67 for AUX2. Use the integer argument value of zero to flush the contents of the respective buffer. Use an argument value of up to 253 bytes to have AROS wait to collect the requested number of incoming AUX-port serial bytes and them send them in the respective SERAUXpac or SERAUX2pac SIP.

Search for the ActivMedia Robotics’ OS details of client command packet contents and protocols in your robot’s user guide or technical reference. Camera-specific commands are found in their respective programmer’s manuals. Search for software on the CD-ROM and documentation that came with your robot.

No comments:

Post a Comment