Class PythonEnablingPredicate

    • Constructor Detail

      • PythonEnablingPredicate

        public PythonEnablingPredicate()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • eventIsEnabled

        public boolean eventIsEnabled​(SpacecraftState state,
                                      EventDetector eventDetector,
                                      double g)
        Compute an event enabling function of state.
        Specified by:
        eventIsEnabled in interface EnablingPredicate
        Parameters:
        state - current state
        eventDetector - underlying detector
        g - value of the underlying detector for the current state
        Returns:
        true if the event is enabled (i.e. it can be triggered), false if it should be ignored