PTZ Controller

Post any examples or modules that you want to share here
Post Reply
User avatar
lalocar
Posts: 5
Joined: Tue Dec 15, 2020 1:19 pm

PTZ Controller

Post by lalocar »

This small application for Visca by IP-UDP arose out of necessity, where I work, a broadcasting
company, several Sony BRCH-900 video cameras with their RM-IP10 controller were being used,
they were going to be taken to an event outside from the country.
At the same time in another local event another camera was required, we did not have another
controller, they were all in use, and well, “let's try Flowstone”, after a week, it was already solved.
I read in the forum, that some users had problems with the Visca protocol, I'm not saying that it
was easy, without having experience in it, but I got a good result thanks to Wireshark and PacketSender.

Capture_Lite 300.png
Capture_Lite 300.png (40.37 KiB) Viewed 85792 times


Of course I used resources from other users, which saved me time, so I wanted to share it as a
reward.
There is only one thing I couldn't figure out, and if anyone knows please share, I can't get the
response from the server. When the camera connects, I send an "inquiring" command and I get
nothing, so I can't know its status, although using Wireshark I see the response, but not in the
client primitive.
Now I am developing a more complete and multi-camera app but I need to solve the server return

Capture_PTZ 300.png
Capture_PTZ 300.png (28.23 KiB) Viewed 85792 times


Here the app...
PTZ CTL_Lite.rar
(2.48 MiB) Downloaded 1541 times
User avatar
lalocar
Posts: 5
Joined: Tue Dec 15, 2020 1:19 pm

Re: PTZ Controller

Post by lalocar »

Hello everyone, I share an upgrade, with the addition of some necessary functions and a general
internal ordering for your better understanding.
The Vertical Flip (F) function, in this type of cameras, works in such a way that it must be turned off
and turned on again, likewise there are two slide switches with the Reverse (R) function, for Pan and Tilt.
I also added AutoWhite (AW) with its respective Shot when it is OFF.
IDVIEW simply a memory aid to display the camera number in which you are working, in case of opening
several instances of the controller.
Sample.png
Sample.png (84.6 KiB) Viewed 83878 times

Comment and ask any questions you have, and if possible I will answer them.
https://drive.google.com/drive/folders/ ... sp=sharing
Attachments
PTZ CTL_Lite_V2.fsm
Upgrade
(354.19 KiB) Downloaded 1296 times
User avatar
lalocar
Posts: 5
Joined: Tue Dec 15, 2020 1:19 pm

Re: PTZ Controller

Post by lalocar »

Light update v 2.1 only with the addition of a JoyStick control, in my case PS4, originally the Flowstone primitive is for PS2, so we will have a variation of the order of the buttons

Layout

L3:
H = PAN LEFT/RIGHT
V = TILT UP/DOWN
PUSH = HOME

R3:
V = ZOOM IN/OUT
PUSH = SHOT WHITE BALANCE

TRIANGLE = BARS On/Off
CROSS = AUTOWHITE On/Off
RECTANGLE = AUTOIRIS On/Off
CIRCLE = AUTOFOCUS On/Off

The status Led "JOYSTICK ENABLE" turn on only if it is connected before running the app
Attachments
PTZ CTL_Lite_V2.1.rar
(2.47 MiB) Downloaded 1063 times
capture2.png
capture2.png (41.52 KiB) Viewed 79924 times
User avatar
lalocar
Posts: 5
Joined: Tue Dec 15, 2020 1:19 pm

Re: PTZ Controller

Post by lalocar »

Solved the JoyStick connection problem
Attachments
PTZ CTL_Lite_V2.2.rar
(2.47 MiB) Downloaded 1035 times
User avatar
lalocar
Posts: 5
Joined: Tue Dec 15, 2020 1:19 pm

Re: PTZ Controller

Post by lalocar »

Here's PTZ-Full with the known limitations regarding updates to the selected camera,
but with more control features. I hope you find it helpful.
Attachments
PTZ-CTL V3.rar
(2.67 MiB) Downloaded 242 times
PTZ Full400.png
PTZ Full400.png (52.67 KiB) Viewed 67319 times
Post Reply