onboardapi  9.10.0
by Rheinmetall
M_VideoTrackerLot::IService Class Reference

Public Member Functions

virtual ~IService ()
 
virtual void ConfigDefaultGateSizes (M_Common::PixelRectSizeOptionalType const &InitGate, M_Common::PixelRectSizeOptionalType const &SearchArea)
 
virtual void CmdLockOnAtPos (M_Common::PixelRegionType const &LockOnArea, M_Common::PixelRectSizeOptionalType const &SearchArea, M_VideoTracker::LotModeOptionalType const &Mode, bool LeadOn)
 
virtual void CmdLockOnTrack (M_Common::ObjectIdOptionalType const &ObjId, bool LeadOn)
 
virtual void CmdManualGateControl (M_Common::ObjectIdOptionalType const &ObjId, int32_t StepX, int32_t StepY)
 
virtual void CmdAutoGateControl (M_Common::ObjectIdOptionalType const &ObjId)
 
virtual void CmdForceCoasting (M_Common::ObjectIdOptionalType const &ObjId, bool Enable)
 

Detailed Description

Lock-On Tracking (LoT) Service interface. Contains operations that a client can command the Lock-On Tracking (LoT) Service to perform.

Constructor & Destructor Documentation

◆ ~IService()

M_VideoTrackerLot::IService::~IService ( )
virtual

Member Function Documentation

◆ CmdAutoGateControl()

void M_VideoTrackerLot::IService::CmdAutoGateControl ( M_Common::ObjectIdOptionalType const &  ObjId)
virtual

Activate automatic gate size control for a LoT object. Note: If ObjId is "Selected", the LoT object currently selected (if available) is taken.
Note: If ObjId is empty and there is only one LoT object, this one is taken.
Which object gate is changed is described by M_VideoTracker::VtObjectType::IsSelected flag.

Parameters
ObjIdIdentifies an existing currently tracked object.

◆ CmdForceCoasting()

void M_VideoTrackerLot::IService::CmdForceCoasting ( M_Common::ObjectIdOptionalType const &  ObjId,
bool  Enable 
)
virtual

Enforce coasting on specified object. In coasting, the object position is predicted based on its preceding movement.
Note: If ObjId is "Selected", the LoT object currently selected (if available) is taken.
Note: If ObjId is empty and there is only one LoT object, this one is taken.
Which object is taken is described by M_VideoTracker::VtObjectType::IsSelected flag.

Parameters
ObjIdIdentifies an existing currently tracked object.
EnableEnables / disables coasting for specified object.

◆ CmdLockOnAtPos()

void M_VideoTrackerLot::IService::CmdLockOnAtPos ( M_Common::PixelRegionType const &  LockOnArea,
M_Common::PixelRectSizeOptionalType const &  SearchArea,
M_VideoTracker::LotModeOptionalType const &  Mode,
bool  LeadOn 
)
virtual

Lock-on trackable object at specified position. Note: To perform an immediate Lead-On, M_VideoTrackerLosCtrl::CmdLosCtrlLeadOn(ObjId = "Selected") can be called directly after this command.

Parameters
LockOnAreaArea or point to lock-on. Should be close to expected size and position of object. If size is set to zero, lock-on is performed using default init gate size centred around offset position.
SearchAreaSearch area used to lock-on. Should be small enough to lower risk of locking-on an undesired object nearby.
The search area is spanned centrically around the lock-on area centre position.
Note: Not present means default search area is used.
ModeTracking mode for this Lock-On Track.
Note: Not present means auto mode is used.
LeadOnIndicates whether the locked-on object shall lead the line of sight.

◆ CmdLockOnTrack()

void M_VideoTrackerLot::IService::CmdLockOnTrack ( M_Common::ObjectIdOptionalType const &  ObjId,
bool  LeadOn 
)
virtual

Lock-on an object.

Parameters
ObjIdIdentifies an existing currently tracked object.
Note: If not present then the VideoTracker should initiate a lock-on at the aligned image centre.
Note: If ObjId is "Selected", a lock-on on the currently selected object (if available) is initiated.
Note: If ObjId is "SelectedOrCenter", a locked-on on the currently selected object (if available) is initiated.
Which object will be locked-on is described by M_VideoTracker::VtObjectType::IsSelected flag.
LeadOnIndicates whether the locked-on object shall lead the line of sight.

◆ CmdManualGateControl()

void M_VideoTrackerLot::IService::CmdManualGateControl ( M_Common::ObjectIdOptionalType const &  ObjId,
int32_t  StepX,
int32_t  StepY 
)
virtual

Activate and perform manual gate control for a LoT object. Note: If ObjId is "Selected", the LoT object currently selected (if available) is taken.
If ObjId is empty and there is only one LoT object, this one is taken.
Which object gate is changed is described by M_VideoTracker::VtObjectType::IsSelected flag.

Parameters
ObjIdIdentifies an existing currently tracked object.
StepXThe number of pixels to increase/decrease one step in x-direction (rightwards positive).
StepYThe number of pixels to increase/decrease one step in y-direction (downwards positive).

◆ ConfigDefaultGateSizes()

void M_VideoTrackerLot::IService::ConfigDefaultGateSizes ( M_Common::PixelRectSizeOptionalType const &  InitGate,
M_Common::PixelRectSizeOptionalType const &  SearchArea 
)
virtual

Set default gate sizes which are used if gate sizes are not specified in CmdLockOnAtPos command.

Parameters
InitGateInitial gate at Lock-On.
The init gate is the initial assumption for the object size.
The more the init gate size matches the object size, the higher is the propability of acquiring the whole object.
Note: Not present means current value is kept.
SearchAreaMaximum search area around Lock-On position for object acquisition.
Note: Not present means current value is kept.