Thumbnail

Camera Click Servo

Attaches to the camera control to enable servo panning by clicking on the video image.

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of ARC installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to ARC.
  5. Load ARC and press the Project -> Add Control button from the menu.
  6. Choose the Camera category tab.
  7. Press the Camera Click Servo icon to add the control to your project.

Manual

Add this skill to your ARC project and bring the camera to life. The video will be interactive, where you can click on objects to center. There are hot spots along the edges which moves the camera as well.

Main Window


User-inserted image


1. Attach Button
This button will add the Camera Click servo functionality to the Camera skill in ARC.

Settings


User-inserted image


1. Horizontal Servo
These settings configure the "Pan" servo along the horizontal plane.

2. Vertical Servo
These settings configure the "Tilt" servo along the vertical plane.

3. Fine Tune
Specify the number of degrees that the X/Y servo will move per pixel

3. Hot Edges
When enabled the 4 edges of the video image will move the camera if the cursor is held on the edge. The border edge width can be adjusted.

How to Use the Camera Click servo Skill


1) Add a Camera Device skill to your ARC project (Project -> Add Skill -> Camera -> Camera Device).

2) Add a Camera Click servo skill to your ARC project (Project -> Add Skill -> Camera -> Camera Click Servo).

3) Physically mount your camera to a servo controlled pan-tilt mechanism.

4) Physically connect the servos to an ARC connected I/O controller.

5) Configure the servos in the settings of the Camera Click servo skill, and save the settings.

6) Click the Attach button to connect to the Camera Device skill.

7) Click on the video preview area of the Camera Device skill and voila, you're moving the camera view around the room with the click of a mouse!

Multi Camera Support
Use the ControlCommand() syntax presented in the Cheat Sheet to attach this control to your desired camera, if your project has more than one camera skill. Otherwise, pressing Attach without specifying the camera name will attach to the first instance.

Video




Requirements


A installed camera device mounted on a servo controlled pan/tilt mechanism.

Resources


Source Code: CameraClickServo.zip

Version Changes


- v4 fixes the Edge Size not displaying in the drop down when editing the settings.

- v5 add ControlCommand() to attach to any camera

- v6 uses new servo storage container in Config File for plugin

- v7 compatibility with latest ARC (version 2019.01.04 or later)

#1  
When clicking attach I get the following ARC Error:

Code:

Version: 2018.12.17.00

System.MissingMethodException: Method not found: 'System.Windows.Forms.Panel EZ_Builder.UCForms.FormCameraDevice.get_VideoPreviewPanel()'.
   at CameraClickServo.FormMaster.attach(String cameraName)
   at CameraClickServo.FormMaster.button1_Click(Object sender, EventArgs e) in c:\My Documents\SVN\Developer - Windows\ARC skill plugins\CameraClickServo\CameraClickServo\FormMaster.cs:line 75
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Synthiam
#2  
This will be fixed in the next update of ARC. Stay tuned!
#4  
Thank you DJ

It is working now.

Is the source code for the control also updated or was the change inside of ARC itself?
#6  
Thanks DJ this looks awesome,more camera fun!
#7  
Thanks for the technology you share