track

Source:

Methods

(static) messageMOTStart() → {Uint8Array}

Description:
  • 3.14.7 Start "Multi-Object Tracking" Create Encoded Packet for the command CMD_MOT_START
Source:
Returns:
Type
Uint8Array

(static) messageMOTStartOne(id) → {Uint8Array}

Description:
  • 3.14.8 "Multi-Object Tracking" feature starts tracking a target Create Encoded Packet for the command CMD_MOT_TRACK_ONE
Source:
Parameters:
Name Type Description
id number ; // target id
Returns:
Type
Uint8Array

(static) messageSentryModeStart(mode) → {Uint8Array}

Description:
  • 3.14.5 Start Sentinel Mode Create Encoded Packet for the command CMD_SENTRY_MODE_START
Source:
Parameters:
Name Type Description
mode number ; //Reserved field, you can pass 0 now
Returns:
Type
Uint8Array

(static) messageSentryModeStop() → {Uint8Array}

Description:
  • 3.14.6 Stop Sentinel Mode Create Encoded Packet for the command CMD_SENTRY_MODE_STOP
Source:
Returns:
Type
Uint8Array

(static) messageTrackStartTrack(x, y, w, h) → {Uint8Array}

Description:
  • 4.14.3 Started tracking Create Encoded Packet for the command CMD_TRACK_START_TRACK
Source:
Parameters:
Name Type Description
x number ; //x coordinate of the upper left point of the target box
y number ; // The y coordinate of the upper left point of the target box
w number ; // width of the target box
h number ; //The length of the target box
Returns:
Type
Uint8Array

(static) messageTrackStopTrack() → {Uint8Array}

Description:
  • 3.14.4 Stop tracking Create Encoded Packet for the command CMD_TRACK_STOP_TRACK
Source:
Returns:
Type
Uint8Array

(static) messageUFOTrackModeStart(mode) → {Uint8Array}

Description:
  • 3.14.9 Start UFO Mode Create Encoded Packet for the command CMD_UFOTRACK_MODE_START
Source:
Parameters:
Name Type Description
mode number ; //Reserved field, you can pass 0 now
Returns:
Type
Uint8Array

(static) messageUFOTrackModeStop() → {Uint8Array}

Description:
  • 3.14.10 Stop UFO Mode Create Encoded Packet for the command CMD_UFOTRACK_MODE_STOP
Source:
Returns:
Type
Uint8Array