Page 1 of 1
Mapped move to the very center of the image during tracking
Posted: Tue Mar 21, 2006 8:54 am
by Darkstar
Hi,
I am playing around with motion tracking and see in the log-files many moves to the exact center of the image: x=320,y=240,w=640,h=480. Does it make sense to move to this coordinates, or am I getting something wrong? I thought, that the mapped_move command should move the center of the image to the given coordinates.
Helge.
Posted: Thu Mar 23, 2006 4:47 pm
by zoneminder
Are you sure you aren't seeing the return after the initial move? Generally the tracking will swivel to the centre of motion and then after a defined period return to it's home position or a preset.
Posted: Fri Mar 24, 2006 10:48 am
by Darkstar
Code: Select all
03/23/06 19:44:34.453163 zmctrl-ncs370[23773].DBG [--address=192.168.2.210 --command=move_map --xcoord=320 --ycoord=240 --width=640 --height=480]
03/23/06 19:44:34.453345 zmctrl-ncs370[23773].DBG [Move Pseudo Map]
03/23/06 19:44:34.453429 zmctrl-ncs370[23773].DBG [320,240,640,480]
03/23/06 19:44:46.216478 zmctrl-ncs370[23821].DBG [--address=192.168.2.210 --command=preset1]
03/23/06 19:44:46.216623 zmctrl-ncs370[23821].DBG [Goto Preset 1]
03/23/06 19:44:46.216693 zmctrl-ncs370[23821].DBG [PanTiltPresetPositionMove=1[27]]
03/23/06 19:47:23.545358 zmctrl-ncs370[23861].DBG [--address=192.168.2.210 --command=move_map --xcoord=505 --ycoord=315 --width=640 --height=480]
03/23/06 19:47:23.545546 zmctrl-ncs370[23861].DBG [Move Pseudo Map]
03/23/06 19:47:23.545630 zmctrl-ncs370[23861].DBG [505,315,640,480]
As you can see, it moves first to the center (so no move at all) and then "back" to preset1. A few minutes later it really moves to a position off center.
Helge.
Posted: Fri Mar 24, 2006 12:07 pm
by zoneminder
If you have motion that spans the field of view and only have simple weighting on then the center of motion will be the centre of the frame however I would have thought this is unlikely. Do you have images captured at the time that you can look at?