Class AbstractDriver

    • Field Detail

      • id

        protected java.lang.String id
      • name

        protected java.lang.String name
      • deleteAction

        public javax.swing.Action deleteAction
      • permutateUpAction

        public javax.swing.Action permutateUpAction
      • permutateDownAction

        public javax.swing.Action permutateDownAction
    • Constructor Detail

      • AbstractDriver

        public AbstractDriver()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface Identifiable
      • setId

        public void setId​(java.lang.String id)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Named
      • setName

        public void setName​(java.lang.String name)
        Specified by:
        setName in interface Named
      • getMinimumRate

        public Length getMinimumRate​(int order)
        Specified by:
        getMinimumRate in interface Driver
        Parameters:
        order - Derivative order, velocity (1), acceleration (2), jerk (3)
        Returns:
        The minimum velocity, acceleration, jerk the driver supports. Used to prevent "rounded to zero" errors in decimal formatting and interpolation.
      • getFeedRatePerSecond

        public Length getFeedRatePerSecond()
        Specified by:
        getFeedRatePerSecond in interface Driver
        Returns:
        A driver specific feed-rate limit, applied in addition to axis feed-rate limits and according to NIST RS274NGC Interpreter - Version 3, Section 2.1.2.5 (p. 7). Given per second (will be converted to the standard per minute rate when using Gcode F values).
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • createAxisMappingDefaults

        protected void createAxisMappingDefaults​(ReferenceMachine machine)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assignCameraVirtualAxes

        protected void assignCameraVirtualAxes​(ReferenceMachine machine,
                                               Camera hm)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createDefaults

        public void createDefaults()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • migrateDriver

        @Deprecated
        public void migrateDriver​(Machine machine)
                           throws java.lang.Exception
        Deprecated.
        Migrates the driver for the new global axes implementation. Is marked a deprecated as it can be removed along with the old GcodeDriver Axes implementation, once migration of users is expected to be complete.
        Parameters:
        machine -
        Throws:
        java.lang.Exception