PTZ Controls

PTZ Controls 0.17.1

Changes over v0.10.0-rc1:
  • Fix problem with movement lock getting enabled when it shouldn't (edit: isn't actually fixed in this release, still needs another change)
  • Add button to manually disable movement lock
  • Change autoselect radio buttons to toolbar buttons that take up less space
  • Like
Reactions: GregPeatfield
I committed a fair number of improvements to the plugin over the last week and I think it is work another release. Some of the changes are risky and may break stuff, so I'm making this an -rc. Please test and let me know how it is working.

New Features:
  • Provide list of source names when setting device name
  • Make PTZ device name track source name
  • Allow device to be associated with any source name
  • Move PTZDevice contructor/destructor into cpp
  • Assign each device a persistant unique id
  • Add config to disable controls for active scene
Bug fixes and codebase improvements
  • Only send stop commands when needed
  • Drop unnecessary calls to setFlat() on focus buttons
  • Fix setting state of livemoveDisable checkbox
  • Use the same terminology between dock and settings
  • visca-over-tcp: Automatically reconnect when sending
  • Fix Linux build
  • trivial: Fix layout of settings dialog
  • action-source: Fix handling of disabled sources
  • action-source: use .activate() callback
  • Remove unused signal handler from action source
  • trivial: Delete commented out code from ptz-controls.cpp
  • Drop default hostname/address from visca over IP config
  • ptz-device: fix name handling
  • Pass obs_data_t config to PTZDevice constructor
  • Update screenshots
  • Always use .currCamera() to get ptz device
  • Rename "camera" to "device_id" in the action filter
  • ui: Remove errant '&' from setting dialog
  • visca: Clamp device address to [1,7]
  • Like
Reactions: norihiro
I want to take a moment to highlight @norihiro 's excellent Face Tracker plugin. He just released a new version with an experimental feature to link the Face Tracker with PTZ Controls. Go check it out!

I've just tagged the v0.9.0 release. Thanks to everyone who has helped with testing and providing feedback for this release. Here is the list of new features:

- Pelco-D protocol
- VISCA over TCP (Used by PTZ Optics, Jimcom, and others)
- Windows package contains both 32-bit and 64-bit support
- Installer package for Windows
- Reorganized settings dialog
- Settings dialog is more responsive
- Context menu for cameras added to dock to control power and one-push white balance
- Double clicking camera opens the settings dialog
- Hotkeys added for diagonal directions and preset recall
Hi everyone, I've just tagged another release. The big news in this one is I've implemented a basic ability to recall presets or move the camera when a scene becomes active in either program or preview. This is a very early prototype of the feature. Please try it out and give me feedback.

To use the feature, add a "PTZ Action" feature to the scene that you want to trigger camera movement on.

In other news, the UI layout has been improved and there have been a few bug fixes.
  • Like
Reactions: boskap and scaesare
v0.7.0 is out there with improvements all over the code. Now you can configure the baud rate for VISCA and Pelco protocols. Focus control buttons have been added. The dock layout has been shuffled around to make it easier to select presets, and lots of bug fixes. Please test!

Things are coming along quite well for this plugin, and I'm starting to think about when to do a v1.0 release. There are still some key features that I want to get added before reaching that point, such as proper matching sources to PTZ devices, providing an API for other plugins to use, like @norihiro's excellent Face Tracker, and a number of usability fixes that I've got in mind. Hopefully I'll be able to get these things done in the next couple of months.

In the mean time please keep using the pre releases and providing feedback on what works and what you'd like to see. Thank you to everyone who has submitted bugs and issues on the GitHub page. Keep them coming! They are very much appreciated.
First release candidate for v0.7.0. Several new features, including:

- Add focus controls to the dock
- Adding configurable baud rate
- Fix saving UTF-8 device and preset names
- Lots of bug fixes

Please test and report back if it is working.
  • Like
Reactions: GregPeatfield
Another week, another release. Please test and let me know how it works.

In this release:
  • Compatibility fixes to support Cisco PrecisionHD cameras
  • Camera properties added to settings dialog (read only for now)
  • More presets displayed. 16 instead of 10
  • Added hotkeys for pan/tilt/zoom control
  • bug fixes
It has been a few weeks, so it is well past time for another release. The big headline in v0.5.0 is that support for the PELCO-P protocol has been merged. If you have a PELCO-P device, please do test and provide feedback.

Otherwise there have been lots of bug fixes and a few new features. The gamepad support is can now be turned on/off from the settings panel, keyboard modifies can be used on the pan/tilt buttons to adjust the speed, and information about VISCA devices is now outputted to the log (not the final location; camera info will be displayed in the settings dialog in the near future).

Go forth and test
  • Like
Reactions: toplachi
New week, new release. This release fixes a number of bugs and improves performance. Please test.
Top