Fix jwt-token
This commit is contained in:
@@ -280,6 +280,23 @@ class DroneTrackingService extends EventEmitter {
|
||||
|
||||
return activeTracking;
|
||||
}
|
||||
|
||||
/**
|
||||
* Track a new detection (alias for processDetection)
|
||||
* @param {Object} detection - The drone detection to track
|
||||
* @returns {Object} - Tracking result
|
||||
*/
|
||||
trackDetection(detection) {
|
||||
return this.processDetection(detection);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear all tracking data
|
||||
*/
|
||||
clear() {
|
||||
this.droneHistory.clear();
|
||||
this.droneProximityAlerts.clear();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = DroneTrackingService;
|
||||
|
||||
Reference in New Issue
Block a user