-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow to limit the movement of the camera #14
Comments
My gimbal (Ikan Beholder DS2-A) is drifting significantly over time. The gimbal does not recognize this (see comment). Thereby, the angles are not reliable over time. For example, if you define the minimum angle to be 10 degree and the gimbal drifts 1 degree clockwise in 5 minutes, the actual limit would be 15 degrees after 25 minutes and 20 degrees after 50 minutes. This would make the limit unreliable or even useless. |
This feature is developed on branch feature/14-allow-to-limit-the-movement-of-the-camera. At the moment, pan and tilt angle can be limited, as well as the zoom ratio (see menu limits in Web UI). However, the limit of the zoom ratio is exceeded most of the times right now. The cameraman robot receives the zoom ratio via the UDP stream of the live view image. The command to stop zooming in or out is not sent before the limit is reached. There is a delay between when the camera actually reaches the zoom ratio (limit) and when the camera receives the stop command. In this time the camera continues to zoom and exceeds the limit. The camera robot would have to estimate, when the zoom ratio will be reached to send the command in advance, such that the camera receives it, when the zoom ratio is reached. This estimation depends on the camera model, zoom speed, zoom direction (in or out) and the zoom step (not every zoom step is reached in the same time). For example, the Panasonic DMC LF1 takes ca. 2.95s to zoom (slowly) from zoom ratio 1.0 to 2.0, but only ca. 0.7s to zoom (slowly) from 2.0 to 1.0. Further, it takes only 1.09s to zoom (slowly) from zoom ratio 2.0 to 3.0. The script robot_cameraman/analyze_zoom_of_camera.py analyzes the camera by measuring the time it takes to reach the zoom limit. The results may be used to develop a more reliable solution to satisfy the zoom ratio limit. |
Scripts to analyze the zoom can be found in
Zoom indices are more fine grained steps. A range of indices covers a zoom ratio (e.g. zoom ratio The result of the scripts are configuration files that can be passed using the CLI arguments |
For example, if I know/assume that the tracked object will never move sideways and only in the direction the camera is pointing to, the camera may not pan at all or it can be limited to a small/certain angle/range.
In most cases, it doesn't make sense to point the camera to the ground or in the sky, i.e. tilting may be limited, too.
The text was updated successfully, but these errors were encountered: