Skip to content

Sensor Field of View

The Sensor FOV Plugin is a component of the KeepTrack application that provides functionality for visualizing the field of view (FOV) of selected sensors in the space visualization.

Features

  • Toggle sensor FOV visualization on and off
  • Integration with sensor selection and management
  • Automatic enabling/disabling based on sensor selection status

User Interface

The plugin adds the following UI element:

  • A “Sensor FOV” icon in the bottom menu for quick access

Usage

Toggling Sensor FOV Visualization

  1. Select a sensor using the Sensor List Plugin
  2. Click the “Sensor FOV” icon in the bottom menu
  3. The visualization will update to show the selected sensor’s field of view
  4. Click the icon again to disable the FOV visualization

Integration with KeepTrack

The Sensor FOV Plugin integrates with several KeepTrack components:

  • SensorManager: Responds to sensor selection events
  • UiManager: Manages the bottom menu icon state
  • SensorSurvFence: Coordinates with other sensor visualization plugins

Development

When extending or modifying the Sensor FOV Plugin, consider the following:

  • The plugin follows the KeepTrackPlugin architecture
  • It registers event handlers for sensor selection and UI interactions
  • The enableFovView and disableFovView methods control the visualization state

Code Configuration

The plugin supports the following configuration options:

  • bottomIconCallback: Function called when the bottom icon is clicked
  • bottomIconLabel: Label for the bottom menu icon
  • bottomIconImg: Image for the bottom menu icon
  • isIconDisabledOnLoad: Sets the initial disabled state of the icon

Troubleshooting

  • If the FOV is not visible after enabling, ensure that a sensor is properly selected
  • Check the browser console for any error messages
  • Verify that the required KeepTrack components (SensorManager, etc.) are properly initialized