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 plugin 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.


Connect servos to your camera so it can pan. Configure the servos in this control. Attach this control to an existing camera in your project.


Now when you click on the screen in the video image, the servos will move the camera to that location.


This is a great add-on plugin for JD and Roli, right out of the box. Specify the servos for the robot's camera and voila, you're clicking around the room!







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. Otherwise, pressing Attach without specifying the camera name will attach to the first instance.



Source Code: CameraClickServo.zip


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