Look Angles
The Look Angles Plugin is a component of the KeepTrack application that provides functionality for calculating and displaying look angles between a selected sensor and satellite.
Features
- Calculate look angles (azimuth, elevation, and range) between a sensor and satellite
- Display look angles in a table format
- Option to show only rise and set times
- Configurable calculation length and interval
- Export look angle data to CSV
User Interface
The plugin adds the following UI elements:
- A “Look Angles” icon in the bottom menu for quick access
- A side menu with a table displaying look angle data
- Settings to configure calculation parameters
- A download button to export data as CSV
Look Angle Information Displayed
- Time in Coordinated Universal Time (UTC)
- Elevation (El) in degrees measured from the horizon
- Azimuth (Az) in degrees measured clockwise from true north
- Range (Rng) in kilometers
Usage
Viewing Look Angles
- Select a sensor using the Sensor List Plugin
- Select a satellite
- Click the “Look Angles” icon in the bottom menu
- View the detailed look angle information in the side menu table
Configuring Look Angle Calculations
- Open the Look Angles side menu
- Click the settings icon (gear)
- Adjust the following settings:
- Toggle “Show Only Rise and Set Times”
- Set “Calculation Length (Days)”
- Set “Interval (Seconds)”
- The look angles will automatically update based on your settings
Exporting Look Angle Data
- Open the Look Angles side menu
- Click the download icon
- The data will be saved as a CSV file
Integration with KeepTrack
The Look Angles Plugin integrates with several KeepTrack components:
- SelectSatManager: Retrieves the currently selected satellite
- SensorManager: Gets the current sensor information
- TimeManager: Handles time-related calculations and offsets
- SoundManager: Plays sound effects for user interactions
Development
When extending or modifying the Look Angles Plugin, consider the following:
- The plugin follows the KeepTrackPlugin architecture
- It depends on the SelectSatManager plugin
- Look angle calculations are performed using the SensorMath utility
Code Configuration
The plugin supports the following configuration options:
isRiseSetOnly
: Determines if only rise and set times should be shown (default: true)angleCalculationInterval
: The interval between each line of look angles in seconds (default: 30)lengthOfLookAngles
: The length of time to calculate look angles for in days (default: 2)
Troubleshooting
- If look angles are not displaying, ensure that both a sensor and a satellite are selected
- Check the browser console for any error messages
- Verify that the required dependencies (SelectSatManager, SensorManager, etc.) are properly initialized