Class ExtremumAngularSeparationDetector

    • Constructor Detail

      • ExtremumAngularSeparationDetector

        public ExtremumAngularSeparationDetector​(EventDetectionSettings detectionSettings,
                                                 EventHandler handler,
                                                 ExtendedPositionProvider beacon,
                                                 ExtendedPositionProvider observer)
        Protected constructor with full parameters.
        Parameters:
        detectionSettings - detection settings
        handler - event handler to call at event occurrences
        beacon - beacon at the center of the proximity zone
        observer - observer for the spacecraft, that may also see the beacon at the same time if they are too close to each other
    • Method Detail

      • getBeacon

        public ExtendedPositionProvider getBeacon()
        Get the beacon at the center of the proximity zone.
        Returns:
        beacon at the center of the proximity zone
      • getObserver

        public ExtendedPositionProvider getObserver()
        Get the observer for the spacecraft.
        Returns:
        observer for the spacecraft
      • g

        public double g​(SpacecraftState s)
        Description copied from interface: EventDetector
        Compute the value of the switching function. This function must be continuous (at least in its roots neighborhood), as the integrator will need to find its roots to locate the events.
        Parameters:
        s - the current state information: date, kinematics, attitude
        Returns:
        value of the switching function