Select Sat Manager
The Select Sat Manager plugin is a core component of the KeepTrack application that handles the selection and interaction with various space objects, including satellites, sensors, and other celestial bodies.
Features
- Select and deselect space objects
- Switch between primary and secondary selected objects
- Update visualization based on selection (e.g., color, size)
- Integrate with other KeepTrack components (e.g., camera, sound, UI)
- Handle different types of space objects (satellites, sensors, missiles, etc.)
- Keyboard shortcuts for object selection and switching
User Interface
The plugin primarily works in the background, affecting the main visualization and other UI components. It doesn’t add specific UI elements but influences:
- Object highlighting in the main view
- Camera behavior
- Information display in other plugins (e.g., Sat Info Box)
Usage
Selecting an Object
- Click on an object in the main visualization
- Use the search function to find and select an object
- The selected object will be highlighted and centered in the view
Switching Between Primary and Secondary Objects
- Select a primary object
- Select a secondary object
- Use the ’[’ or ’]’ keys to switch between primary and secondary selections
Integration with KeepTrack
The Select Sat Manager integrates with several KeepTrack components:
- CatalogManager: Retrieves object data
- CameraManager: Controls camera focus and behavior
- SoundManager: Plays sounds on selection
- ColorSchemeManager: Updates object colors based on selection
- OrbitManager: Manages orbit visualization for selected objects
- UiManager: Updates UI elements based on selection
Development
When extending or modifying the Select Sat Manager, consider the following:
- The plugin follows the KeepTrackPlugin architecture
- It handles different types of space objects (SpaceObjectType enum)
- Selection logic is separated for different object types (e.g., satellites, sensors)
- The plugin manages both primary and secondary object selections
Code Configuration
The plugin supports the following configuration options:
isDisableSelectSat
: Disables satellite selection functionality if set to true
Troubleshooting
- If object selection isn’t working, check if
isDisableSelectSat
is set to true - Ensure that the required KeepTrack components (CatalogManager, CameraManager, etc.) are properly initialized
- Check the browser console for any error messages related to object selection or data retrieval