Sanity check on pan/tilt damp config to avoid negative values

Description

Negative values in these settings:

cv.lecturesight.ptz.steering.worker.move.damp.pan=0.1
cv.lecturesight.ptz.steering.worker.move.damp.tilt=0.1

can cause camera positioning to go haywire. Negative values should be ignored (with a warning logged).

Activity

Show:
Stephen Marquard
November 3, 2015, 1:49 PM
Edited

Actually this check is already there, though the tilt warn message is wrong (refers to pan property key). Maybe a default value of 0.1 rather than 1.0 would be safer.

Assignee

Benjamin Wulff

Reporter

Stephen Marquard

Components

Affects versions

Priority

Major
Configure