HasSensorContact
Check if sensor has contact
Usage: Used in 27 task(s)
Lua Implementation
-- Has Sensor Contact
function evaluate(params)
local sensorType = params.sensor_type
local sensor = this:getSystem(sensorType)
if sensor then
local contacts = sensor:getContacts()
return contacts and #contacts > 0
end
return false
end
Tasks Using This Predicate (27)
Target Marking and Designation
Close Air Support (CAS) (AIR DOMAIN)
Leadership Decapitation Strikes
Precision Strike (AIR DOMAIN)
Supply Line Interdiction
Deep Strike/Interdiction (AIR DOMAIN)
Railway Yard Destruction
Deep Strike/Interdiction (AIR DOMAIN)
Staging Area Disruption
Deep Strike/Interdiction (AIR DOMAIN)
Persistent Surveillance Orbits
Intelligence, Surveillance, Reconnaissance (ISR) (AIR DOMAIN)
Target Identification and Tracking
Intelligence, Surveillance, Reconnaissance (ISR) (AIR DOMAIN)
Movement Tracking
Intelligence, Surveillance, Reconnaissance (ISR) (AIR DOMAIN)
Reconnaissance Drone Deployment
Unmanned Aerial Vehicle (UAV) Operations (AIR DOMAIN)
Loitering Munition Missions
Unmanned Aerial Vehicle (UAV) Operations (AIR DOMAIN)
Drone Detection and Tracking
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Electronic Jamming of Control Links
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
GPS Spoofing and Disruption
Counter-Drone Operations (C-UAS) (AIR DOMAIN)
Communications Disruption
Electronic Warfare (Airborne) (AIR DOMAIN)
Search Pattern Execution
Combat Search and Rescue (CSAR) (AIR DOMAIN)
Route Reconnaissance
Reconnaissance and Surveillance (LAND DOMAIN)
Area Reconnaissance
Reconnaissance and Surveillance (LAND DOMAIN)
Zone Reconnaissance
Reconnaissance and Surveillance (LAND DOMAIN)
Surveillance Post Establishment
Reconnaissance and Surveillance (LAND DOMAIN)
Patrol Operations (Mounted/Dismounted)
Reconnaissance and Surveillance (LAND DOMAIN)
Target Acquisition and Handoff
Reconnaissance and Surveillance (LAND DOMAIN)
Tunnel Entrance Detection
Subterranean/Tunnel Operations (LAND DOMAIN)
Booby Trap Detection and Neutralization
Subterranean/Tunnel Operations (LAND DOMAIN)
Target Acquisition and Engagement
Artillery and Fires Operations (LAND DOMAIN)
Interdiction Fires
Artillery and Fires Operations (LAND DOMAIN)
Harassment and Interdiction (H&I)
Artillery and Fires Operations (LAND DOMAIN)
Surface Target Detection and Tracking
Anti-Ship Warfare (SURFACE DOMAIN)